MCPInstall

utility-pm-skill-builder

Guides contributors from a PM skill idea to a complete Skill Implementation Packet aligned with pm-skills conventions. Runs gap analysis, validates through a Why Gate, classifies by type and phase, generates draft files, and writes to a staging area for review before promotion.

Installs
709
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/product-on-purpose/pm-skills --skill utility-pm-skill-builder
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads utility-pm-skill-builder automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->

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 or improve an existing skill → use utility-pm-skill-iterate
  • To audit an existing skill against conventions → use utility-pm-skill-validate
  • To create a skill for a non-pm-skills context → use a general agent skill builder
  • 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 below (derive the live inventory from skill-manifest.json or AGENTS.md) AND scan the skills/ directory for the latest inventory. Include all four families - domain, foundation, utility, and tool - the tool family is easy to miss since it has no phase prefix pattern in common conversation.

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:

  1. [Activity A] → produces [Artifact A]
  2. [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), no classification field

Foundation skills (cross-cutting, used across phases):

  • No phase
  • Directory: foundation-{skill-name}
  • Frontmatter: classification: foundation (required), no phase field
  • 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), no phase field
  • Use when: the skill operates on the repo, workflow, or other skills

Dialect and exemplar selection: First, pick the skill's dialect from Skeleton Canon: The Three Sanctioned Dialects (classic, contract-shaped, or tool-family) - this fixes the required heading skeleton before any exemplar is chosen. Do not default to "mirror the closest exemplar": an exemplar can itself carry drift (a case variant, an extra or missing section), and a straight mirror copies that drift forward into the new skill.

Then identify 1-2 existing skills in the SAME dialect that are the closest structural match:

  • Same phase > same category > similar artifact type
  • Read their SKILL.md to confirm instruction style, output-contract wording, and quality-checklist pattern (the canon fixes the required headings; the exemplar informs everything else - tone, step granularity, and any skill-specific extra sections)
  • Name the exemplars explicitly: "Modeled after [skill] - same phase, [category] category, [dialect] dialect"

Present the classification, dialect, and exemplar selection for user confirmation.

Step 4.5: Eval Readiness (the eval contract)

A new skill must ship eval-ready so coverage never falls behind: routing health and output quality are both measurable from day one. Decide the eval contract here, then emit its assets in Step 5. Four parts:

A. Nearest neighbors (C-2). Name the new skill's 1-3 nearest neighbors - the existing skills whose triggers most overlap. Derive them from the Step 2 gap analysis plus same-phase / same-category siblings. These neighbors drive the boundary pointers (below), the near-miss trigger fixtures (Step 5), and the collision probe (Step 7).

B. Reciprocal boundary pointers (C-3). The draft SKILL.md MUST include a ## When NOT to Use section that names each neighbor and says when to use that neighbor instead. For every neighbor, also add the reciprocal pointer back: a "When NOT to Use" bullet in the neighbor's SKILL.md pointing to the new skill. If the overlap is strong enough to be a measured collision pair, add the pair to COLLISION_PAIRS in scripts/check-trigger-fixtures.mjs so the reciprocity gate (check-reciprocal-boundary-pointers.mjs) and the collision probe both cover it. Reciprocal pointers are what kept the v2.26.0 rewrites collision-clean.

C. Output-eval family (C-4). Map the skill to an output-eval family rubric so its artifact quality is measurable. Pick by phase/category:

Family rubricCovers (phase / kind)
framingdefine-* problem/hypothesis/jtbd/opportunity/prioritization + foundation-okr-writer/persona/lean-canvas
specificationdeliver-* prd/acceptance-criteria/user-stories/edge-cases/launch-checklist
discoverydiscover-* interview-synthesis/competitive/market-sizing/journey/stakeholder
technicaldevelop-* adr/design-rationale/solution-brief/spike-summary
measurementmeasure-* experiment-design/results/okr-grader/dashboard/instrumentation/survey
learningiterate-* retrospective/lessons-log/pivot-decision/refinement-notes
communicationaudience-facing: deliver-release-notes, foundation-stakeholder-update

Family rubrics live at docs/internal/eval-rubrics/{family}.md. If the skill fits a family that has a rubric, use that family value in the scenario frontmatter. If it opens a NEW family (meeting/tool skills have none yet), note "no family rubric yet - author one before the skill enters the output-eval roster" and skip the family value.

D. Fixture + scenario plan (C-1, C-4). Plan the two eval-asset files emitted in Step 5: a trigger-fixtures.json (routing) and an output-scenarios/<id>.md (output quality). Their shapes are specified in Step 5 items 13-14.

Present the neighbors + family + reciprocal-pointer plan for user confirmation before generating the packet.

Step 5: Generate Skill Implementation Packet

Produce the complete packet using references/TEMPLATE.md as the format. The packet includes:

  1. Decision - recommendation + Why Gate evidence (if applicable)
  2. Classification - type, phase (if domain), category, directory name
  3. Overlap Analysis - what was found, why this skill is still needed
  4. Exemplar Skills - which existing skills modeled, why
  5. 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.md Section 5.
  6. Draft SKILL.md - full content (not an outline), following the Step 4 dialect's canon heading skeleton and the chosen exemplars' instruction style
  7. Draft TEMPLATE.md - section headers with guidance comments
  8. Draft EXAMPLE.md - complete, realistic example (150-300 lines) with a specific PM scenario, every section filled, optional sections demonstrated both filled and skipped
  9. Draft Command - command frontmatter
  10. AGENTS.md Entry - exact text to add
  11. Validation Checklist - all CI rules checked against the draft
  12. Next Steps - local CI, testing, contribution workflow
  13. Draft trigger-fixtures.json (C-1, routing eval) - evals/trigger-fixtures.json: a JSON object { "schema": 1, "skill": "{name}", "runs_per_query": 3, "trigger_threshold": 0.5, "queries": [...] }. The queries array needs >= 16 total, >= 8 with "expect": "trigger" (drawn from the skill's real intents, NOT just artifact keywords - include intent-only asks) and >= 8 with "expect": "no-trigger", of which >= 2 are near-misses aimed at the Step 4.5 neighbors (mark them "near_miss_of": "{neighbor}"). Split each class ~60/40 across "split": "train" / "split": "validation". This is the B-4 fixture contract (scripts/check-trigger-fixtures.mjs).
  14. Draft output-scenario (C-4, output-quality eval) - evals/output-scenarios/{id}.md: frontmatter scenario: {id} / skill: {name} / family: {family from Step 4.5} / created: {date}, then a realistic input brief (>= 100 chars of body) that gives the skill arm and a freehand control the same raw material. This is the B-7 asset contract (scripts/check-output-eval-assets.mjs). Omit family only if Step 4.5 found no rubric yet.
  15. Draft HISTORY.md - HISTORY.md with the summary table and one baseline row for the skill's first version (Type baseline), plus a ## 1.0.0 section stating the contract that version establishes. Every skill at 1.0.0 or later ships with this file from its first version, so the Release column records every version a release ships (docs/internal/skill-versioning.md, "Skill History"). Put the target release in the Release column, or - if none is assigned yet.

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
├── HISTORY.md             ← draft version history (baseline row)
├── references/
│   ├── TEMPLATE.md        ← draft template
│   └── EXAMPLE.md         ← draft example
├── evals/
│   ├── trigger-fixtures.json        ← draft routing fixtures (C-1)
│   └── output-scenarios/{id}.md     ← draft output-quality scenario (C-4)
└── 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 fileCanonical location
_staging/pm-skill-builder/{skill-name}/SKILL.mdskills/{dir-name}/SKILL.md
_staging/pm-skill-builder/{skill-name}/HISTORY.mdskills/{dir-name}/HISTORY.md
_staging/pm-skill-builder/{skill-name}/references/TEMPLATE.mdskills/{dir-name}/references/TEMPLATE.md
_staging/pm-skill-builder/{skill-name}/references/EXAMPLE.mdskills/{dir-name}/references/EXAMPLE.md
_staging/pm-skill-builder/{skill-name}/evals/trigger-fixtures.jsonskills/{dir-name}/evals/trigger-fixtures.json
_staging/pm-skill-builder/{skill-name}/evals/output-scenarios/{id}.mdskills/{dir-name}/evals/output-scenarios/{id}.md
_staging/pm-skill-builder/{skill-name}/command.mdcommands/{command-name}.md

Where {dir-name} is the classification-prefixed directory (e.g., deliver-change-communication).

Then:

  1. Create the target directories: skills/{dir-name}/references/ and skills/{dir-name}/evals/output-scenarios/
  2. Copy each file to its canonical location
  3. Append the AGENTS.md entry from the packet; if Step 4.5 declared a collision pair, add it to COLLISION_PAIRS in scripts/check-trigger-fixtures.mjs and add the reciprocal "When NOT to Use" bullet to each neighbor's SKILL.md
  4. Run CI validation: bash scripts/lint-skills-frontmatter.sh && bash scripts/validate-agents-md.sh && bash scripts/validate-commands.sh, then the eval-asset gates node scripts/check-trigger-fixtures.mjs, node scripts/check-output-eval-assets.mjs, node scripts/check-reciprocal-boundary-pointers.mjs, and the collision probe node scripts/check-new-skill-collision.mjs --skill={name} (C-2 - confirms the new skill recalls its own triggers and steals none of a neighbor's). Regenerate the catalog surfaces: node scripts/gen-skill-manifest.mjs && node scripts/gen-skill-manifest.mjs --agents
  5. If validation passes, delete the staging folder: _staging/pm-skill-builder/{skill-name}/
  6. 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

Do not hand-maintain a skill inventory in this file. A static table here has drifted from the real catalog before (most recently: an entire family untracked, plus a missing row in another) because every new or removed skill would require a hand edit here too. Instead, derive the live inventory at run time, every time, from one of:

  • skill-manifest.json (repo root) - generated, machine-readable; every skill's name, classification, phase (if any), category, and description.
  • AGENTS.md - generated, human-browsable; the same catalog grouped by family with a short description per skill.

Both are regenerated by node scripts/gen-skill-manifest.mjs (and --agents) whenever a skill is added, changed, or removed, so they track skills/ on disk exactly - unlike a hand-written table, they cannot drift.

The families, for orientation (no counts kept here on purpose - read the manifest for the current total):

FamilyPhase-scoped?Directory prefixCovers
DomainYes (discover/define/develop/deliver/measure/iterate){phase}-PM activities scoped to one Triple Diamond phase
FoundationNofoundation-Cross-cutting artifacts used across phases (canvases, personas, OKRs, meeting artifacts, stakeholder communication, pre-build risk review)
UtilityNoutility-Meta/tooling skills that operate on the repo, workflow, or other skills (this skill is one)
ToolNotool-Workshop facilitation formats (Foundation Sprint family, Design Sprint family, standalone facilitation formats)

For gap analysis (Step 2), read skill-manifest.json or AGENTS.md in full - all four families, not just domain and foundation - before judging overlap. The tool family is the easiest to miss because none of its skills share a phase name with the idea being pitched.

Output Contract

The builder MUST produce draft files for the new skill:

  • SKILL.md - full skill instructions (including a When NOT to Use section naming neighbors, C-3)
  • HISTORY.md - version history with a baseline row for the first version
  • references/TEMPLATE.md - output template with guidance comments
  • references/EXAMPLE.md - complete worked example (150-300 lines)
  • evals/trigger-fixtures.json - routing eval fixtures (C-1; B-4 contract)
  • evals/output-scenarios/{id}.md - output-quality scenario + family rubric (C-4; B-7 contract)
  • 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)

  • name matches directory name
  • Description is 20-100 words (single-line, no multiline YAML)
  • license present at the top level, and version and updated present under metadata:, never at the top level (lint-skills-frontmatter.sh rejects a top-level version, updated, phase or classification)
  • Classification correct, under metadata: (domain → phase:, foundation/utility/tool → classification:, never both)
  • 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
  • HISTORY.md has a baseline row for the first version and a matching ## 1.0.0 section
  • Output contract is present in draft SKILL.md
  • Quality checklist is present in draft SKILL.md

Eval contract (C-1..C-4; ship eval-ready)

  • Nearest neighbors named (C-2); When NOT to Use section points to each
  • Reciprocal "When NOT to Use" pointer added back from each neighbor (C-3); collision pair added to COLLISION_PAIRS if strong overlap
  • evals/trigger-fixtures.json present and meets the B-4 contract (>=16 queries, >=8/class, >=2 near-misses, train/validation split)
  • evals/output-scenarios/{id}.md present with scenario/skill/family frontmatter mapping to an existing rubric (or family deferred with a noted reason)
  • Collision probe run, key-free: check-new-skill-collision.mjs --skill={name} --emit-tasks, then dispatch the pm-skill-router sub-agent (Haiku) over the emitted queries and apply the verdict; the new skill recalls its triggers and steals none of a neighbor's. (Unattended CI may instead use the Messages-API path with ANTHROPIC_API_KEY.)

Examples

See references/EXAMPLE.md for a completed Skill Implementation Packet demonstrating a realistic domain skill creation.

FAQ

What does the utility-pm-skill-builder skill do?

Guides contributors from a PM skill idea to a complete Skill Implementation Packet aligned with pm-skills conventions. Runs gap analysis, validates through a Why Gate, classifies by type and phase, generates draft files, and writes to a staging area for review before promotion.

How do I install utility-pm-skill-builder?

Run npx skills add https://github.com/product-on-purpose/pm-skills --skill utility-pm-skill-builder in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/utility-pm-skill-builder/ (personal) or .claude/skills/utility-pm-skill-builder/ (project).

Which AI agents can use utility-pm-skill-builder?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is utility-pm-skill-builder safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains utility-pm-skill-builder?

It is published by product-on-purpose in product-on-purpose/pm-skills. It has 709 recorded installs.

More from product-on-purpose/pm-skills

View all →

deliver-acceptance-criteria

product-on-purpose/pm-skills

Generates structured Given/When/Then acceptance criteria for a user story or feature slice, covering the happy path, key failure scenarios, and non-functional expectations in testable form. Use when turning requirements into verifiable scenarios for engineering handoff and QA sign-off. For a dedicated catalog of boundary conditions, error states, and recovery paths across a feature, use deliver-edge-cases; to write the stories themselves, use deliver-user-stories.

Testing & QA1.1K installs

deliver-prd

product-on-purpose/pm-skills

Creates a comprehensive Product Requirements Document that aligns stakeholders on what to build, why, and how success will be measured. Use when specifying features, epics, or product initiatives for engineering handoff.

deliver-user-stories

product-on-purpose/pm-skills

Generates user stories in the standard persona, action, benefit story format from product requirements or feature descriptions. Use when breaking a feature into stories for sprint planning, writing tickets, or communicating scope to engineering. For testable Given/When/Then acceptance criteria on a story, use deliver-acceptance-criteria; for boundary and failure scenarios, use deliver-edge-cases.

deliver-edge-cases

product-on-purpose/pm-skills

Documents edge cases, error states, boundary conditions, race conditions, and recovery paths for a feature - the systematic catalog of what can go wrong and the failure modes to design for. Use during specification to map the failure surface and ensure comprehensive coverage, or during QA planning to identify boundary and limit scenarios to test. Distinct from deliver-acceptance-criteria, which writes story-level Given/When/Then checks; this skill produces the whole-feature edge-case catalog.

Testing & QA878 installs

discover-competitive-analysis

product-on-purpose/pm-skills

Creates a structured competitive analysis comparing features, pricing, and positioning across 3-5 direct and indirect competitors, with a 2x2 map and actionable strategic recommendations. Use before entering a market, planning differentiation, or after losing deals. For market size rather than competitor positioning, use discover-market-sizing instead.

define-problem-statement

product-on-purpose/pm-skills

Creates a clear problem framing document with user impact, business context, and success criteria. Use when starting a new initiative, realigning a drifted project, or communicating up to leadership.

Business & Finance821 installs

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.