Claude Prompting Best Practices Template
Official XML-tagged context, constraints, and verification template for Claude models. This catalog template draws on Claude Platform Docs.
Prevents layer leaks and dependency cycles during code generation. This catalog template draws on Awesome Copilot.
Add a feature across layers or review a module split in an established codebase.
The project has no agreed boundaries and needs an architecture decision first.
Plan the change {{feature}} within {{architecture_rules}}. Map each new responsibility to the appropriate module. List interfaces and dependency direction. Before proposing code, identify any new cross-layer dependency or cycle and explain how to avoid it using existing interfaces. Include the checks that enforce the boundaries.Provide module definitions or representative files and allowed dependency directions.
{{feature}} requested change and impacted flows; {{architecture_rules}} layers, ownership, and import rules.
Official XML-tagged context, constraints, and verification template for Claude models. This catalog template draws on Claude Platform Docs.
Produces structured C4 architecture and security-posture design docs from raw notes. This catalog template draws on Fabric Patterns.
Turns complex functions, configs, or tool outputs into crisp architectural explanations. This catalog template draws on Fabric Patterns.
Behavior-preserving refactoring prompt that enforces repo instructions and clean diffs. This catalog template draws on Awesome Copilot.
Inspects locks, async state mutations, and transaction isolation boundaries. This catalog template draws on Awesome Copilot.
Solution-architect critique covering scalability, integration risk, and data security. This catalog template draws on Fabric Patterns.