بنقرة واحدة
validate
Validate one or more PM files against quality and frontmatter standards
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Validate one or more PM files against quality and frontmatter standards
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Co-create a customer interview guide using Mom Test principles
Transform a feature idea or stakeholder request into an outcome brief using a 4-stage framework: behavior hypothesis, risk identification, cheap experiment design, and metric definition. Use this skill when the user shares a feature idea, a stakeholder request, a PRD, a spec, or any document describing something to build and wants to pressure-test it before committing engineering capacity. Trigger on phrases like "outcome brief", "analyze this feature", "is this worth building", "test this idea", "brief this", "run the 4 questions", or when the user pastes a feature description and asks for critical analysis. Requires an input: a feature idea, document, or stakeholder request to analyze.
Convert a spec into a task breakdown (local, for review before syncing)
Produce a strategic intelligence report covering industry trends, competitive benchmarks, and opportunity mapping. Use when the PM wants market research, competitive analysis, or strategic landscape overview. Trigger on phrases like "research", "competitive analysis", "market landscape", "industry trends", or when the user wants to understand the competitive environment before building.
Conduct a structured PM interview to gather requirements, then write a complete spec document ready for development. Use this skill whenever a PM wants to spec out a feature, write up product requirements, plan what needs to be built, or turn a rough idea into a formal spec. Trigger on phrases like "spec out", "write a spec", "document requirements", "plan this feature", or when a PM describes something they want to build.
Push local tasks and tickets to GitHub Issues, Jira Cloud, or Asana
| name | validate |
| description | Validate one or more PM files against quality and frontmatter standards |
| argument-hint | <file-path> [file-path ...] |
| model | opus |
| allowed-tools | Read |
Arguments: $ARGUMENTS
Expected format: one or more file paths to validate (e.g., acme/tasks/onboarding/build-wizard.md)
Parse $ARGUMENTS as a list of file paths. If no arguments are given, stop: "Usage: /pm:validate [file-path ...]"
For each rule, check for a project override first:
.claude/overrides/rules/task-quality.md exists, Read it; otherwise Read ~/.claude/pm/rules/task-quality.md..claude/overrides/rules/frontmatter.md exists, Read it; otherwise Read ~/.claude/pm/rules/frontmatter.md..claude/overrides/rules/interview-quality.md exists, Read it; otherwise Read ~/.claude/pm/rules/interview-quality.md.Follow override versions where they exist; fall back to the global defaults from ~/.claude/pm/rules/.
For each file path provided:
type field in frontmatter (task, ticket, spec, interview).Apply the standards from the interview-quality rule loaded in setup (override if present, default otherwise). Summary of gates:
goal frontmatter field must be non-empty and not placeholder text.customer_segment field must be non-empty and not placeholder text.## Core questions section.**Intention:** field.Interview validation failures are reported as warnings. They do not block sync (interviews are never synced).
## Description section must exist and contain real content. Placeholder text ("TBD", "TODO", "placeholder") fails this gate.## Acceptance criteria. Unchecked (- [ ]) or checked (- [x]) both count.size field in frontmatter must be one of: XS, S, M, L. Empty or missing fails.spec_section field must be present and non-empty. This is the traceability link to the spec.priority field is present and non-empty, it must be one of: high, medium, low. Any other value (e.g., "P1", "critical", "1") fails this gate.task and ticket files only: sync_url and sync_id must be blank (empty value, not missing key). For backward compatibility, also accept github_url and github_id as equivalent field names if sync_url/sync_id are not present. Interview and spec files do not have these fields.After checking all files, return a structured result.
If all files pass:
Validation passed: [N] file(s) checked, all OK.
If any file fails, list each failure clearly:
Validation failed:
acme/tasks/onboarding/build-wizard.md
- Title does not start with a verb: "Onboarding wizard setup"
- Missing acceptance criteria (found 1, need at least 2)
acme/tickets/export-csv.md
- Description contains placeholder text: "TBD"
- Size is not set
[N] file(s) checked. [M] passed, [K] failed.
Stop after reporting. Do not attempt to fix files automatically unless the calling skill explicitly asks you to fix them.