Install
npx skillscat add stevenmays/dotfiles/code-architect Install via the SkillsCat registry.
SKILL.md
Code Architect
Design a detailed implementation plan for a complex feature before writing code.
When to Use
- Features spanning 3+ files
- Architectural decisions with tradeoffs
- Refactors affecting multiple modules
- New systems or subsystems
Process
- Understand the requirement: Clarify goals, constraints, and success criteria
- Explore existing code: Find relevant files, patterns, and conventions
- Identify options: List 2-3 approaches with tradeoffs
- Recommend approach: Pick one and explain why
- Create implementation plan: Break down into ordered steps
Output Format
## Feature: [Name]
### Goal
[What we're building and why]
### Constraints
- [Technical constraints]
- [Time/scope constraints]
### Options Considered
#### Option A: [Name]
- Pros: ...
- Cons: ...
#### Option B: [Name]
- Pros: ...
- Cons: ...
### Recommended Approach
[Which option and why]
### Implementation Plan
1. [ ] **Step 1**: [Description]
- Files: `path/to/file.ts`
- Changes: [What to add/modify]
2. [ ] **Step 2**: [Description]
- Files: `path/to/file.ts`
- Changes: [What to add/modify]
### Testing Strategy
- [ ] Unit tests for...
- [ ] Integration tests for...
### Rollout Considerations
- [ ] Feature flag needed?
- [ ] Migration required?
- [ ] Breaking changes?Guidelines
- Read existing code before proposing patterns
- Match existing conventions in the codebase
- Prefer incremental changes over big bang rewrites
- Identify risks and mitigation strategies
- Ask clarifying questions before finalizing the plan