Claude Prompting Best Practices Template
Official XML-tagged context, constraints, and verification template for Claude models. This catalog template draws on Claude Platform Docs.
Turns complex functions, configs, or tool outputs into crisp architectural explanations. This catalog template draws on Fabric Patterns.
Onboard to unfamiliar functions, scripts, or configuration.
The task requires a code change or a performance diagnosis backed by measurements.
Explain this code to {{audience}}. Start with its purpose and public contract. Trace one representative input from entry point to result, naming the functions, state changes, and side effects involved. Finish with failure behavior and any external dependency whose behavior remains unknown. Code and configuration:
{{source}}Provide readable code and any relevant interface or configuration excerpts.
{{audience}} reader role and experience; {{source}} code or configuration excerpts.
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.
Prevents layer leaks and dependency cycles during code generation. This catalog template draws on Awesome Copilot.
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.