Skip to content

Repository files navigation

Claude Code Prompts

Production-ready prompt library for Claude AI and coding agents, built on the APEI cycle: Analyze → Plan → Execute → Iterate.

Repository default is English-only and remains enforced to keep quality, tone, and contribution standards consistent across all prompts.


Start Here

  1. Open REPOSITORY-MAP.md for one-file navigation.
  2. Use Agent System as the core prompt.
  3. Add one specialist prompt only when the task clearly needs it.
  4. Validate outputs against explicit success criteria.

Top 5 Outcome Scenarios

Scenario Prompt Setup
General autonomous coding Agent System
Debugging production issues Agent System + Debugging & Troubleshooting
Security-sensitive changes Agent System + Security Audit
Architecture decisions Agent System + Architecture Patterns
Complex multi-agent execution Agent System + Multi-Agent Orchestration

One Decision Tree + Token Budget

Use the single-source selector here: Prompt Selector Guide.

Rule: start minimal, then add exactly one specialist only if quality gates fail.


Active Agent Portfolio (Outcome-First)

claude-agent-system-prompt.md is the operational source of truth.

Prompt Use when Do not use when File
Agent System ⭐ Any autonomous task You only need a tiny cheat sheet View
Quick Reference Token budget is extremely tight You need deep specialist logic View
Code Review Reviewing a PR/change set Writing new feature code from scratch View
Security Audit Threat/risk exposure is possible Task has no security relevance View
Refactoring Improving maintainability safely Incident response under active outage View
Testing Building or fixing test strategy You only need non-test docs View
Documentation Producing technical docs You need runtime diagnosis View
Performance Latency/throughput/cost bottlenecks Problem is primarily correctness View
Git & VCS Workflow, branching, commit hygiene App logic decisions View
Accessibility Audit WCAG and accessibility compliance Backend-only infrastructure change View
Migration & Upgrade Framework/runtime/DB migrations Greenfield implementation View
Monitoring & Observability Logs, metrics, traces, alerts Pure UI copy/content task View
Debugging & Troubleshooting Root-cause and incident diagnostics You are designing architecture from zero View
Claude Code Modes ⭐ Managing /think and planning depth Non-Claude environments only View
Claude Code Workflow CLAUDE.md, hooks, permissions, MCP You only need algorithm design View
Technology Stack ⭐ Selecting tools/libraries Stack is fixed and approved View
Architecture Patterns System design and trade-offs Small local bug fix View
Full-Stack Development End-to-end app delivery Single-layer scoped work View
AI & LLM Integration RAG/agents/model integration No AI component exists View
API Design & GraphQL API contract/schema design UI-only styling task View
Cloud & Infrastructure IaC/K8s/multi-region/cost Local script-only changes View
Data Engineering Pipelines/streaming/data quality CRUD app without data platform scope View
Compliance & Governance Regulated/security governance scope Prototype with no compliance requirements View
Multi-Agent Orchestration Parallel agent coordination Single-agent linear task View
Monorepo & Complex Projects Multi-package cross-cutting work Small standalone repository View
Error Handling & Resilience Fault tolerance and degradation Static content editing only View
Developer Experience & Tooling Linting/hooks/onboarding/DX Feature logic changes only View
Database Design & Optimization Schema/index/query tuning No persistent data layer exists View
UI/UX & Design Systems Design tokens/components/theming API/backend-only task View

Archived (Merged) Prompts

These were removed from the active catalog to reduce overlap:

  • Error Analysis
  • Project Workflow
  • Integration Guardian
  • Claude Code Token Optimization
  • Prompt Chaining

See Archive Index.


Quality Gate (Repository Standard)

Every active prompt must include:

  • ## Role
  • ## Protocol / Core Loop
  • ## Phases
  • ## Remember (final section)

And must follow No Vague Advice:

  • each recommendation must end with a concrete decision, tool, or validation step.

Use the measurable review checklist: Prompt Review Checklist


90-Day Improvement Cycle

  • Monthly: usage, token, and link hygiene review
  • Quarterly: keep/merge/archive portfolio review and active catalog cleanup

Guide: Portfolio Maintenance Guide


Repository Structure

prompts/
└── english/
    ├── agents/          # Active agent prompts
    │   └── archive/     # Archived prompts removed from active catalog
    ├── base/            # Foundation prompt
    ├── project-types/   # Domain-specific prompts
    ├── examples/        # Real-world usage examples
    └── workflows/       # Setup, selection, troubleshooting, maintenance

Resources

About

A curated collection of high-quality prompt templates designed for Claude, focused on coding, problem-solving, productivity, and advanced reasoning workflows.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors