jhlee0409/all-for-claudecode/architect
Claude Code and agent skill by jhlee0409/all-for-claudecode
- community
Checking that the SKILL.md file is still in the repository.
Architecture analysis and design review
Install
npx vskill@latest install jhlee0409/all-for-claudecode/architectSKILL.md
The same SKILL.md was published earlier as jhlee0409/all-for-claudecode/architect.
/afc:architect — Architecture Analysis and Design Advice
Analyzes the codebase architecture and records design decisions.Ensures design quality through convergence-based Critic Loop. Does not modify source code. May write ADR files to.claude/afc/memory/decisions/.
Arguments
$ARGUMENTS— (required) analysis target or design question (e.g., "review state management strategy", "where to add new entity")
Config Load
Read .claude/afc.config.md if CI commands are needed. Architecture, Code Style, and Project Context are auto-loaded via .claude/rules/afc-project.md.
If neither rules file nor config exists: read CLAUDE.md for architecture info. Assume "Layered Architecture" if no source has it.
Execution Steps
1. Determine Scope
Analyze $ARGUMENTS to identify the task type:
| Type | Example | Output | |
|---|---|---|---|
| Structure Analysis | "timeline module structure" | Dependency map + improvement suggestions | |
| Design Question | "where to put new feature?" | Placement suggestion + rationale | |
| ADR Recording | "Redis vs In-memory decision" | Architecture Decision Record | |
| Refactoring Evaluation | "need to split store?" | Current issues + refactoring plan |
2. Explore Codebase
- Explore relevant directories/files (Glob, Grep, Read)
- Trace dependency flow (import relationships)
- Verify {config.architecture} structure
- Identify existing patterns
Use Agent Teams for wide analysis scope (3+ modules) with parallel exploration:
Cross-Module Import Chain Verification (after Explore agents return):
When parallel Explore agents are used, the orchestrator must verify cross-module boundaries that no single agent can see:
- From each agent's dependency map, extract outbound imports that cross module boundaries
- For each cross-module import chain (e.g., widget → feature → shared), read the actual import statements at the boundary files
- Verify against {config.architecture} rules: does the full chain respect layer direction, not just each module's internal imports?
- Report any cross-module violations not surfaced by individual agents
Do not trust agent-summarized import relationships for cross-boundary chains — re-read the boundary files directly.
3. Write Analysis
Structure analysis results and print to console:
4. Critic Loop
Read ${CLAUDE_SKILL_DIR}/../../docs/critic-loop-rules.md and follow it. Safety cap: 5 passes.
| Criterion | Validation | |
|---|---|---|
| FEASIBILITY | Is the suggestion achievable in the current codebase? | |
| INCREMENTALITY | Can it be applied incrementally? (avoid big-bang refactoring) | |
| COMPATIBILITY | Is it compatible with existing code? Are there breaking changes? | |
| ARCHITECTURE | Does it comply with {config.architecture} rules? |
5. Save ADR (for design decisions)
If ADR type, save to .claude/afc/memory/decisions/{YYYY-MM-DD}-{topic}.md:
6. Final Output
Notes
- No source modification: Does not modify project source code. May write ADR files to
.claude/afc/memory/decisions/. - Based on actual code: Explore the actual codebase, not assumptions.
- Architecture first: All suggestions respect {config.architecture} rules.
- Incremental changes: Prefer incremental improvements over big-bang refactoring.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/architect/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jhlee0409/all-for-claudecode/architect)