- 1. π― Whatβs This About?
- 2. π Available Prompts
- 3. π How to Use These Prompts
- 4. π Examples
- 5. π Integration Tips
- 6. π¨ Customization
- 7. π Background & Methodology
- 8. π Workflow Integration
- 9. π€ Contributing
- 10. π Metrics and Success
- 11. π License
- 12. π Related Resources
A collection of carefully crafted prompts to help with software architecture documentation using arc42, docToolchain, and related methodologies. These prompts are designed to work with various LLMs (Claude, ChatGPT, etc.) to streamline architecture documentation workflows.
Creating good architecture documentation is challenging. These prompts help you:
-
Structure your architecture thinking systematically
-
Generate consistent, high-quality documentation
-
Follow established methodologies like arc42
-
Create visual diagrams and decision records
-
Maintain documentation as living artifacts
Prompt | Description | Output Format |
---|---|---|
Creates a visual canvas summarizing key architecture aspects in one page |
AsciiDoc with HTML table |
|
Structured approach to documenting architecture decisions with Pugh Matrix evaluation |
AsciiDoc document |
Prompt | Description | Output Format |
---|---|---|
Step-by-step creation of complete arc42 documentation with quality-driven approach |
Multiple AsciiDoc files |
|
Create testable, specific quality requirements using structured scenarios |
AsciiDoc quality scenarios |
Prompt | Description | Output Format |
---|---|---|
Systematic identification and assessment of architecture risks with mitigation strategies |
AsciiDoc risk register |
|
Comprehensive technical debt identification, prioritization, and management |
AsciiDoc debt register |
Prompt | Description | Output Format |
---|---|---|
include::descriptions/Stakeholder-Analysis-Description.adoc[tag=purpose] |
AsciiDoc stakeholder register |
|
include::descriptions/Context-Diagram-Generator-Description.adoc[tag=purpose] |
AsciiDoc with C4-PlantUML diagrams |
|
Develop comprehensive solution strategies based on quality goals following arc42 Chapter 4 principles |
AsciiDoc strategy document |
|
Design and document comprehensive system deployment architectures following arc42 Chapter 7 principles |
AsciiDoc deployment documentation |
Simply copy the prompt content and paste it into your preferred LLM interface.
Use these prompts as system prompts to create specialized AI assistants for architecture work.
These prompts are designed to work seamlessly with docToolchain workflows:
-
Output is in AsciiDoc format
-
Diagrams use PlantUML/Kroki
-
Compatible with arc42 template structure
The generated AsciiDoc can be published directly to Confluence using docToolchain:
./dtcw publishToConfluence
-
Store prompts as documentation templates in your repository
-
Version control the generated architecture documents
-
Use in CI/CD for automated documentation generation
-
Link architecture decisions to requirements
-
Track technical debt in your issue tracking system
-
Use risk assessments for project planning
These prompts are designed to be customizable:
-
Modify Questions: Adapt the guiding questions to your domain
-
Adjust Output Format: Change AsciiDoc styling or structure
-
Add Custom Sections: Include organization-specific requirements
-
Integrate Tools: Connect with your existing toolchain
These prompts follow the arc42 template structure, which provides:
-
Proven documentation structure
-
Clear separation of concerns
-
Stakeholder-oriented communication
-
Pragmatic approach to architecture documentation
Based on Gernot Starkeβs Architecture Communication Canvas, focusing on:
-
Value proposition clarity
-
Stakeholder identification
-
Core functionality emphasis
-
Risk and decision transparency
Architecture Decision Records (ADRs) use:
-
Pugh Matrix for objective evaluation
-
Structured problem-solution mapping
-
Consequence documentation
-
Traceability of architectural reasoning
Quality Scenarios provide:
-
Testable quality requirements
-
Objective success criteria
-
Architecture decision guidance
-
Validation frameworks
Risk Assessment includes:
-
Systematic risk identification
-
Impact and probability evaluation
-
Mitigation strategy development
-
Continuous risk monitoring
-
Start with Architecture Communication Canvas - Get the big picture
-
Use arc42 Chapter Generator - Create comprehensive documentation
-
Build Quality Scenarios - Define testable requirements
-
Create Architecture Decision Records - Document key decisions
-
Assess Risks - Identify and mitigate project risks
-
Track Technical Debt - Manage long-term code health
These prompts support:
-
Living Documentation: Keep docs updated as code evolves
-
Iterative Refinement: Improve documentation over multiple iterations
-
Team Collaboration: Involve multiple stakeholders in documentation creation
-
Knowledge Transfer: Maintain institutional knowledge
We welcome contributions! Please:
-
Test Your Prompts: Ensure they work across different LLMs
-
Follow Structure: Use similar format to existing prompts
-
Add Examples: Include sample outputs
-
Document Usage: Explain when and how to use the prompt
-
Consider Integration: How does your prompt work with others?
-
Domain-specific prompts (e.g., microservices, data architecture)
-
Integration with specific tools (Jira, GitHub, etc.)
-
Visualization enhancements
-
Multilingual versions
-
Completeness of architecture coverage
-
Stakeholder understanding and feedback
-
Decision traceability
-
Risk mitigation effectiveness
-
Time to create documentation
-
Documentation maintenance effort
-
Team adoption rate
-
Knowledge transfer effectiveness
These prompts are available under Creative Commons Attribution-ShareAlike 4.0 International License, following the arc42 licensing approach.
-
PlantUML for diagrams
-
Kroki for diagram generation
-
ADR GitHub Organization for decision records
These prompts are maintained by the docToolchain community. For questions or suggestions, please open an issue or contribute directly.