prp-meta-skill

Creates, refactors, and consolidates Agent Skills using PRP-style runbooks and progressive disclosure.

2.2k|608|Updated Jun 21, 2025
One-click install
npx skills add https://github.com/Wirasm/PRPs-agentic-eng --skill prp-meta-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prp-meta-skill
Source: https://github.com/Wirasm/PRPs-agentic-eng/tree/main/plugins/prp-core/skills/prp-meta-skill
Command: npx skills add https://github.com/Wirasm/PRPs-agentic-eng --skill prp-meta-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Writing and maintaining Agent Skills is error-prone: bloated SKILL.md files, weak trigger descriptions, duplicated content, and overlapping workflow skills silently degrade agent behavior. This Skill provides a structured runbook for authoring new skills, trimming fat ones into lean spines with references, and merging overlapping workflows without losing behavior.

Core Features & Use Cases

  • Create new skills: Gather trigger phrases and context, plan resources (scripts, references, templates), scaffold from a template, and validate with a seven-gate checklist.
  • Refactor existing skills: Split bulky SKILL.md files into references/ and templates/ with verbatim extraction, mandatory-read pointers for always-needed output formats, and behavior-preservation checks.
  • Consolidate workflows: Trace contracts across overlapping skills, assign single ownership per phase and artifact, design durable handoffs, and retire duplicate paths safely.
  • Use Case: Your team has three overlapping planning skills with duplicated logic. Invoke this Skill to trace their inputs and outputs, pick one composition owner, compose the specialist skills by name, and retire the redundant paths while preserving every human gate.

Quick Start

Ask the agent to use the prp-meta-skill to refactor the skill at .claude/skills/my-skill by splitting its detail into references and trimming the body.

Frequently Asked Questions about prp-meta-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Agent Skill with a SKILL.md file?

Gather the literal trigger phrases, the task, and gotchas first, then scaffold a directory with a SKILL.md containing YAML frontmatter (name, description) and a lean imperative body. Push bulky detail into references/ and output formats into templates/, then validate with the checklist and a real trigger test.

How do I refactor a bloated SKILL.md without changing behavior?

Classify each block as spine or extractable, move extractable content verbatim into references/ or templates/, and replace it with pointers. Always-needed output formats need a mandatory-read instruction; sometimes-needed detail gets a lazy pointer. Verify the trimmed skill drives the same process and output.

What should go in the description field of a skill frontmatter?

Write it in third person, state what the skill does and when to use it, and include literal user trigger phrases plus the /name invocation. Keep it under 1024 characters and avoid vague phrasing like 'helps with documents'.

When should skill content go into references versus templates?

References hold detail the agent reads on demand, such as schemas, edge cases, and long examples. Templates hold output shapes the result must follow; if a format is always needed, the body must instruct the agent to read it before producing output.

Why does a refactored skill produce different output than before?

The most common cause is moving an always-needed output format into a lazily-loaded reference, so the agent never reads it. Pair every such extraction with a mandatory-read instruction in the body and run the behavior-preservation check.

Can one skill call or reuse another skill's logic?

Yes, compose specialist skills by name instead of copying their instructions into your skill. Assign each phase and artifact one owner, pass complete durable artifacts across handoffs, and avoid duplicating content between skills.