No slash command · from cc10x
Guides greenfield architecture design: map functionality flows, design components with interfaces and error handling, and produce C4 diagrams. For new systems, major features, or multi-component integration.
Ships in cc10x. 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.
None: SKILL.md is the whole skill.
Design systems from scratch: map flows, then draw components. For retrofitting existing code, use codebase-hygiene instead.
| Request type | Use |
|---|---|
| New system/major feature (greenfield) | This skill |
| Existing code with shallow modules | codebase-hygiene |
| Multi-component integration | This skill |
| Single-component refactor | planning + building |
Map every user flow end-to-end before designing any component:
Flow: [name]
1. [step] → [what the system does] → [what the user sees]
2. [step] → [what the system does] → [what the user sees]
Error paths:
- [error] → [system response] → [user sees]
Every flow must have its error paths mapped. Unmapped error paths become unmapped components.
Translate flows into components:
For each component:
Before finalizing any component boundary, apply the Deletion Test and Two-Adapter Rule as defined in cc10x:codebase-design. A component that fails the deletion test (complexity vanishes if deleted) or fails the two-adapter rule (it is a port with only one adapter — an ordinary caller or test exercising the interface is not an adapter) is not a real boundary yet — fold it into its caller or defer the split until a second concrete need appears.
Box diagram: your system + external systems it talks to. One paragraph per external system: what it provides, what you depend on.
Internal boxes: web app, API, database, queue, worker. Arrows show data flow. One paragraph per container: technology choice, responsibility.
Inside each container: the modules/classes. Arrows show call relationships. This is what the builder will implement.
Use LSP to understand existing architecture before designing new:
Design APIs from the flow, not from the data model:
// Good: functionality-aligned
POST /orders/{id}/cancel → { status, cancelledAt }
// Bad: data-model-aligned
PUT /orders/{id} → { ..., status: "cancelled", ... }
For each integration:
| Field | Value |
|---|---|
| System | [name] |
| Protocol | [HTTP/gRPC/CLI/message queue] |
| Direction | [we call them / they call us / both] |
| Contract | [request/response schema or event schema] |
| Failure mode | [what happens when it's down] |
| Retry policy | [retries, backoff, circuit breaker] |
| Class | Meaning | Example |
|---|---|---|
| Owned | We control the code and deploy it | Internal service |
| Wrapped | We depend on it but wrap it in our interface | Third-party SDK behind adapter |
| Consumed | We depend on it directly, no wrapper | External API called directly |
| Infra | Platform-level dependency | Database, message queue |
Wrapped dependencies can be swapped. Consumed dependencies cannot. Track which is which — it determines your coupling risk.
For each component:
The deep-module vocabulary (module, interface, depth, seam, adapter, leverage, locality, deletion test, two-adapter rule) is defined in cc10x:codebase-design. Use those terms exactly.
Three extra terms specific to greenfield architecture (not in codebase-design):
When a module's interface is non-trivial, design it twice:
Compare both. The first design is usually shallow — it mirrors the implementation. The second design reveals what the interface should hide. Use the better one, or a hybrid.
Why: One-pass interfaces optimize for the implementer. Two-pass interfaces optimize for the caller.
For architectural decisions with material trade-offs:
### Decision: [Title]
**Context:** [why this decision is needed]
**Options:** [2-3 alternatives with trade-offs]
**Decision:** [what was chosen]
**Rejected:** [what was not chosen and why]
**Consequences:** [what this enables and prevents]
**Reversibility:** [reversible or irreversible — irreversible decisions need more evidence]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub romiluz13/cc10x --plugin cc10x22 skills in this plugin
/agent-commonUse when a cc10x agent starts a task: the shared preamble for the memory protocol, the contract format, and the output rules./buildingUse when writing production code test-first: the RED-GREEN-REFACTOR cycle, false-RED
detection, vertical slicing, scope escalation, test process discipline, and code
generation patterns.
/cc10x-guideAnswers questions about cc10x itself — what it is, how to install and configure it,
how the router, workflows, memory, and hooks operate, and how to troubleshoot.
Use this skill when: the user asks ABOUT cc10x — "what is cc10x", "how do I
configure cc10x", "why isn't cc10x activating", "how do cc10x workflows work",
"how does cc10x memory work", "cc10x troubleshooting".
NOT for performing work: "set up cc10x for me", build, debug, review, or plan
requests route to cc10x-router. "Update cc10x" / "upgrade cc10x" route to the
update skill. This skill answers questions; it never edits project code, never
writes files, never runs workflows.
Triggers: what is cc10x, cc10x help, cc10x guide, how to use cc10x, configure cc10x,
cc10x setup, cc10x faq, cc10x troubleshooting, cc10x not working, cc10x not activating.
/cc10x-routerRoutes build, debug, review, plan, QA, and triage requests through the cc10x workflows (task graphs, workflow artifacts, gates); it is the single entry point for cc10x code work.
Activates when the user asks to implement, fix, review, plan, test, refactor, or continue code work.
Trigger keywords: build, implement, create, write, add, review, audit, debug, fix, error, bug, broken, plan, design, architect, spec, brainstorm, test, refactor, optimize, update, change, research, cc10x, c10x.
Hand-off: questions about cc10x itself belong to `cc10x-guide`, and "update cc10x" belongs to the `update` skill.
/codebase-designCanonical deep-module vocabulary (module, interface, depth, seam, adapter,
leverage, locality) for designing a module's shape — a lot of behaviour
behind a small interface at a clean seam, testable through that interface.
The single source of truth for these terms; other skills (architecture,
codebase-hygiene) point here instead of restating them.
Use when designing or improving a module's interface, finding deepening
opportunities, deciding where a seam goes, or making code more testable.
/codebase-hygieneTwo-mode skill: (1) find semantic duplicates — functions doing the same thing
under different names, invisible to copy-paste detectors; (2) deepen shallow
modules — thin wrappers and pass-through layers that spread complexity.
Advisory and read-only; changes route through BUILD with full gates.
Other plugins' skills for the same job