Unofficial Claude Code Prompt Playbook
Description
Unofficial playbook for production-grade LLM system prompt architecture, derived from local analysis of Claude Code prompt patterns.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Unofficial Claude Code Prompt Playbook
An unofficial, local-source-derived playbook for building production-grade system prompts, tool prompts, memory prompts, verifier prompts, and prompt architectures for modern LLM applications.
Podcast Companion
This repo also includes a podcast companion episode:
The audio is meant to accompany the playbook and give a higher-level walkthrough of why these prompt-architecture patterns matter.
What This Playbook Gives You
We use the learnings from the analyzed prompt architecture to build a practical, production-grade manual for creating world-class prompts and agent systems.
This playbook is designed to help you build:
- A gold-standard system prompt architecture for modern LLM applications
- A modular way to break prompts into reusable policy blocks instead of one giant blob
- A clean separation between static prompt policy and dynamic runtime context
- A safe model for injecting user data only when it has causal value
- A clear instruction-precedence system for base rules, org rules, project rules, user preferences, and request-time overrides
- A strong trust-boundary model for policy, trusted runtime context, retrieved evidence, and user input
- Better tool prompts, tool schemas, and tool-use policies
- Verifier-agent patterns for adversarial, evidence-based validation
- Durable memory patterns that stay useful instead of becoming noisy
- Prompt-caching-friendly layouts that preserve a reusable prefix
- Example-driven prompt design for formatting, edge cases, and escalation behavior
- Anti-rationalization rules that explicitly block the model's most common shortcuts
- Real-world templates for coding agents, RAG analysts, support agents, and orchestrators
Think of the rest of the document as a chapter-by-chapter build manual for those outcomes.
Disclaimer
This document is based primarily on static analysis of an unofficial extraction of Anthropic's Claude Code prompt architecture. It is **not** an official Anthropic document and should not be read as a claim about hidden or proprietary policy. The point of this playbook is practical:
- extract the strongest prompt-engineering patterns visible in a real production agent
- explain why those patterns matter
- generalize them into reusable templates for new LLM applications
Where public Anthropic or OpenAI docs agree with the local observations, those are cited as secondary corroboration.
Why This Exists
Most prompt advice still lives at the level of:
- "be clear"
- "give the model a role"
- "add examples"
- "be specific"
That advice is correct, but incomplete.
A real production prompt stack is not a paragraph. It is closer to an operating system:
- a top-level policy layer
- runtime context injection
- tool-specific instructions
- specialist sub-prompts
- memory and durable instructions
- caching boun
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI