選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index-template.md 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. # {{project_name}} Documentation Index
  2. **Type:** {{repository_type}}{{#if is_multi_part}} with {{parts_count}} parts{{/if}}
  3. **Primary Language:** {{primary_language}}
  4. **Architecture:** {{architecture_type}}
  5. **Last Updated:** {{date}}
  6. ## Project Overview
  7. {{project_description}}
  8. {{#if is_multi_part}}
  9. ## Project Structure
  10. This project consists of {{parts_count}} parts:
  11. {{#each project_parts}}
  12. ### {{part_name}} ({{part_id}})
  13. - **Type:** {{project_type}}
  14. - **Location:** `{{root_path}}`
  15. - **Tech Stack:** {{tech_stack_summary}}
  16. - **Entry Point:** {{entry_point}}
  17. {{/each}}
  18. ## Cross-Part Integration
  19. {{integration_summary}}
  20. {{/if}}
  21. ## Quick Reference
  22. {{#if is_single_part}}
  23. - **Tech Stack:** {{tech_stack_summary}}
  24. - **Entry Point:** {{entry_point}}
  25. - **Architecture Pattern:** {{architecture_pattern}}
  26. - **Database:** {{database}}
  27. - **Deployment:** {{deployment_platform}}
  28. {{else}}
  29. {{#each project_parts}}
  30. ### {{part_name}} Quick Ref
  31. - **Stack:** {{tech_stack_summary}}
  32. - **Entry:** {{entry_point}}
  33. - **Pattern:** {{architecture_pattern}}
  34. {{/each}}
  35. {{/if}}
  36. ## Generated Documentation
  37. ### Core Documentation
  38. - [Project Overview](./project-overview.md) - Executive summary and high-level architecture
  39. - [Source Tree Analysis](./source-tree-analysis.md) - Annotated directory structure
  40. {{#if is_single_part}}
  41. - [Architecture](./architecture.md) - Detailed technical architecture
  42. - [Component Inventory](./component-inventory.md) - Catalog of major components{{#if has_ui_components}} and UI elements{{/if}}
  43. - [Development Guide](./development-guide.md) - Local setup and development workflow
  44. {{#if has_api_docs}}- [API Contracts](./api-contracts.md) - API endpoints and schemas{{/if}}
  45. {{#if has_data_models}}- [Data Models](./data-models.md) - Database schema and models{{/if}}
  46. {{else}}
  47. ### Part-Specific Documentation
  48. {{#each project_parts}}
  49. #### {{part_name}} ({{part_id}})
  50. - [Architecture](./architecture-{{part_id}}.md) - Technical architecture for {{part_name}}
  51. {{#if has_components}}- [Components](./component-inventory-{{part_id}}.md) - Component catalog{{/if}}
  52. - [Development Guide](./development-guide-{{part_id}}.md) - Setup and dev workflow
  53. {{#if has_api}}- [API Contracts](./api-contracts-{{part_id}}.md) - API documentation{{/if}}
  54. {{#if has_data}}- [Data Models](./data-models-{{part_id}}.md) - Data architecture{{/if}}
  55. {{/each}}
  56. ### Integration
  57. - [Integration Architecture](./integration-architecture.md) - How parts communicate
  58. - [Project Parts Metadata](./project-parts.json) - Machine-readable structure
  59. {{/if}}
  60. ### Optional Documentation
  61. {{#if has_deployment_guide}}- [Deployment Guide](./deployment-guide.md) - Deployment process and infrastructure{{/if}}
  62. {{#if has_contribution_guide}}- [Contribution Guide](./contribution-guide.md) - Contributing guidelines and standards{{/if}}
  63. ## Existing Documentation
  64. {{#if has_existing_docs}}
  65. {{#each existing_docs}}
  66. - [{{title}}]({{path}}) - {{description}}
  67. {{/each}}
  68. {{else}}
  69. No existing documentation files were found in the project.
  70. {{/if}}
  71. ## Getting Started
  72. {{#if is_single_part}}
  73. ### Prerequisites
  74. {{prerequisites}}
  75. ### Setup
  76. ```bash
  77. {{setup_commands}}
  78. ```
  79. ### Run Locally
  80. ```bash
  81. {{run_commands}}
  82. ```
  83. ### Run Tests
  84. ```bash
  85. {{test_commands}}
  86. ```
  87. {{else}}
  88. {{#each project_parts}}
  89. ### {{part_name}} Setup
  90. **Prerequisites:** {{prerequisites}}
  91. **Install & Run:**
  92. ```bash
  93. cd {{root_path}}
  94. {{setup_command}}
  95. {{run_command}}
  96. ```
  97. {{/each}}
  98. {{/if}}
  99. ## For AI-Assisted Development
  100. This documentation was generated specifically to enable AI agents to understand and extend this codebase.
  101. ### When Planning New Features:
  102. **UI-only features:**
  103. {{#if is_multi_part}}→ Reference: `architecture-{{ui_part_id}}.md`, `component-inventory-{{ui_part_id}}.md`{{else}}→ Reference: `architecture.md`, `component-inventory.md`{{/if}}
  104. **API/Backend features:**
  105. {{#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}}
  106. **Full-stack features:**
  107. → Reference: All architecture docs{{#if is_multi_part}} + `integration-architecture.md`{{/if}}
  108. **Deployment changes:**
  109. {{#if has_deployment_guide}}→ Reference: `deployment-guide.md`{{else}}→ Review CI/CD configs in project{{/if}}
  110. ---
  111. _Documentation generated by BMAD Method `document-project` workflow_