Claude-skill-registry-data manage-prompts
MUST INVOKE this skill when creating focused prompts in .prompts/prompts/ and multi-stage chains in .prompts/metaprompt/. Create, audit, and maintain all types of prompts including standalone prompts and meta-prompts for AI-to-AI workflows.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/manage-prompts" ~/.claude/skills/majiayu000-claude-skill-registry-data-manage-prompts && rm -rf "$T"
manifest:
data/manage-prompts/SKILL.mdsource content
Objective
Create effective prompts for both direct execution and multi-stage AI-to-AI workflows. This skill handles standalone prompts and meta-prompts (chains where outputs from one prompt become inputs for the next).
Prompt Categories
Single Prompts
Standalone prompts for direct execution by users or agents.
- Analysis: Examine and interpret information, extract insights
- Generation: Create new content or artifacts
- Review: Quality checks, validation, critique
- Transformation: Conversion, extraction, summarization
- Q&A: Answer specific questions
- Creative: Brainstorming, ideation, problem-solving
Meta-Prompts
Multi-stage prompt chains for Claude-to-Claude communication where outputs feed into subsequent prompts.
- Research Prompts: Gather information, analyze options, produce findings
- Plan Prompts: Create implementation roadmaps and strategies
- Do Prompts: Execute tasks, produce artifacts
- Refine Prompts: Improve existing prompts with versioning
Output Structure
Single Prompts
.prompts/prompts/ ├── {number}-{name}.md # The prompt file └── SUMMARY.md # Summary of created prompt
Meta-Prompts
.prompts/metaprompt/ ├── {number}-{topic}-{purpose}/ │ ├── {number}-{topic}-{purpose}.md # The prompt file │ ├── {topic}-{purpose}.md # Output file (for Research/Plan) │ ├── completed/ # Archive after running │ └── SUMMARY.md # Required: executive summary
Prompt Numbering
Auto-increment from existing prompts:
# Single prompts find .prompts/prompts -name "*.md" | wc -l # Meta-prompts find .prompts/metaprompt -type d -name "*-*" | wc -l
Key Methodology
Hybrid XML/Markdown Structure
XML Containers (Use Sparingly - max 3-5 tags):
- Large data dumps or background info<context>
- Non-negotiable step sequences<workflow>
- Negative constraints (NEVER/MUST NOT)<constraints>
- Machine-parseable responses<output_format>
Markdown (Most Content):
- Instructions and guidance
- Explanations and descriptions
- Examples and demonstrations
Critical Rules:
- Limit to 3-5 XML tags maximum
- Never nest XML tags
- Reserve XML for highly structured workflows
Prompt Creation Steps
Single Prompts
- Understand the Task: What inputs, outputs, context?
- Select Type: Analysis, Generation, Review, etc.
- Apply Structure: XML for containers, Markdown for instructions
- Include Examples: Concrete examples where helpful
- Add Verification: How to confirm successful output
Meta-Prompts
- Design the Chain: Research → Plan → Do sequence
- Structure Each Prompt: Use hybrid XML/Markdown
- Set Dependencies: Reference previous outputs with
syntax@ - Add YAML Frontmatter: Include confidence, dependencies, questions
- Create SUMMARY.md: Required for each prompt in the chain
Chaining Patterns
- Sequential: Each prompt depends on previous output
- Parallel: Multiple prompts run simultaneously
- Mixed: Parallel layer feeds into sequential step
Reference Files
Single Prompts
- Detailed type guidancereferences/prompt-types.md
- Template patternsreferences/single-prompt-templates.md
- Quality improvementreferences/optimization-guide.md
Meta-Prompts
- Research prompt structurereferences/research-patterns.md
- Plan prompt structurereferences/plan-patterns.md
- Do prompt structurereferences/do-patterns.md
- Refine prompt structurereferences/refine-patterns.md
- YAML frontmatter requirementsreferences/metadata-guidelines.md
- SUMMARY.md structurereferences/summary-template.md