architecture-review
Conducts a comprehensive multi-perspective architecture review using ALL architecture team members. Use when the user requests "Start architecture review",…
Sets up and installs the AI Software Architect framework in a NEW project for the FIRST time. Use when the user requests "Setup .architecture", "Setup ai-software-architect", "Initialize architecture framework", "Install software architect", or similar setup/installation
$ npx -y skills add codenamev/ai-software-architect --skill setup-architect --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/setup-architectContext preview
The summary Claude sees to decide when to auto-load this skill.
Sets up and installs the AI Software Architect framework in a NEW project for the FIRST time. Use when the user requests "Setup .architecture", "Setup ai-software-architect", "Initialize architecture framework", "Install software architect", or similar setup/installation
name: setup-architect description: Sets up and installs the AI Software Architect framework in a NEW project for the FIRST time. Use when the user requests "Setup .architecture", "Setup ai-software-architect", "Initialize architecture framework", "Install software architect", or similar setup/installation phrases. Do NOT use for checking status (use architecture-status), creating documents (use create-adr or reviews), or when framework is already set up. allowed-tools: Read,Write,Edit,Glob,Grep,Bash(git:*,npm:*,node:*,mkdir:*,cp:*,ls:*,test:*) disable-model-invocation: true
Sets up and customizes the AI Software Architect framework for a project.
This skill performs a complete framework installation: 1. Locates the framework source (plugin install dir or legacy clone) 2. Analyzes the target project (languages, frameworks, structure, patterns) 3. Scaffolds `.architecture/` in the target project from framework templates 4. Customizes team members and principles for the detected tech stack 5. Performs an initial system analysis 6. Reports customizations and findings, with explicit next steps
**Detailed procedures**: [references/installation-procedures.md](references/installation-procedures.md) **Customization guide**: [references/customization-guide.md](references/customization-guide.md)
The skill creates a `.architecture/` directory in your **target project** (not in this plugin's repo) and populates it with templates customized for your tech stack. After it finishes you'll have:
The skill writes **only into your target project's `.architecture/`**. It does not modify code outside that directory.
The framework templates can live in two places: inside the installed Claude Code plugin (canonical, 1.4.0+) or under a legacy `.architecture/.architecture/` clone in the target project. Discovery is deterministic — run the framework's own CLI:
# Locate the plugin install on disk first; tools/cli.js lives inside it.
TOOLS_CLI=""
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] && [ -f "$CLAUDE_PLUGIN_ROOT/tools/cli.js" ]; then
TOOLS_CLI="$CLAUDE_PLUGIN_ROOT/tools/cli.js"
else
TOOLS_CLI=$(find ~/.claude/plugins -type f -name cli.js -path '*ai-software-architect/tools/*' 2>/dev/null | head -1)
fi
if [ -z "$TOOLS_CLI" ] && [ -f ".architecture/.architecture/tools/cli.js" ]; then
# Legacy clone path: the cli ships in the cloned repo.
TOOLS_CLI=".architecture/.architecture/tools/cli.js"
fi
if [ -z "$TOOLS_CLI" ]; then
echo "Framework not found. Install the plugin or clone manually — see error message below."
exit 1
fi
# Resolve the framework source via the canonical discovery logic.
FRAMEWORK_ROOT=$(node "$TOOLS_CLI" find-source)Discovery order (encoded in `tools/lib/setup-source-discovery.js` and tested via `tools/test/setup-source-discovery.test.js`):
1. `${CLAUDE_PLUGIN_ROOT}` env var (if set and contains `.architecture/templates/adr-template.md`). 2. Recursive search of `~/.claude/plugins/` for any `ai-software-architect/` directory containing the sentinel. 3. `.architecture/.architecture/` in the target project (legacy clone path).
If `find-source` exits non-zero, surface its error message verbatim — it tells the user exactly which install option to take.
Identify project characteristics:
Use `Glob` and `Grep` to detect technologies, `Read` to examine configs.
Execute installation steps (see [references/installation-procedures.md](references/installation-procedures.md)):
# $FRAMEWORK_ROOT is from step 1. cp -r "$FRAMEWORK_ROOT/.architecture/templates" .architecture/templates cp "$FRAMEWORK_ROOT/.architecture/principles.md" .architecture/principles.md cp "$FRAMEWORK_ROOT/.architecture/members.yml" .architecture/members.yml cp "$FRAMEWORK_ROOT/.architecture/config.yml" .architecture/config.yml mkdir -p .architecture/decisions/adrs mkdir -p .architecture/reviews mkdir -p .architecture/recalibration mkdir -p .architecture/comparisons mkdir -p .architecture/agent_docs
**Critical (legacy clone path only):** Follow safety procedures when removing `.git/` directory. See [references/installation-procedures.md § Cleanup Procedures](references/installation-procedures.md#cleanup-procedures).
Add technology-specific members to `.architecture/members.yml`:
A markdown-based framework for implementing rigorous software architecture practices in any project, with specialized AI assistant integration. Introducing AI Software Architect 🚀 - Watch Video
Repo: codenamev/ai-software-architect
Conducts a comprehensive multi-perspective architecture review using ALL architecture team members. Use when the user requests "Start architecture review",…
Reports on the health and state of architecture documentation (counts of ADRs, reviews, activity levels, documentation gaps). Use when the user asks "What's…
Creates a NEW Architectural Decision Record (ADR) documenting a specific architectural decision. Use when the user requests "Create ADR for [topic]", "Document…
Displays the roster of architecture team members with their specialties and expertise areas. Use when the user asks "Who's on the architecture team?", "List…
Enables and configures Pragmatic Guard Mode (YAGNI Enforcement) to prevent over-engineering. Use when the user requests "Enable pragmatic mode", "Turn on YAGNI…
Conducts a focused review from ONE specific specialist's perspective (e.g., Security Specialist, Performance Expert). Use when the user requests "Ask…