api-design
REST API design best practices covering versioning, error handling, pagination, and OpenAPI documentation. Use when designing or…
File-by-file architecture planning with ADR format, dependency ordering, and testability gates. Use when designing system architecture or creating ADRs. TRIGGER when: architecture plan, system design, ADR, file breakdown, component design. DO NOT TRIGGER when: simple config
Claude Code
$ npx -y skills add akaszubski/autonomous-dev --skill architecture-patterns --agent claude-code
Codex
$ npx skills add akaszubski/autonomous-dev --skill architecture-patterns -a codex -y
Cursor
$ npx skills add akaszubski/autonomous-dev --skill architecture-patterns -a cursor -y
Gemini CLI
$ npx skills add akaszubski/autonomous-dev --skill architecture-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add akaszubski/autonomous-dev --skill architecture-patterns -a github-copilot -y
OpenCode
$ npx skills add akaszubski/autonomous-dev --skill architecture-patterns -a opencode -y
Windsurf
$ npx skills add akaszubski/autonomous-dev --skill architecture-patterns -a windsurf -y
name: architecture-patterns description: "File-by-file architecture planning with ADR format, dependency ordering, and testability gates. Use when designing system architecture or creating ADRs. TRIGGER when: architecture plan, system design, ADR, file breakdown, component design. DO NOT TRIGGER when: simple config edits, single-file bug fixes, documentation-only changes." allowed-tools: [Read, Grep, Glob]
Ensures every architecture plan is thorough, actionable, and testable. Used by the planner agent.
Every architectural decision MUST follow this structure:
---
Every architecture plan MUST include:
## Files to Create/Modify ### 1. lib/new_module.py (CREATE) - Purpose: [what this file does] - Key classes/functions: [list] - Dependencies: [what it imports] - Tests: tests/unit/test_new_module.py ### 2. lib/existing_module.py (MODIFY) - Changes: [what changes and why] - Lines affected: ~[range] - Risk: [low/medium/high]
## Implementation Order 1. Create lib/new_module.py (no dependencies) 2. Create tests/unit/test_new_module.py (depends on step 1) 3. Modify lib/existing_module.py (depends on step 1) 4. Update integration tests (depends on steps 1-3)
Steps MUST be ordered so each step can be tested independently before proceeding.
---
For decisions that affect architecture (new patterns, technology choices, major refactors):
# ADR-NNN: [Title] **Date**: YYYY-MM-DD **Status**: Proposed | Accepted | Deprecated | Superseded ## Context [Problem and constraints] ## Decision [What we chose and why] ## Consequences [Positive and negative outcomes] ## Alternatives Considered [Other options and why rejected]
---
When planning for this codebase, follow these established patterns:
---
**FORBIDDEN**:
**REQUIRED**:
---
"We should refactor the auth module to be more modular. We can add better error handling later."
No file paths, no steps, no testing, no "later" promises.
## Files to Modify 1. lib/auth.py (MODIFY) — Extract token validation into TokenValidator class 2. lib/token_validator.py (CREATE) — Pure validation logic, no side effects 3. tests/unit/test_token_validator.py (CREATE) — 8 tests covering valid/invalid/expired ## Order 1. Create token_validator.py + tests (independent) 2. Modify auth.py to use TokenValidator (depends on step 1) 3. Run full test suite to verify no regressions
Step 1: Rewrite the entire authentication system Step 2: Test everything
Cannot test incrementally, cannot roll back partially.
Each step produces a testable, committable unit of work.
If the migration fails halfway through, what happens? Every plan needs a recovery path.
---
A harness that wraps Claude Code with enforcement, specialist agents, and alignment gates to deliver consistent, production-grade software engineering outcomes.
REST API design best practices covering versioning, error handling, pagination, and OpenAPI documentation. Use when designing or…
Subprocess safety, GitHub CLI integration, retry logic, authentication, rate limiting, and timeout handling. Use when integrating…
10-point code review checklist covering correctness, tests, error handling, type hints, naming, security, and performance. Use…
One topic, one home. Routes content to its canonical store (CLAUDE.md, PROJECT.md, MEMORY.md, docs/, memory/) and audits for…
Systematic debugging methodology — reproduce, isolate, bisect, fix, verify. Use when diagnosing failures, tracing errors, or…
Documentation standards enforcing Keep a Changelog format, README structure, ADR templates, and Google-style docstrings. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.