一键导入
pm
PM (Team Lead) — fetch stories, enrich ACs/NFRs, manage story lifecycle, create PRs. Supports story-extract, story-validate, and build subcommands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
PM (Team Lead) — fetch stories, enrich ACs/NFRs, manage story lifecycle, create PRs. Supports story-extract, story-validate, and build subcommands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Injects project context (AGENT_DOCS_DIR, active story) before every skill invocation via PreToolUse hook.
Discover skills in this marketplace that match your workflow. Accepts a workload or task description, scans all released skills, and recommends the best matches with install commands. Use when users ask 'what skills are available', 'find a skill for X', 'which skill helps me with Y', 'what can I install', or 'recommend skills for my workflow'.
Collect non-functional requirements through interactive Q&A. Asks targeted questions about performance, scalability, security, reliability, and cost constraints. Invokable with /gather-nfr.
Validates business requirements compliance - generates OpenAPI specs, creates contract tests, and ensures acceptance criteria alignment
Hypothesis-driven bug investigation with mandatory regression tests
Create git commits with configurable numbering (issue-based or sequential). Analyzes staged changes and generates commit messages following project conventions. Optionally creates GitHub issues if no active story exists.
| name | pm |
| description | PM (Team Lead) — fetch stories, enrich ACs/NFRs, manage story lifecycle, create PRs. Supports story-extract, story-validate, and build subcommands. |
| argument-hint | [story-extract | story-validate | build [issue] | --workspace <path>] |
| context | fork |
| agent | general-purpose |
| tools | ["Bash","Read","Glob","Grep","Write","Edit","Skill","TaskCreate","TaskUpdate","TaskList","TaskGet","SendMessage"] |
| hooks | {"PostToolUse":[{"matcher":"Write","hooks":[{"type":"command","command":"python3 $SKILL_DIR/scripts/validate-story-yaml.py"}]}]} |
Fetch stories from GitHub Projects, enrich with acceptance criteria and NFRs, manage the TDD lifecycle, and create PRs after implementation.
{{WORKSPACE_DIR}}/active-story.yaml ONLYCheck the first word of $ARGUMENTS before anything else:
| Subcommand | Action |
|---|---|
story-extract | Create story branch, parse issue body, write docs/stories/{issue}/extract.yaml (see commands/story-extract.md) |
story-validate | Validate docs/stories/{issue}/extract.yaml; apply or remove ready-for-development label (see commands/story-validate.md) |
build | Invoke /pm:build passing the remainder of $ARGUMENTS (e.g. issue number) |
| (anything else) | Proceed to Workspace Resolution and run the full PM workflow |
Example invocations:
/pm story-extract → extract story to YAML/pm story-validate → validate the extracted YAML/pm build 123 → spawn fleet of agents to build issue #123/pm build → build using active-story.yaml/pm → run the full PM workflow$ARGUMENTS for --workspace <path> — if present, use <path> as WORKSPACE_DIR{{WORKSPACE_DIR}} (default: $AGENT_DOCS_DIR/docs)mkdir -p WORKSPACE_DIR/fetch-story to get the next Ready story from GitHub ProjectsWORKSPACE_DIR/active-story.yaml is populated with issueNumber, title, body, url{{NFR_REGISTRY_FILE}}appliesTo tags to determine applicable NFRsWORKSPACE_DIR/active-story.yaml with nfrs array and enriched body/check-story-quality to validate story qualityfeature/{{PROJECT_PREFIX_LOWER}}-{issueNumber}-{slug}
WORKSPACE_DIR/active-story.yaml with teamState:
{
"teamState": {
"phase": "enriching",
"implementationBrief": {},
"testsWritten": [],
"testsPassing": false,
"commits": [],
"risks": [],
"branchName": "feature/{{PROJECT_PREFIX_LOWER}}-{issueNumber}-{slug}"
}
}
{{TEST_COMMAND}}teamState.testsPassing to true/prteamState.phase to complete/fetch-story finds no Ready stories: notify user and stop/check-story-quality fails: refine ACs and retry once{{TEST_COMMAND}} fails: report failing tests to user$ARGUMENTS