/garage:flow-mapfrom garage
Maps every system state and transition for a feature before implementation: happy paths, validation/auth failures, network errors, concurrency conflicts, timeouts, and recovery. Each path becomes a test case.
Ships in garage. 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.
Map every system state and transition of a feature, happy, failure, timeout, and recovery, before implementation. Every path becomes a test case.
user-flow
is the user's view (screens, choices, messages). Reuse its journeys as entry paths; do not
design screens or copy here.user-flow, design-doc, api-design. Feeds spec-to-impl and test-plan.Spec or PRD (or upstream handoff), endpoints involved, external dependencies, roles and permissions.
stateDiagram-v2
[*] --> FormEntry
FormEntry --> Validating: submit
Validating --> FormEntry: invalid input
Validating --> Submitting: valid
Submitting --> Processing: API accepts
Submitting --> UserError: non-retryable 4xx
Submitting --> OutcomeUnknown: timeout after send
OutcomeUnknown --> Processing: status lookup finds it
OutcomeUnknown --> Submitting: confirmed not received, retry same key
Processing --> Success: completed
Processing --> Compensating: downstream failure
Compensating --> UserError: compensation done
Success --> [*]
| # | Path | Entry state | Exit state | Trigger | Side effects | Cleanup | Test case |
|---|---|---|---|---|---|---|---|
| 1 | Happy path | FormEntry | Success | Valid submit | Row written, email queued | None | TC-001 |
| 2 | Validation fail | FormEntry | FormEntry | Invalid input | None | None | TC-002 |
| 3 | Timeout after send | Submitting | OutcomeUnknown | API timeout | Pending record | Resolved by lookup | TC-003 |
| 4 | Auth expired | Any | Login | Token expired | None | None | TC-004 |
| 5 | Concurrent edit | Processing | ConflictError | Version mismatch | None | None | TC-005 |
| 6 | Downstream fail | Processing | Compensating | Provider rejects | Partial state | Compensating action | TC-006 |
| Resource | Allocated when | Released when | Orphan risk | Mechanism |
|---|---|---|---|---|
| Upload | Step 2 | Attached in step 6 | Steps 3-5 fail | Scheduled cleanup |
| Queue message | Step 4 | Consumer acks | Consumer crashes | Dead-letter queue |
produces:
- type: flow-map
format: markdown
path: "claudedocs/<feature>-flow-map.md"
sections: [state_diagram, path_table, cleanup_inventory]
generates_test_cases: true
handoff: "Write claudedocs/handoff-flow-map-<timestamp>.yaml - suggest: spec-to-impl, test-plan"
What SKILL.md sets; muted values are Claude Code's defaults
48 skills in this plugin
/adrUse when the user wants to record an architecture decision, write an ADR or decision record, or explain why a technology, data model, boundary, or pattern was chosen over alternatives./api-designUse when the user is designing, reviewing, or changing an API contract (REST, GraphQL, or RPC): endpoint shape, naming, errors, versioning, pagination, or developer experience, before or apart from implementing it./api-firstUse when the user wants to scaffold or implement a REST endpoint or resource in a Spring Boot project, especially from an OpenAPI snippet or spec: create endpoint, add API, add CRUD, generate controller, or implement POST/GET/PUT/PATCH/DELETE on a resource./arch-reviewUse when the user asks for an architecture review of existing Java or Spring Boot code: clean or hexagonal architecture boundaries, module boundaries, dependency direction, domain leakage, transaction boundaries, or business logic in controllers./code-auditUse when existing implementation code needs a rigorous review: code audit, code review, code quality, code smells, SOLID or duplication concerns, security or performance of a module, production readiness, or a second opinion on code that already exists./competitive-analysisUse when the user asks for a competitive analysis, competitor review, market landscape, feature comparison against rivals, or who else solves this problem.npx claudepluginhub omexit/claude-skills-pack --plugin garageOther plugins' skills for the same job