/claude-code-capabilities:managing-promptsfrom claude-code-capabilities
Creates, analyzes, updates, and optimizes prompts using Claude 4.5 best practices, guardrails, context management, and prompt engineering patterns. Use when user asks how to write effective prompts, explaining prompt engineering techniques, understanding Claude 4.5 best practices, describing prompt patterns and structures, creating new prompts, evaluating existing prompts for improvements, determining if current logic should be extracted to prompts, identifying outdated prompt techniques, optimizing context usage, implementing guardrails, or when user mentions "prompt engineering", "hallucinations", "context optimization", "prompt caching", "chain-of-thought", or asks if logic should become a prompt.
Ships in claude-code-capabilities. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive prompt engineering for Claude 4.5: creation, analysis, optimization, guardrails, context management.
Quick process:
Detailed evaluation: Load analysis-patterns.md
Common issues reference: quick-reference.md#common-issues
Quick process:
Technique order:
Architecture selection:
Guardrails by risk:
Context optimization:
Quick process:
Quick optimization strategies:
Decision aids: quick-reference.md#fast-decision-trees
Quick process:
Common migrations:
Quick process:
Prompt extraction criteria (3+ to extract):
Script extraction criteria (3+ to extract):
Keep inline: One-time, context-specific, simple, requires real-time interaction
For validation: quick-reference.md (quick checklist, common issues, decision trees, severity guide)
For technique lookup: technique-reference.md (indexed by use case, lookup table, application patterns, combinations)
For output templates: output-formats.md (analysis, optimization, extraction, creation, migration reports)
For detailed patterns:
Strengths: Long-horizon reasoning, context awareness, parallel execution, subagent delegation
Requirements: More explicit than Claude 3, contextual motivation, high-quality examples, action framing, explicit summary requests, quality modifiers
Optimization: Parallel tool guidance, clear success criteria, investigation before answering, aesthetic direction (UI), algorithm approach (code)
Load quick-reference.md for detailed troubleshooting with fixes.
Common symptoms → Quick fixes:
Standard workflow:
Example - Analysis:
Example - Creation:
Example - Optimization:
Load quick-reference.md#quick-validation-checklist
Essential checks:
Golden test: "Would colleague understand with minimal context?"
This skill provides prompt engineering optimized for Claude 4.5. Use workflows systematically, load references on-demand, validate thoroughly. Supporting files contain detailed patterns - SKILL.md provides navigation and quick process guidance.
analysis-patterns.md (opens in a new tab)architecture-patterns.md (opens in a new tab)claude-4-5-optimization.md (opens in a new tab)consistency-techniques.md (opens in a new tab)context-optimization.md (opens in a new tab)extended-thinking-implementation.md (opens in a new tab)extraction-decision-guide.md (opens in a new tab)guardrails-implementation.md (opens in a new tab)migration-guide.md (opens in a new tab)optimization-strategies.md (opens in a new tab)output-formats.md (opens in a new tab)prompt-chaining-architecture.md (opens in a new tab)quick-reference.md (opens in a new tab)technique-reference.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thoeltig/claude-code-toolkit --plugin claude-code-capabilities7 skills in this plugin
/managing-agent-skillsCreates, analyzes, updates, and improves Claude Code agent skills including YAML frontmatter, allowed-tools field, progressive disclosure, and skill authoring workflows. Use when user asks how skills work, what agent skills are, explaining skill concepts, understanding SKILL.md structure, describing .md files organization, skill authoring process, asked to create a new skill, evaluate existing skills for improvements, optimize skills for AI/Claude effectiveness, suggest converting current logic into a skill, update outdated skill information, or when user mentions skill validation, best practices, supporting files, skill security, API integration, or technical architecture./managing-hooksCreates, analyzes, updates, and improves Claude Code hooks including configuration, scripts, and security validation. Use when user asks how hooks work, explaining hook concepts, understanding hook types and event lifecycle, describing hook configuration, creating new hooks, analyzing existing hooks for improvements, validating hook security, debugging hook activation, updating hook configurations, or when user mentions "hook", "PreToolUse", "PostToolUse", "SessionStart", or other hook event types. Handles both command hooks and prompt-based hooks across all 9 event types./managing-mcpsCreates, analyzes, updates, and evaluates Model Context Protocol (MCP) servers including architecture assessment, security validation, and connection configuration. Use when user asks if current context or logic should be MCP, requests MCP creation/improvement/update, mentions MCP is outdated, or asks how MCPs work, what MCPs are, explaining MCP concepts, understanding MCP architecture, protocol specification, server implementation, client integration, or connecting MCP servers to Claude Code./managing-pluginsCreates, packs, bundles, and manages Claude Code plugins with manifest generation, directory structure, marketplace configuration. Use when user asks how plugins work, what plugins are, explaining plugin structure, understanding plugin.json manifest, describing plugin bundling process, creating plugins, bundling skills/commands/hooks/MCPs, generating plugin.json, setting up marketplaces, or distributing team-shared functionality./managing-slash-commandsCreates, analyzes, updates, and improves slash commands including YAML frontmatter, argument handling, and command authoring workflows. Use when user asks how slash commands work, explaining command syntax and arguments, understanding command structure, describing command vs skill differences, asked to create a new slash command, evaluate existing commands for improvements, optimize commands for effectiveness, suggest converting current logic into a command, update outdated command information, or when user mentions command validation, best practices, or supporting files./managing-subagentsAnalyzes subagent usage patterns to determine when to delegate tasks, evaluates and improves existing subagent configurations, creates new custom subagents when needed, and identifies outdated subagent information. Use when deciding if a task should use a subagent, analyzing existing agents for effectiveness, recommending agent improvements, creating specialized agents for recurring patterns, or managing agent configurations. Optimizes Claude's subagent usage for performance, context preservation, and task specialization.