Unofficial Claude Code Prompt Playbook — AI skill for Claude Code
Unofficial playbook for production-grade LLM system prompt architecture, derived from local analysis of Claude Code prompt patterns.
How to install Unofficial Claude Code Prompt Playbook
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kropdx/unofficial-claude-code-prompt-playbook and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Unofficial Claude Code Prompt Playbook does
Unofficial playbook for production-grade LLM system prompt architecture, derived from local analysis of Claude Code prompt patterns.
Alternatives in AI
- Claude Code Configs — A comprehensive collection of production-grade Claude Code configurations, specialized agents, and automation 624 ★
- Claudecode Harness — Production-grade orchestration harness for Claude Code — Context discipline, subagents, and multi-model consen 223 ★
- Memory Lancedb Pro — Production-grade long-term memory system (v1.1.0-beta.8) for OpenClaw AI agents 222 ★
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
Prompt Architecture
Reference guide for designing production LLM prompt systems in this codebase. Covers the Two-Pass Gap Analysis
Agentic AI From Claude Code
Learn production-grade AI agent development from Claude Code's architecture
Agent Blueprint
Build production-grade AI agents from scratch. Patterns, templates, and references for workflow builders and a
Xaction Skills
8 production-grade agent skills (SKILL.md standard) by Xaction: code-review, debugging, tdd, file-organizer, m
Lamoom Python
by LamoomAI - Serves as reference for production prompt engineering library with load balancing of AI Models,
LLM Evaluation Framework
Production-grade LLM Evaluation & Benchmarking Framework - GPT-4, Claude, Gemini, Mistral. Accuracy, latency,
Related Agents
Prompt Engineer Agent
Specialist in crafting, testing, and systematically optimizing prompts for LLMs — turning vague instructions i
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
Lens AI Security
AI security lens of the production readiness audit. Treats LLM and agent integrations as attack surface - prom