utility-pm-skill-builder
À propos
Cette compétence utilitaire automatise la création de nouvelles compétences PM en guidant un contributeur d'une idée initiale à un dossier de mise en œuvre structuré et complet. Elle effectue une analyse des écarts, une validation et une classification avant de générer des fichiers brouillons et de les placer dans une zone de staging pour examen. Les développeurs l'utilisent pour garantir que les nouvelles compétences sont correctement alignées avec les conventions de la bibliothèque pm-skills avant leur promotion.
Installation rapide
Claude Code
Recommandénpx skills add product-on-purpose/pm-skills -a claude-code/plugin add https://github.com/product-on-purpose/pm-skillsgit clone https://github.com/product-on-purpose/pm-skills.git ~/.claude/skills/utility-pm-skill-builderCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
PM Skill Builder
This skill creates new PM skills for the pm-skills library. It produces a Skill Implementation Packet . a complete design document with draft files . in a staging area for review before promotion to canonical locations.
When to Use
- When you have an idea for a new PM skill
- When you want to add a domain skill (phase-specific), foundation skill (cross-cutting), or utility skill (meta/tooling) to the pm-skills library
- When a contributor needs guided skill creation that follows repo conventions
When NOT to Use
- To modify an existing skill → use a future validation/iteration utility (planned)
- To create a skill for a non-pm-skills context → use a general agent skill builder (planned)
- To create a workflow → workflows are authored directly, not via this builder
Instructions
When asked to create a new PM skill, follow these steps:
Step 1: Understand the Idea
Accept the idea in either form:
- Problem-first: "What PM problem does this skill solve? Who runs into this problem, and what do they currently produce (or fail to produce)?"
- Skill-first: "Describe the skill you want to create. What artifact does it produce? What PM activity does it support?"
Both entry points produce the same downstream flow. If the user provides one form, do not ask for the other . extract what you need and proceed.
If the idea is vague, ask ONE follow-up question to clarify the artifact type and target audience before proceeding.
Step 2: Gap Analysis
Check ALL existing skills for overlap. Use the Current Library Reference
table below AND scan the skills/ directory for the latest inventory.
Present findings with specificity:
- Name each overlapping skill and explain what it covers
- Identify the specific gap this new skill would fill
- If overlap is high, trigger the Why Gate (see below)
Why Gate (triggers when overlap is found): Ask the user: "Name 2-3 specific prompts or scenarios where the existing skills fail to produce what you need."
Kill Gate: If the user cannot articulate convincing gaps, recommend an alternative:
- "Revise [existing skill] to cover this case"
- "Create a workflow combining [skill A] + [skill B]"
- "Add a command variant, not a new skill"
- "This is a documentation improvement, not a new skill"
Do not proceed past the kill gate without either convincing evidence of a gap or explicit user override.
Step 3: Scope Check
Evaluate whether the idea should be ONE skill or MULTIPLE skills.
Splitting signals:
- The idea produces multiple distinct artifact types
- The idea crosses Triple Diamond phases (e.g., Discover + Deliver)
- The description naturally contains "and" connecting two activities
If splitting is warranted, present the recommendation: "This seems to cover two distinct PM activities:
- [Activity A] → produces [Artifact A]
- [Activity B] → produces [Artifact B] These work better as separate skills that can be chained via a workflow. Want to proceed with just [Activity A] for now?"
Step 4: Classification + Repo-Fit
Determine the skill's classification and naming:
Domain skills (phase-specific PM activities):
- Phase: discover | define | develop | deliver | measure | iterate
- Directory:
{phase}-{skill-name} - Frontmatter:
phase: {phase}(required), noclassificationfield
Foundation skills (cross-cutting, used across phases):
- No phase
- Directory:
foundation-{skill-name} - Frontmatter:
classification: foundation(required), nophasefield - Use when: the skill applies to multiple phases equally
Utility skills (meta-skills, repo tooling):
- No phase
- Directory:
utility-{skill-name} - Frontmatter:
classification: utility(required), nophasefield - Use when: the skill operates on the repo, workflow, or other skills
Exemplar selection: Identify 1-2 existing skills that are the closest structural match:
- Same phase > same category > similar artifact type
- Read their SKILL.md to understand section structure, instruction style, output contract format, and quality checklist pattern
- Name the exemplars explicitly: "Modeled after [skill] . same phase, [category] category"
Present the classification and exemplar selection for user confirmation.
Step 5: Generate Skill Implementation Packet
Produce the complete packet using references/TEMPLATE.md as the format.
The packet includes:
- Decision . recommendation + Why Gate evidence (if applicable)
- Classification . type, phase (if domain), category, directory name
- Overlap Analysis . what was found, why this skill is still needed
- Exemplar Skills . which existing skills modeled, why
- Draft Frontmatter . complete, valid YAML block. The frontmatter MUST begin with
---at byte 0 of the file (no preceding content of any kind, including HTML comments, BOM, or whitespace). Place any attribution comment AFTER the closing---fence, never before. Reference:library/skill-output-samples/SAMPLE_CREATION.mdSection 5. - Draft SKILL.md . full content (not an outline), mirroring exemplar structure
- Draft TEMPLATE.md . section headers with guidance comments
- Draft EXAMPLE.md . complete, realistic example (150-300 lines) with a specific PM scenario, every section filled, optional sections demonstrated both filled and skipped
- Draft Command . command frontmatter
- AGENTS.md Entry . exact text to add
- Validation Checklist . all CI rules checked against the draft
- Next Steps . local CI, testing, contribution workflow
Step 6: Write to Staging Area
Write all generated files to the staging area:
_staging/pm-skill-builder/{skill-name}/
├── SKILL.md ← draft skill file
├── references/
│ ├── TEMPLATE.md ← draft template
│ └── EXAMPLE.md ← draft example
└── command.md ← draft command
Note:
_staging/is gitignored . draft artifacts never ship in releases. The staging folder is discarded after promotion.
Report what was written and where.
Step 7: Promote (on confirmation)
Ask: "Review the packet above. When ready, I'll promote the files to their canonical locations. Proceed? [yes/no]"
If yes, promote by copying each file from staging to its canonical path:
| Staging file | Canonical location |
|---|---|
_staging/pm-skill-builder/{skill-name}/SKILL.md | skills/{dir-name}/SKILL.md |
_staging/pm-skill-builder/{skill-name}/references/TEMPLATE.md | skills/{dir-name}/references/TEMPLATE.md |
_staging/pm-skill-builder/{skill-name}/references/EXAMPLE.md | skills/{dir-name}/references/EXAMPLE.md |
_staging/pm-skill-builder/{skill-name}/command.md | commands/{command-name}.md |
Where {dir-name} is the classification-prefixed directory (e.g., deliver-change-communication).
Then:
- Create the target directory:
skills/{dir-name}/references/ - Copy each file to its canonical location
- Append the AGENTS.md entry from the packet
- Run CI validation:
bash scripts/lint-skills-frontmatter.sh && bash scripts/validate-agents-md.sh && bash scripts/validate-commands.sh - If validation passes, delete the staging folder:
_staging/pm-skill-builder/{skill-name}/ - If validation fails, report the error and keep staging intact for fixes
Design rationale lives in the GitHub issue, PR, or effort brief . not in a permanent packet file.
Provide post-promotion guidance:
- "Run CI locally:
bash scripts/lint-skills-frontmatter.sh" - "Test the skill: try
/{command-name}with a realistic scenario" - "If contributing: create a GitHub issue with the skill-proposal template, then open a PR"
Current Library Reference
Use this table for gap analysis . it reflects the current skill inventory.
Also scan the skills/ directory for the latest authoritative count.
Domain Skills (26)
| Phase | Skill | Category | Description |
|---|---|---|---|
| discover | competitive-analysis | research | Structured competitive landscape analysis |
| discover | interview-synthesis | research | User research interview synthesis |
| discover | stakeholder-summary | research | Stakeholder needs and influence mapping |
| define | hypothesis | ideation | Testable hypothesis with success metrics |
| define | jtbd-canvas | problem-framing | Jobs to Be Done canvas |
| define | opportunity-tree | problem-framing | Opportunity solution tree |
| define | problem-statement | problem-framing | Clear problem statement with success criteria |
| develop | adr | specification | Architecture Decision Record |
| develop | design-rationale | specification | Design decision reasoning |
| develop | solution-brief | ideation | One-page solution overview |
| develop | spike-summary | coordination | Technical/design spike results |
| deliver | acceptance-criteria | specification | Given/When/Then acceptance criteria |
| deliver | edge-cases | specification | Edge cases and error states |
| deliver | launch-checklist | coordination | Pre-launch checklist |
| deliver | prd | specification | Product Requirements Document |
| deliver | release-notes | coordination | User-facing release notes |
| deliver | user-stories | specification | User stories with acceptance criteria |
| measure | dashboard-requirements | validation | Analytics dashboard spec |
| measure | experiment-design | validation | A/B test or experiment design |
| measure | experiment-results | reflection | Experiment results and learnings |
| measure | instrumentation-spec | validation | Event tracking specification |
| measure | okr-grader | reflection | OKR cycle-close scoring at the KR level |
| iterate | lessons-log | reflection | Structured lessons learned |
| iterate | pivot-decision | reflection | Pivot or persevere decision |
| iterate | refinement-notes | coordination | Backlog refinement outcomes |
| iterate | retrospective | reflection | Team retrospective |
Foundation Skills (8)
| Skill | Category | Description |
|---|---|---|
| lean-canvas | problem-framing | One-page lean canvas across nine interlocking blocks |
| meeting-agenda | meeting | Attendee-facing pre-meeting agenda |
| meeting-brief | meeting | Private pre-meeting strategic preparation |
| meeting-recap | meeting | Post-meeting summary with decisions and actions |
| meeting-synthesize | meeting | Cross-meeting pattern synthesis from multiple recaps |
| okr-writer | coordination | Outcome-based OKR set authoring with coaching |
| persona | research | Evidence-calibrated product or marketing persona |
| stakeholder-update | meeting | Async stakeholder communication for non-attendees |
Utility Skills (6)
| Skill | Category | Description |
|---|---|---|
| mermaid-diagrams | documentation | Mermaid diagram authoring with syntax validation |
| pm-skill-builder | coordination | This skill |
| pm-skill-iterate | coordination | Targeted improvements to an existing skill |
| pm-skill-validate | coordination | Audit a skill against structural conventions and quality criteria |
| slideshow-creator | communication | JSON-spec presentation generation across 18 slide types |
| update-pm-skills | coordination | Check for and apply pm-skills releases locally |
Output Contract
The builder MUST produce draft files for the new skill:
SKILL.md. full skill instructionsreferences/TEMPLATE.md. output template with guidance commentsreferences/EXAMPLE.md. complete worked example (150-300 lines)command.md. slash command file
All drafts are written to _staging/pm-skill-builder/{skill-name}/ (gitignored).
On promotion, files are copied to canonical locations, AGENTS.md is updated, and the staging folder is discarded.
Quality Checklist
Before finalizing the packet, verify all items in both tiers:
CI Validation (must pass)
-
namematches directory name - Description is 20-100 words (single-line, no multiline YAML)
-
version,updated,licenseall present - Classification correct (domain →
phase:, foundation/utility →classification:) - Directory name follows convention:
{phase/classification}-{skill-name} - TEMPLATE.md has ≥3
##sections - Command file references correct skill path
- AGENTS.md entry uses
####+**Path:**format
Quality Checks (should pass)
- Gap analysis checked all existing skills (not just same-phase)
- Why Gate evidence is specific (names prompts/scenarios, not vague)
- EXAMPLE.md is a complete artifact (150-300 lines), not an outline
- Output contract is present in draft SKILL.md
- Quality checklist is present in draft SKILL.md
Examples
See references/EXAMPLE.md for a completed Skill Implementation Packet
demonstrating a realistic domain skill creation.
Dépôt GitHub
Compétences associées
content-collections
MétaCette compétence propose une configuration éprouvée en production pour Content Collections, un outil axé sur TypeScript qui transforme des fichiers Markdown/MDX en collections de données typées de manière sûre avec une validation Zod. Utilisez-la lors de la création de blogs, de sites de documentation ou d'applications Vite + React riches en contenu pour garantir la sécurité de typage et la validation automatique du contenu. Elle couvre tout, de la configuration du plugin Vite et de la compilation MDX à l'optimisation des déploiements et la validation des schémas.
polymarket
MétaCette compétence permet aux développeurs de créer des applications avec la plateforme de marchés prédictifs Polymarket, incluant l'intégration d'API pour le trading et les données de marché. Elle fournit également une diffusion de données en temps réel via WebSocket pour surveiller les transactions en direct et l'activité du marché. Utilisez-la pour mettre en œuvre des stratégies de trading ou pour créer des outils traitant les mises à jour de marché en direct.
creating-opencode-plugins
MétaCette compétence aide les développeurs à créer des plugins OpenCode qui s'interconnectent avec plus de 25 types d'événements tels que les commandes, les fichiers et les opérations LSP. Elle fournit la structure du plugin, les spécifications de l'API événementielle et les modèles d'implémentation pour les modules JavaScript/TypeScript. Utilisez-la lorsque vous avez besoin d'intercepter, de surveiller ou d'étendre le cycle de vie de l'assistant IA OpenCode avec une logique personnalisée pilotée par les événements.
sglang
MétaSGLang est un framework de service LLM haute performance spécialisé dans la génération rapide et structurée pour les workflows JSON, regex et agentiques grâce à son cache de préfixe RadixAttention. Il offre une inférence nettement plus rapide, particulièrement pour les tâches avec des préfixes répétés, ce qui le rend idéal pour les sorties complexes et structurées ainsi que les conversations multi-tours. Choisissez SGLang plutôt que des alternatives comme vLLM lorsque vous avez besoin d'un décodage contraint ou que vous construisez des applications avec un partage étendu de préfixes.
