packages/knowledge-hub/dataset/.skills/capability/assess-architecture/SKILL.md
Assess architecture pattern using resolution cascade (Argument > Adoption > Assessment). Reads architecture guidelines, proposes pattern, writes adoption file, composes /record-decision. Idempotent.
npx skillsauth add foomakers/pair assess-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Evaluate and decide on the system architecture pattern. Follows the resolution cascade: explicit argument wins, then existing adoption, then full assessment from guidelines.
| Argument | Required | Description |
| --------- | -------- | --------------------------------------------------------------------------- |
| $choice | No | Override: skip assessment, use this architecture directly (e.g. hexagonal) |
| Skill | Type | Required |
| ------------------ | ---------- | ------------------------------------------------- |
| /record-decision | Capability | Yes — records architecture decision as ADR |
Check: Is $choice provided?
Skip: If not provided, go to Path B.
Act: Confirm the choice with the developer:
Architecture override: $choice. This will be adopted without full assessment. Confirm?
Check: Does an adoption file already exist with a different pattern?
Verify: Developer confirms. Proceed to Step 2.
Check: Does adoption/tech/architecture.md exist and is it populated (not template)?
Skip: If not populated or missing, go to Path C.
Act: Read current adoption. Present:
Architecture already adopted: [pattern name]. Adoption file is current and valid.
Check: Does a corresponding decision record exist? (Scan adoption/tech/adr/ for *architecture* files.)
Act: If decision record missing, compose /record-decision to backfill.
Verify: Adoption and decision record consistent. Done — exit skill.
Act: Apply the Architecture Complexity Matrix from guidelines against project constraints:
Act: If two or more patterns score within 10% of each other, present top 2 with trade-off analysis:
Top candidates:
- [Pattern A] — Score: X. Strengths: ... Weaknesses: ...
- [Pattern B] — Score: Y. Strengths: ... Weaknesses: ...
Recommendation: [Pattern A] because [reason].
Act: If one pattern clearly wins, present recommendation:
Recommendation: [Pattern]
- Rationale: [evidence from constraints and matrix]
- Trade-offs: [key trade-offs acknowledged]
Verify: Developer approves the choice.
/record-decision:
$type: architectural$topic: architecture-pattern$summary: "[Pattern] adopted as system architecture"adoption/tech/adr/YYYY-MM-DD-architecture-pattern.md. Adoption file consistent with ADR.ASSESSMENT COMPLETE:
├── Domain: Architecture
├── Path: [Argument Override | Adoption Exists | Full Assessment]
├── Decision: [pattern name]
├── Adoption: [adoption/tech/architecture.md — written | confirmed | updated]
├── Record: [ADR path — created | exists | backfilled]
└── Status: [Complete | Confirmed existing]
When composed by /bootstrap:
/bootstrap invokes /assess-architecture during Phase 2 (checklist completion). May pass $choice if developer pre-selected./bootstrap includes adoption and ADR changes in the next commit.When invoked independently:
/record-decision is not installed, warn and skip decision recording: "Decision not recorded — /record-decision not installed."development
Creates or updates a Product Requirements Document through structured template analysis, hypothesis-driven information gathering, and iterative review. Idempotent — detects existing PRD and offers selective section update.
development
Reviews a pull request through a structured 6-phase process: validation, technical review, adoption compliance, completeness check, decision, and optional merge with parent cascade. Composes /verify-quality, /verify-done, /record-decision, /assess-debt (required) and /verify-adoption, /assess-stack (optional with graceful degradation). Output follows the code review template. Idempotent — re-invocation resumes from incomplete phases.
tools
Refines a user story from Todo to Refined state through structured phases: selection, requirements analysis (Given-When-Then), technical analysis, sprint readiness, and documentation. Section-level idempotency — detects partial refinement and resumes. Composes /write-issue for PM tool updates.
testing
Breaks a refined user story into implementation tasks. Task-level idempotency: detects existing tasks and creates only missing ones. Appends condensed Technical Analysis + Task Breakdown (checklist, Dependency Graph, AC Coverage table, detailed tasks) to the story body. Composes /write-issue to update the story issue body. Tasks are documented inline in the story — no separate task issues are created.