Run a multi-agent deep analysis of a codebase, producing AI-readable analysis documents in .ai/docs/ covering structure, dependencies, data flow, request flow, and APIs. Use whenever the user asks to analyze a repository, generate codebase analysis, understand an unfamiliar codebase in depth, or before generating documentation (README, CLAUDE.md, AGENTS.md) so the generators have analysis data to work from. Also use when the user mentions ".ai/docs", "ai analysis", or wants a structured architectural map of a project.
$npx -y skills add divar-ir/ai-doc-gen --skill analyze-codebaseInstalls into the current project.
Run `npx skills use "https://github.com/divar-ir/ai-doc-gen" --skill "divar-ir/ai-doc-gen/analyze-codebase"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/divar-ir/ai-doc-gen" that are relevant to the current task. Run `npx skills add "https://github.com/divar-ir/ai-doc-gen"` and select the relevant skills, then follow their instructions.