PM Manager
Spec-kit-inspired command pack for local .pm/ project governance.
When to use
- User says
/pm-init,/pm-status,/pm-next,/pm-done,/pm-fix,/pm-all,/pm-review,/pm-checkup,/pm-check,/pm-docs,/pm-journal,/pm-tests,/pm-outline,/pm-charter,/pm-export,/pm-arch - Natural language: initialize governance, what should I do today, full health check, help me with this error, this todo is done, review this diff, repair .pm
- Do not send users to
/pm-discover(internal to/pm-all)
How to execute
- Resolve command name from user message (see routing table in
memory/ROUTING.md). - Read the matching file under
templates/commands/<name>.mdand follow it exactly. - For
/pm-init, runpm init <project-root>(orscripts/python/create_pm_scaffold.py) before filling config. Then detect Spec Kit; if absent, draft.pm/prd/prd.mdand wait for user confirm. After confirm or skip, run the technical light scan (docs + arch) ininit.md§7. - Keep daily UX simple:
/pm-statuslists all open blocking+high todos (do not cap at 3); mention pending reviews; do not dump medium/low unless--verbose. - Never commit
.pm/; never print secrets. - Closing:
templates/commands/_closing.md— graded; only existing paths. Chinese when the user writes Chinese.
Command map
| User command | Template | Audience |
|---|---|---|
/pm-init | templates/commands/init.md | daily |
/pm-status | templates/commands/status.md | daily |
/pm-next | templates/commands/next.md | daily |
/pm-done | templates/commands/done.md | daily |
/pm-fix | templates/commands/fix.md | daily |
/pm-all | templates/commands/all.md | release |
/pm-review | templates/commands/review.md | quality |
/pm-checkup | templates/commands/checkup.md | quality |
/pm-check | templates/commands/check.md | recovery |
/pm-outline | templates/commands/outline.md | planning |
/pm-charter | templates/commands/charter.md | planning |
/pm-export | templates/commands/export.md | export |
/pm-arch | templates/commands/arch.md | maps |
/pm-docs | templates/commands/docs.md | docs |
/pm-journal | templates/commands/journal.md | journal |
/pm-tests | templates/commands/tests.md | quality |
/pm-discover | templates/commands/discover.md | internal |
Design baseline
Governing text: pack docs/prd.md + 宪章(中文优先)。


