/analyze
Scan codebase and generate ARCHITECTURE.md documentation
> /plugin marketplace add mylukin/agent-foreman > /plugin install agent-foreman@agent-foreman-plugins
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/analyze
Context preview
What this command does when you run it.
Scan codebase and generate ARCHITECTURE.md documentation
Command definition
analyze.mdname: analyze description: Scan codebase and generate ARCHITECTURE.md documentation allowed-tools: [Bash, Read, Glob, Grep, Skill] argument-hint: "[path] [--verbose]"
STEP 0: INVOKE SKILL (MANDATORY)
**BEFORE doing anything else, you MUST invoke the `project-analyze` skill:**
Skill({ skill: "project-analyze" })The instructions below are a fallback only if the skill fails to load.
---
FALLBACK: EXECUTE NOW
Run this command immediately:
agent-foreman init --analyze
Wait for completion. Do not interrupt.
Output: `docs/ARCHITECTURE.md`
If User Specifies Path
| User Says | Execute | |-----------|---------| | Custom path provided | `agent-foreman init --analyze --analyze-output <path>` | | "verbose" / "detailed" | `agent-foreman init --analyze --verbose` | | (default) | `agent-foreman init --analyze` |
After Completion
Report the output location and key findings:
- Tech stack detected
- Directory structure
- Modules discovered
- Completion assessment
**Note:** Read-only operation. No code changes. No commits.
⚠️ DEPRECATED: This project is no longer maintained. Please migrate to ralph-dev - a simplified and improved version.
Other commands on agent-foreman.
spec
Multi-Expert Council for transforming requirements into fine-grained task files

