generate-codebase-analysis
Analyze codebases to generate foundational documentation including product features, technology stack, and project structure analysis in .spec/steering/ directory, with optional regeneration control.
Instructions
Analyzes codebase and generates three foundational analysis documents: product.md, tech.md, and structure.md in .spec/steering/ directory. These documents provide comprehensive analysis of the product features, technology stack, and project structure. Checks if files already exist and skips generation unless force_regenerate is true.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
additional_context | No | Additional context about the project | |
force_regenerate | No | Force regeneration even if files exist (default: false) | |
project_path | No | Path to the project directory (defaults to current directory) |
Input Schema (JSON Schema)
{
"properties": {
"additional_context": {
"description": "Additional context about the project",
"type": "string"
},
"force_regenerate": {
"description": "Force regeneration even if files exist (default: false)",
"type": "boolean"
},
"project_path": {
"description": "Path to the project directory (defaults to current directory)",
"type": "string"
}
},
"type": "object"
}