- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.4 KiB
{{project_name}} Documentation Index
Type: {{repository_type}}{{#if is_multi_part}} with {{parts_count}} parts{{/if}} Primary Language: {{primary_language}} Architecture: {{architecture_type}} Last Updated: {{date}}
Project Overview
{{project_description}}
{{#if is_multi_part}}
Project Structure
This project consists of {{parts_count}} parts:
{{#each project_parts}}
{{part_name}} ({{part_id}})
- Type: {{project_type}}
- Location:
{{root_path}} - Tech Stack: {{tech_stack_summary}}
- Entry Point: {{entry_point}} {{/each}}
Cross-Part Integration
{{integration_summary}}
{{/if}}
Quick Reference
{{#if is_single_part}}
- Tech Stack: {{tech_stack_summary}}
- Entry Point: {{entry_point}}
- Architecture Pattern: {{architecture_pattern}}
- Database: {{database}}
- Deployment: {{deployment_platform}} {{else}} {{#each project_parts}}
{{part_name}} Quick Ref
- Stack: {{tech_stack_summary}}
- Entry: {{entry_point}}
- Pattern: {{architecture_pattern}} {{/each}} {{/if}}
Generated Documentation
Core Documentation
- Project Overview - Executive summary and high-level architecture
- Source Tree Analysis - Annotated directory structure
{{#if is_single_part}}
- Architecture - Detailed technical architecture
- Component Inventory - Catalog of major components{{#if has_ui_components}} and UI elements{{/if}}
- Development Guide - Local setup and development workflow {{#if has_api_docs}}- API Contracts - API endpoints and schemas{{/if}} {{#if has_data_models}}- Data Models - Database schema and models{{/if}} {{else}}
Part-Specific Documentation
{{#each project_parts}}
{{part_name}} ({{part_id}})
- Architecture - Technical architecture for {{part_name}} {{#if has_components}}- Components - Component catalog{{/if}}
- Development Guide - Setup and dev workflow {{#if has_api}}- API Contracts - API documentation{{/if}} {{#if has_data}}- Data Models - Data architecture{{/if}} {{/each}}
Integration
- Integration Architecture - How parts communicate
- Project Parts Metadata - Machine-readable structure {{/if}}
Optional Documentation
{{#if has_deployment_guide}}- Deployment Guide - Deployment process and infrastructure{{/if}} {{#if has_contribution_guide}}- Contribution Guide - Contributing guidelines and standards{{/if}}
Existing Documentation
{{#if has_existing_docs}} {{#each existing_docs}}
- {{title}} - {{description}} {{/each}} {{else}} No existing documentation files were found in the project. {{/if}}
Getting Started
{{#if is_single_part}}
Prerequisites
{{prerequisites}}
Setup
{{setup_commands}}
Run Locally
{{run_commands}}
Run Tests
{{test_commands}}
{{else}} {{#each project_parts}}
{{part_name}} Setup
Prerequisites: {{prerequisites}}
Install & Run:
cd {{root_path}}
{{setup_command}}
{{run_command}}
{{/each}} {{/if}}
For AI-Assisted Development
This documentation was generated specifically to enable AI agents to understand and extend this codebase.
When Planning New Features:
UI-only features:
{{#if is_multi_part}}→ Reference: architecture-{{ui_part_id}}.md, component-inventory-{{ui_part_id}}.md{{else}}→ Reference: architecture.md, component-inventory.md{{/if}}
API/Backend features:
{{#if is_multi_part}}→ Reference: architecture-{{api_part_id}}.md, api-contracts-{{api_part_id}}.md, data-models-{{api_part_id}}.md{{else}}→ Reference: architecture.md{{#if has_api_docs}}, api-contracts.md{{/if}}{{#if has_data_models}}, data-models.md{{/if}}{{/if}}
Full-stack features:
→ Reference: All architecture docs{{#if is_multi_part}} + integration-architecture.md{{/if}}
Deployment changes:
{{#if has_deployment_guide}}→ Reference: deployment-guide.md{{else}}→ Review CI/CD configs in project{{/if}}
Documentation generated by BMAD Method document-project workflow