スキル一覧に戻る

utility-pm-skill-builder

product-on-purpose
更新日 Yesterday
1 閲覧
238
33
238
GitHubで表示
メタdesign

について

このユーティリティスキルは、新規PMスキルの作成を自動化し、貢献者が初期アイデアから完全に構造化されたスキル実装パケットに至るまでをガイドします。ギャップ分析、検証、分類を実行した後、ドラフトファイルを生成し、レビュー用ステージングエリアに配置します。開発者はこれを使用して、新規スキルがpm-skillsライブラリの規約に正しく準拠していることを確認した上で、プロモーションを行います。

クイックインストール

Claude Code

推奨
メイン
npx skills add product-on-purpose/pm-skills -a claude-code
プラグインコマンド代替
/plugin add https://github.com/product-on-purpose/pm-skills
Git クローン代替
git clone https://github.com/product-on-purpose/pm-skills.git ~/.claude/skills/utility-pm-skill-builder

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

<!-- 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 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:

  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

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:

  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), mirroring exemplar structure
  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

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 fileCanonical location
_staging/pm-skill-builder/{skill-name}/SKILL.mdskills/{dir-name}/SKILL.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}/command.mdcommands/{command-name}.md

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

Then:

  1. Create the target directory: skills/{dir-name}/references/
  2. Copy each file to its canonical location
  3. Append the AGENTS.md entry from the packet
  4. Run CI validation: bash scripts/lint-skills-frontmatter.sh && bash scripts/validate-agents-md.sh && bash scripts/validate-commands.sh
  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

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)

PhaseSkillCategoryDescription
discovercompetitive-analysisresearchStructured competitive landscape analysis
discoverinterview-synthesisresearchUser research interview synthesis
discoverstakeholder-summaryresearchStakeholder needs and influence mapping
definehypothesisideationTestable hypothesis with success metrics
definejtbd-canvasproblem-framingJobs to Be Done canvas
defineopportunity-treeproblem-framingOpportunity solution tree
defineproblem-statementproblem-framingClear problem statement with success criteria
developadrspecificationArchitecture Decision Record
developdesign-rationalespecificationDesign decision reasoning
developsolution-briefideationOne-page solution overview
developspike-summarycoordinationTechnical/design spike results
deliveracceptance-criteriaspecificationGiven/When/Then acceptance criteria
deliveredge-casesspecificationEdge cases and error states
deliverlaunch-checklistcoordinationPre-launch checklist
deliverprdspecificationProduct Requirements Document
deliverrelease-notescoordinationUser-facing release notes
deliveruser-storiesspecificationUser stories with acceptance criteria
measuredashboard-requirementsvalidationAnalytics dashboard spec
measureexperiment-designvalidationA/B test or experiment design
measureexperiment-resultsreflectionExperiment results and learnings
measureinstrumentation-specvalidationEvent tracking specification
measureokr-graderreflectionOKR cycle-close scoring at the KR level
iteratelessons-logreflectionStructured lessons learned
iteratepivot-decisionreflectionPivot or persevere decision
iteraterefinement-notescoordinationBacklog refinement outcomes
iterateretrospectivereflectionTeam retrospective

Foundation Skills (8)

SkillCategoryDescription
lean-canvasproblem-framingOne-page lean canvas across nine interlocking blocks
meeting-agendameetingAttendee-facing pre-meeting agenda
meeting-briefmeetingPrivate pre-meeting strategic preparation
meeting-recapmeetingPost-meeting summary with decisions and actions
meeting-synthesizemeetingCross-meeting pattern synthesis from multiple recaps
okr-writercoordinationOutcome-based OKR set authoring with coaching
personaresearchEvidence-calibrated product or marketing persona
stakeholder-updatemeetingAsync stakeholder communication for non-attendees

Utility Skills (6)

SkillCategoryDescription
mermaid-diagramsdocumentationMermaid diagram authoring with syntax validation
pm-skill-buildercoordinationThis skill
pm-skill-iteratecoordinationTargeted improvements to an existing skill
pm-skill-validatecoordinationAudit a skill against structural conventions and quality criteria
slideshow-creatorcommunicationJSON-spec presentation generation across 18 slide types
update-pm-skillscoordinationCheck for and apply pm-skills releases locally

Output Contract

The builder MUST produce draft files for the new skill:

  • SKILL.md . full skill instructions
  • references/TEMPLATE.md . output template with guidance comments
  • references/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)

  • name matches directory name
  • Description is 20-100 words (single-line, no multiline YAML)
  • version, updated, license all 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.

GitHub リポジトリ

product-on-purpose/pm-skills
パス: skills/utility-pm-skill-builder
0
agent-skillsai-skillsclaude-codeclaude-desktopdesign-sprintfoundation-sprint

関連スキル

content-collections

メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る

polymarket

メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る

creating-opencode-plugins

メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る

sglang

メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る