modules/home/programs/cli-agents/shared/skills/architect/SKILL.md
Full technical architect toolkit for pre-implementation due diligence. Covers prior art research, codebase impact analysis, design doc / RFC generation, acceptance criteria, and dependency mapping. Use when the user wants to do technical planning, architecture review, impact analysis, or due diligence before building. Triggers on /architect, "what's the impact of", "write an RFC", "design doc for", "what exists for this", "prior art", "acceptance criteria", "what would this affect".
npx skillsauth add not-matthias/dotfiles-nix architectInstall 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.
Technical architect toolkit that performs the due diligence an experienced architect/PM would do before committing to an implementation.
A standalone architecture document saved to .agents/docs/ containing:
The input can be:
If the input is vague, ask 2-3 clarifying questions using AskUserQuestion with concrete suggestions. Don't over-ask — this skill is about analysis, not discovery (that's /brainstorm's job).
Search for existing solutions before designing a new one.
Default (quick survey):
gh search repos and gh search code)Go deeper when:
Output format:
## Prior Art
| Solution | Type | Maturity | Notes |
|----------|------|----------|-------|
| [name](link) | library/tool/pattern | active/maintained/abandoned | key tradeoff |
**Recommendation:** Use X / Build custom because Y / Adapt Z
For changes to existing codebases, map the blast radius by actually reading the code.
Output format:
## Impact Analysis
### Directly Affected
- `path/to/file.rs:42` — Function X needs to change because...
- `path/to/schema.sql` — New column needed for...
### Indirectly Affected
- `path/to/consumer.rs` — Calls the modified function, may need updating
- `tests/test_feature.rs` — Tests will break, need updating
### Data / Migration Impact
- Database migration required: yes/no
- Config changes: yes/no
- API breaking change: yes/no
For greenfield projects or non-code topics, do a conceptual impact analysis instead (what systems, teams, or processes would be affected).
Write a concise design document. This is for review — it should be clear enough that someone who wasn't in the brainstorm can understand and critique it.
## Design
### Problem Statement
One paragraph: what problem are we solving and why now.
### Proposed Solution
Description of the chosen approach. Include diagrams (mermaid) when they clarify architecture or data flow.
### Alternatives Considered
| Alternative | Why Not |
|-------------|---------|
| Approach A | Tradeoff reason |
| Approach B | Tradeoff reason |
### Key Design Decisions
- **Decision 1**: Chose X over Y because Z
- **Decision 2**: ...
(Only non-obvious decisions. Skip self-evident choices.)
Define concrete, testable "done when" statements.
## Acceptance Criteria
- [ ] Users can [specific action] and see [specific result]
- [ ] Performance: [specific metric] under [specific conditions]
- [ ] Error case: When [condition], the system [behavior]
- [ ] Existing [feature/test] still works unchanged
Guidelines:
Identify what blocks what and what order things should happen in.
## Dependencies & Sequencing
### Critical Path
1. [First thing that must happen] — blocks everything else
2. [Next thing] — depends on #1
3. ...
### Spikes / Unknowns
- [ ] **Spike: [question]** — Need to verify [assumption] before committing to [decision]. Estimated effort: [small/medium].
### External Dependencies
- [Team/service/API] — Need [what] from them by [when/before what]
Assemble all sections into a single document and save to .agents/docs/YYYY-MM-DD-architect-<slug>.md.
Tell the user where the file was saved and give a 2-3 sentence summary.
path/to/file.rs:line format so the reader can jump there.tools
Spawn the pi coding agent with a specific model/provider. Use when asked to run pi with a particular model, switch pi's model, use DeepSeek V4 Flash/Pro in pi, or look up pi's --model/--provider/--models CLI flags and thinking-level shorthand.
development
Navigate to directories using zoxide (frecency-based directory jumper). Use when the user says "go to", "navigate to", "cd to", "jump to" a project or directory by nickname/partial name (e.g. "go to my dotfiles", "jump to dot").
tools
Use when manipulating Zellij sessions, creating tabs or panes, sending commands to panes, capturing output, or looking up Zellij CLI commands for terminal multiplexer operations
development
Emulates not-matthias's technical blog writing style. Use when writing blog posts, technical articles, README content, or any long-form technical prose. Produces investigation-driven, first-person narratives with dry humor, practical code examples, and concrete takeaways.