/tslateman-skills:system-mapfrom tslateman-skills
Decompose a system into a shared map at consistent levels of abstraction, using the C4 model. Use when you ask to "map the system", "diagram the architecture", "how does this fit together", "explain our architecture to stakeholders", when onboarding someone to an unfamiliar estate, or when a discussion keeps stalling because two people hold different pictures of the same system. Produces a communication artifact for a named audience, not a quality verdict. Do NOT use to judge a design (that is `ousterhout-software-design` or `maintainability`) or to orient one reader in one module (that is `zoom-out`).
Ships in tslateman-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Break a system into pieces small enough to reason about, at one level of abstraction at a time, for one audience at a time. The map is the deliverable — something a team, a stakeholder, and an adjacent team can all point at and mean the same thing.
This skill describes what exists. It never grades it.
zoom-out.maintainability.ousterhout-software-design.mermaid or excalidraw.adr.Name both before drawing anything. Skipping either produces the diagram nobody uses.
| Level | Diagram | Boxes are | Audience | Answers |
|---|---|---|---|---|
| 1 | Context | People and systems | Anyone, including non-technical | Who uses this and what does it talk to? |
| 2 | Container | Deployable/runnable units and datastores | Engineers, ops, architects | What are the moving parts and how do they communicate? |
| 3 | Component | Major groupings inside one container | The team owning that container | How is this one part organized inside? |
| 4 | Code | Classes, functions | Almost nobody | Generate on demand; usually skip |
The rule that makes C4 work: one level per diagram. A frame containing a load balancer, a Kafka topic, and a Python class describes nothing, because no reader knows which questions it answers. When a box does not belong at the current level, it goes in a different diagram, not in a corner of this one.
Most systems need levels 1 and 2. Level 3 is worth drawing for containers your team actually owns. Level 4 is nearly always waste — the code is the map at that resolution, and the diagram is stale on commit.
Above level 1, a system landscape diagram maps several systems in an estate. Use it when the question is "what do we even have", and keep it free of internals.
Details and per-level inclusion rules: references/levels.md.
docker-compose, k8s manifests, CI configs, and connection strings — not from what the architecture "is supposed to" be. Where evidence is missing, mark the box unverified rather than guessing.Every element: name, type or technology, one-line responsibility. All three, every box, every level.
Every relationship: direction, verb, protocol or mechanism. Draw the direction of the dependency, not the direction the data happens to move.
Keep external systems visually distinct from ones you own — the ownership boundary is the single most decision-relevant line on any of these diagrams.
C4 maps static structure. When the question is a different shape, the map is a different diagram — say which question you are answering and pick accordingly.
| Question | Map |
|---|---|
| What are the parts and how do they connect? | C4 context/container/component |
| How does this request actually flow? | Sequence diagram |
| What states can this entity be in? | State diagram |
| What does the data look like? | ER diagram |
| Where does it all run? | Deployment diagram |
| Who owns what, and where are the seams? | Landscape plus an ownership overlay |
Rendering syntax, including Mermaid's C4 support and when to fall back to a plain flowchart: references/rendering.md.
maintainability.What SKILL.md sets; muted values are Claude Code's defaults
tslateman-skills@tslateman is listed by tslateman/claude-plugins — review the source before installing
npx claudepluginhub tslateman/claude-plugins --plugin tslateman-skills61 skills in this plugin
/adrGenerate Architecture Decision Records that capture the reasoning behind technical decisions. Use when the user asks to "create an ADR", "document a decision", "record why we chose X", or discusses architectural trade-offs worth preserving./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./automagic-problem-discoveryAudit a workspace for recurring friction, pick the highest-leverage one, and build the automation that removes it. Use when the user asks "what should I automate", "what's wasting my time", "find the friction in my workflow", wants a self-improvement pass over their own tooling, or runs this on a recurring loop.