|
| 1 | += Consolidated LLM System Prompts for Architecture Documentation |
| 2 | +:toc: left |
| 3 | +:toclevels: 3 |
| 4 | +:sectanchors: |
| 5 | +:sectlinks: |
| 6 | +:sectnums: |
| 7 | +:icons: font |
| 8 | + |
| 9 | +This document provides consolidated system prompts for creating specialized AI assistants focused on software architecture documentation using arc42, docToolchain, and related methodologies. |
| 10 | + |
| 11 | +== Overview |
| 12 | + |
| 13 | +These prompts transform LLMs into expert architecture assistants that can: |
| 14 | + |
| 15 | +* Structure architecture thinking systematically |
| 16 | +* Generate consistent, high-quality documentation |
| 17 | +* Follow established methodologies like arc42 |
| 18 | +* Create visual diagrams and decision records |
| 19 | +* Maintain documentation as living artifacts |
| 20 | + |
| 21 | +All prompts generate **AsciiDoc output** compatible with **docToolchain** workflows and include **PlantUML/C4 diagrams** for visual documentation. |
| 22 | + |
| 23 | +== Complete Architecture Assistant (All Capabilities) |
| 24 | + |
| 25 | +This mega-prompt combines all architecture documentation capabilities into a single comprehensive system prompt. |
| 26 | + |
| 27 | +[source, markdown] |
| 28 | +---- |
| 29 | +include::Architecture-Communication-Canvas.md[] |
| 30 | +
|
| 31 | +--- |
| 32 | +
|
| 33 | +include::Architecture-Decision-Record.md[] |
| 34 | +
|
| 35 | +--- |
| 36 | +
|
| 37 | +include::arc42-Chapter-Generator.md[] |
| 38 | +
|
| 39 | +--- |
| 40 | +
|
| 41 | +include::Quality-Scenarios-Builder.md[] |
| 42 | +
|
| 43 | +--- |
| 44 | +
|
| 45 | +include::Risk-Assessment-Matrix.md[] |
| 46 | +
|
| 47 | +--- |
| 48 | +
|
| 49 | +include::Technical-Debt-Tracker.md[] |
| 50 | +
|
| 51 | +--- |
| 52 | +
|
| 53 | +include::Stakeholder-Analysis.md[] |
| 54 | +
|
| 55 | +--- |
| 56 | +
|
| 57 | +include::Context-Diagram-Generator.md[] |
| 58 | +
|
| 59 | +--- |
| 60 | +
|
| 61 | +include::Solution-Strategy-Planner.md[] |
| 62 | +
|
| 63 | +--- |
| 64 | +
|
| 65 | +include::Deployment-View-Creator.md[] |
| 66 | +---- |
| 67 | + |
| 68 | +== Core Architecture Tools Only |
| 69 | + |
| 70 | +Essential tools for basic architecture documentation needs. |
| 71 | + |
| 72 | +[source, markdown] |
| 73 | +---- |
| 74 | +include::Architecture-Communication-Canvas.md[] |
| 75 | +
|
| 76 | +--- |
| 77 | +
|
| 78 | +include::Architecture-Decision-Record.md[] |
| 79 | +
|
| 80 | +--- |
| 81 | +
|
| 82 | +include::Quality-Scenarios-Builder.md[] |
| 83 | +---- |
| 84 | + |
| 85 | +== Comprehensive Documentation Suite |
| 86 | + |
| 87 | +Full arc42 documentation capabilities with risk and debt management. |
| 88 | + |
| 89 | +[source, markdown] |
| 90 | +---- |
| 91 | +include::arc42-Chapter-Generator.md[] |
| 92 | +
|
| 93 | +--- |
| 94 | +
|
| 95 | +include::Quality-Scenarios-Builder.md[] |
| 96 | +
|
| 97 | +--- |
| 98 | +
|
| 99 | +include::Risk-Assessment-Matrix.md[] |
| 100 | +
|
| 101 | +--- |
| 102 | +
|
| 103 | +include::Technical-Debt-Tracker.md[] |
| 104 | +---- |
| 105 | + |
| 106 | +== Specialized Architecture Prompts |
| 107 | + |
| 108 | +Advanced prompts for specific architecture concerns following arc42 chapters. |
| 109 | + |
| 110 | +[source, markdown] |
| 111 | +---- |
| 112 | +include::Stakeholder-Analysis.md[] |
| 113 | +
|
| 114 | +--- |
| 115 | +
|
| 116 | +include::Context-Diagram-Generator.md[] |
| 117 | +
|
| 118 | +--- |
| 119 | +
|
| 120 | +include::Solution-Strategy-Planner.md[] |
| 121 | +
|
| 122 | +--- |
| 123 | +
|
| 124 | +include::Deployment-View-Creator.md[] |
| 125 | +---- |
| 126 | + |
| 127 | +== Quick Start Combinations |
| 128 | + |
| 129 | +=== Architecture Overview Assistant |
| 130 | +For high-level architecture communication and stakeholder alignment. |
| 131 | + |
| 132 | +[source, markdown] |
| 133 | +---- |
| 134 | +include::Architecture-Communication-Canvas.md[] |
| 135 | +
|
| 136 | +--- |
| 137 | +
|
| 138 | +include::Stakeholder-Analysis.md[] |
| 139 | +
|
| 140 | +--- |
| 141 | +
|
| 142 | +include::Context-Diagram-Generator.md[] |
| 143 | +---- |
| 144 | + |
| 145 | +=== Strategic Planning Assistant |
| 146 | +For solution strategy and architectural decision making. |
| 147 | + |
| 148 | +[source, markdown] |
| 149 | +---- |
| 150 | +include::Quality-Scenarios-Builder.md[] |
| 151 | +
|
| 152 | +--- |
| 153 | +
|
| 154 | +include::Solution-Strategy-Planner.md[] |
| 155 | +
|
| 156 | +--- |
| 157 | +
|
| 158 | +include::Architecture-Decision-Record.md[] |
| 159 | +---- |
| 160 | + |
| 161 | +=== Operational Architecture Assistant |
| 162 | +For deployment and operational concerns. |
| 163 | + |
| 164 | +[source, markdown] |
| 165 | +---- |
| 166 | +include::Deployment-View-Creator.md[] |
| 167 | +
|
| 168 | +--- |
| 169 | +
|
| 170 | +include::Risk-Assessment-Matrix.md[] |
| 171 | +
|
| 172 | +--- |
| 173 | +
|
| 174 | +include::Technical-Debt-Tracker.md[] |
| 175 | +---- |
| 176 | + |
| 177 | +== Individual Prompts |
| 178 | + |
| 179 | +=== Architecture Communication Canvas |
| 180 | +High-level architecture overview and stakeholder communication. |
| 181 | + |
| 182 | +[source, markdown] |
| 183 | +---- |
| 184 | +include::Architecture-Communication-Canvas.md[] |
| 185 | +---- |
| 186 | + |
| 187 | +=== Architecture Decision Record |
| 188 | +Structured architectural decision documentation with Pugh Matrix evaluation. |
| 189 | + |
| 190 | +[source, markdown] |
| 191 | +---- |
| 192 | +include::Architecture-Decision-Record.md[] |
| 193 | +---- |
| 194 | + |
| 195 | +=== arc42 Chapter Generator |
| 196 | +Complete arc42 documentation creation with quality-driven approach. |
| 197 | + |
| 198 | +[source, markdown] |
| 199 | +---- |
| 200 | +include::arc42-Chapter-Generator.md[] |
| 201 | +---- |
| 202 | + |
| 203 | +=== Quality Scenarios Builder |
| 204 | +Testable quality requirements using structured scenarios. |
| 205 | + |
| 206 | +[source, markdown] |
| 207 | +---- |
| 208 | +include::Quality-Scenarios-Builder.md[] |
| 209 | +---- |
| 210 | + |
| 211 | +=== Risk Assessment Matrix |
| 212 | +Systematic architecture risk identification and mitigation. |
| 213 | + |
| 214 | +[source, markdown] |
| 215 | +---- |
| 216 | +include::Risk-Assessment-Matrix.md[] |
| 217 | +---- |
| 218 | + |
| 219 | +=== Technical Debt Tracker |
| 220 | +Comprehensive technical debt identification and management. |
| 221 | + |
| 222 | +[source, markdown] |
| 223 | +---- |
| 224 | +include::Technical-Debt-Tracker.md[] |
| 225 | +---- |
| 226 | + |
| 227 | +=== Stakeholder Analysis |
| 228 | +Systematic stakeholder identification and communication planning. |
| 229 | + |
| 230 | +[source, markdown] |
| 231 | +---- |
| 232 | +include::Stakeholder-Analysis.md[] |
| 233 | +---- |
| 234 | + |
| 235 | +=== Context Diagram Generator |
| 236 | +System context diagrams following C4 Model Level 1 principles. |
| 237 | + |
| 238 | +[source, markdown] |
| 239 | +---- |
| 240 | +include::Context-Diagram-Generator.md[] |
| 241 | +---- |
| 242 | + |
| 243 | +=== Solution Strategy Planner |
| 244 | +Quality-driven solution strategies following arc42 Chapter 4. |
| 245 | + |
| 246 | +[source, markdown] |
| 247 | +---- |
| 248 | +include::Solution-Strategy-Planner.md[] |
| 249 | +---- |
| 250 | + |
| 251 | +=== Deployment View Creator |
| 252 | +Comprehensive deployment architectures following arc42 Chapter 7. |
| 253 | + |
| 254 | +[source, markdown] |
| 255 | +---- |
| 256 | +include::Deployment-View-Creator.md[] |
| 257 | +---- |
| 258 | + |
| 259 | +== Usage Instructions |
| 260 | + |
| 261 | +=== For LLM Platforms |
| 262 | + |
| 263 | +1. **Copy the desired prompt combination** from the source blocks above |
| 264 | +2. **Paste into your LLM interface** as a system prompt or initial message |
| 265 | +3. **Begin your architecture work** - the AI will guide you through structured processes |
| 266 | + |
| 267 | +=== For AI Assistant Creation |
| 268 | + |
| 269 | +1. **Select the appropriate combination** based on your needs: |
| 270 | + - **Complete Architecture Assistant**: All capabilities |
| 271 | + - **Core Tools**: Essential functionality only |
| 272 | + - **Specialized**: Advanced arc42-specific tools |
| 273 | + - **Quick Start**: Focused combinations for specific workflows |
| 274 | + |
| 275 | +2. **Use as system prompts** in platforms like: |
| 276 | + - Claude Projects (Anthropic) |
| 277 | + - GPTs (OpenAI) |
| 278 | + - Custom AI assistants |
| 279 | + - API implementations |
| 280 | + |
| 281 | +=== Integration with docToolchain |
| 282 | + |
| 283 | +All generated outputs are designed to work seamlessly with docToolchain: |
| 284 | + |
| 285 | +```bash |
| 286 | +# Process generated AsciiDoc files |
| 287 | +./dtcw generateHTML |
| 288 | +./dtcw generatePDF |
| 289 | +./dtcw publishToConfluence |
| 290 | +``` |
| 291 | + |
| 292 | +== Prompt Characteristics |
| 293 | + |
| 294 | +=== Consistent Style Elements |
| 295 | + |
| 296 | +All prompts in this collection share: |
| 297 | + |
| 298 | +* **Structured approach**: Step-by-step guided processes |
| 299 | +* **Quality focus**: Decisions tied to measurable quality goals |
| 300 | +* **Visual integration**: PlantUML/C4 diagrams embedded |
| 301 | +* **arc42 alignment**: Direct support for arc42 methodology |
| 302 | +* **AsciiDoc output**: Compatible with docToolchain workflows |
| 303 | +* **Comprehensive templates**: Ready-to-use documentation structures |
| 304 | + |
| 305 | +=== Interaction Patterns |
| 306 | + |
| 307 | +* **Question-driven**: Prompts ask targeted questions to gather requirements |
| 308 | +* **Iterative refinement**: Support for multiple rounds of improvement |
| 309 | +* **Decision traceability**: Clear rationale for all architectural choices |
| 310 | +* **Stakeholder focus**: Consider multiple perspectives and communication needs |
| 311 | +* **Implementation guidance**: Actionable next steps and validation approaches |
| 312 | + |
| 313 | +=== Integration Benefits |
| 314 | + |
| 315 | +When used together, these prompts provide: |
| 316 | + |
| 317 | +* **End-to-end coverage**: From high-level strategy to operational implementation |
| 318 | +* **Consistent terminology**: Shared vocabulary across all documentation |
| 319 | +* **Traceability**: Clear links between different architectural concerns |
| 320 | +* **Workflow continuity**: Outputs from one prompt feed naturally into others |
| 321 | +* **Quality coherence**: Unified approach to quality-driven architecture |
| 322 | + |
| 323 | +== Examples and Templates |
| 324 | + |
| 325 | +=== Creating a Complete Architecture Documentation Set |
| 326 | + |
| 327 | +1. **Start with Architecture Communication Canvas** - Get the big picture |
| 328 | +2. **Use Stakeholder Analysis** - Understand who needs what |
| 329 | +3. **Create Context Diagrams** - Establish system boundaries |
| 330 | +4. **Build Quality Scenarios** - Define measurable requirements |
| 331 | +5. **Develop Solution Strategy** - Bridge requirements to decisions |
| 332 | +6. **Document Architecture Decisions** - Capture key choices |
| 333 | +7. **Plan Deployment** - Address operational concerns |
| 334 | +8. **Assess Risks** - Identify and mitigate threats |
| 335 | +9. **Track Technical Debt** - Manage long-term code health |
| 336 | + |
| 337 | +=== Typical Workflow Integration |
| 338 | + |
| 339 | +``` |
| 340 | +Stakeholder Analysis → Context Diagrams → Quality Scenarios |
| 341 | + ↓ |
| 342 | +Solution Strategy → Architecture Decisions → Deployment View |
| 343 | + ↓ |
| 344 | +Risk Assessment → Technical Debt Tracking → Documentation |
| 345 | +``` |
| 346 | + |
| 347 | +=== Output Integration |
| 348 | + |
| 349 | +All prompts generate documentation that can be combined into comprehensive arc42 documentation: |
| 350 | + |
| 351 | +* **Chapter 1**: Introduction and Goals (Architecture Communication Canvas) |
| 352 | +* **Chapter 3**: System Scope and Context (Context Diagram Generator) |
| 353 | +* **Chapter 4**: Solution Strategy (Solution Strategy Planner) |
| 354 | +* **Chapter 7**: Deployment View (Deployment View Creator) |
| 355 | +* **Chapter 9**: Architecture Decisions (Architecture Decision Record) |
| 356 | +* **Chapter 10**: Quality Requirements (Quality Scenarios Builder) |
| 357 | +* **Chapter 11**: Risk and Technical Debt (Risk Assessment, Technical Debt Tracker) |
| 358 | + |
| 359 | +== Contributing |
| 360 | + |
| 361 | +To maintain consistency across all prompts: |
| 362 | + |
| 363 | +1. **Follow the established style patterns** shown in existing prompts |
| 364 | +2. **Use consistent terminology** (AsciiDoc, arc42, PlantUML, etc.) |
| 365 | +3. **Maintain structured approaches** with clear step-by-step processes |
| 366 | +4. **Include visual elements** using PlantUML/C4 notation |
| 367 | +5. **Ensure quality focus** in all architectural decisions |
| 368 | +6. **Test integration** with other prompts in the collection |
| 369 | + |
| 370 | +--- |
| 371 | + |
| 372 | +*These consolidated prompts provide a comprehensive toolkit for AI-assisted architecture documentation following arc42 methodology and docToolchain workflows.* |
0 commit comments