Skip to content
Agent Memory
Skill

/potpie-infra-architecture

Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius.

BOOST
From plugin
potpie
5.7k9 skills2 commands
Install
$ npx -y skills add potpie-ai/potpie --skill potpie-infra-architecture --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/potpie-infra-architecture

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius.

SKILL.md

potpie-infra-architecture.SKILL.md
name: potpie-infra-architecture
description: "Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius."

Potpie Infra Architecture

Use this skill when the task touches environments, adapters, deployment behavior, runtime config, service dependencies, production incidents, or architecture changes.

Fast Path

Start from the service, environment, adapter, or dependency named by the task. Resolve identity before assuming keys:

potpie graph search-entities "<service env adapter dependency>" --limit 10

Read the service neighborhood with the graph workbench:

potpie graph read \
  --subgraph infra_topology \
  --view service_neighborhood \
  --scope service:<service-name> \
  --environment <dev|staging|prod|preview> \
  --depth 2 \
  --direction both \
  --limit 20

Omit `--environment` only when the task is environment-agnostic. For broad architecture work, run `potpie --json graph describe infra_topology --view service_neighborhood --examples` before choosing the read shape.

Apply Results

Use infra context for blast radius, where-to-look decisions, deployment changes, adapter selection, and incident debugging. Preserve environment qualifiers; a staging dependency is not proof of a production dependency.

Look for explicit topology facts: `DEFINED_IN`, `DEPLOYED_TO`, `DEPENDS_ON`, `USES`, `EXPOSES`, `HOSTED_ON`, and `OWNED_BY`.

Record Architecture

Record only source-backed topology or carefully labeled agent inferences. Use `authoritative_fact` when evidence is an explicit source of truth such as deployment config, service manifest, infra doc, ADR, or user statement. Use `agent_claim` for lower-authority interpretation.

Use the workbench write flow:

potpie --json graph catalog --task "record infra architecture"
potpie graph search-entities "<service>" --type Service --limit 10
potpie --json graph describe infra_topology --view service_neighborhood --examples
potpie --json graph propose --file mutation.json
potpie --json graph commit <plan_id> --verify
potpie --json graph history --plan <plan_id>

Every durable infra fact needs an environment when the fact differs by environment, evidence when available, and a retrieval-grade description.

Architecture capture is harness-led: inspect authoritative sources and write semantic facts. Do not use scanner-driven graph updates or infer topology from directory names, imports, or package files alone.

Read more
Ships withpotpie

Context Graph for AI Native SDLC

Get the whole plugin
Stats
5,739
Stars
685
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
19h ago
Last commit
2y ago
Created
1d ago
Added

Repo: potpie-ai/potpie

Other skills on potpie.