pm
Product Manager orchestrator. Use when someone asks to scan code for features, crawl docs for epics, interview about a new feature, add requirements, check product coverage, audit staleness, or publish a product spec.
What this skill does
# PM — Product Manager Orchestrator skill. Parses intent, dispatches to focused sub-skills, tracks coverage. Never writes content or DB records directly. ## Files Referenced - **Database:** `.claude/db/marketing.sqlite` - **Schema:** Managed by `/pm-preflight` — see `skills/pm-preflight/schema.sql` - **Queries:** Reference queries in `skills/pm-preflight/queries.sql` ## Invocation Product code is optional when only one product exists in the database. Natural language: ``` /pm scan this codebase and write the epics and features /pm crawl ./src/ ./docs/api.md https://docs.example.com /pm interview me about a new feature /pm I need a new feature. When X happens we want Y /pm voice new feature /pm status /pm audit /pm webtool /pm publish ``` ## Steps 1. **Run preflight.** Invoke `/pm-preflight`. If it fails, STOP. 2. **Detect product.** If the user provided a product code, use it. Otherwise auto-detect: ```sql SELECT code FROM our_products; ``` If exactly one product exists, use it. If multiple, ask the user which one. 3. **Parse intent.** Detect mode from the user's text: | Keywords | Mode | |----------|------| | scan, crawl, read, discover, learn | Crawl | | interview, add, new, I need, I want | Interact | | voice | Voice (activate VoiceMode, then Interact) | | status, dashboard, coverage | Status → invoke `/pm-status` and stop | | audit, stale, check | Audit → invoke `/pm-auditor` and stop | | publish | Publish → invoke `/pm-publish` and stop | | webtool, web, review, approve | WebTool → invoke `/pm-webtool` and stop | 4. **Dispatch pipeline.** Based on mode, run the appropriate pipeline below. 5. **Report results.** Show the summary and coverage gaps (see Output Format). ## Crawl Pipeline Dispatch in order. Each step feeds the next: 1. Invoke `/pm-epic <product> crawl <sources>` — identify epics from source material 2. For each epic created, invoke `/pm-feature <product> crawl <epic-uuid>` 3. For each feature created, invoke `/pm-requirement <product> crawl <feature-uuid>` 4. For each requirement created, invoke `/pm-test <product> crawl <requirement-uuid>` 5. Invoke `/pm-iterator` if repeated value lists were detected during steps 1-4 6. Invoke `/pm-auditor <product>` — verify dependency chain integrity All results land with `human_approved = 0`. ## Interact Pipeline 1. Determine what the human wants to add/edit from their natural language 2. Dispatch to the right skill: - Epic-level talk → `/pm-epic <product> add` - Feature-level talk → `/pm-feature <product> add <epic-uuid>` (ensure epic exists first) - Requirement-level talk → `/pm-requirement <product> add <feature-uuid>` (ensure feature exists first) - Test descriptions → `/pm-test <product> add <requirement-uuid>` - Value lists → `/pm-iterator <product> create ...` 3. If the human describes something at the wrong level (e.g., requirement-level detail when no feature exists), work upward: create the epic first, then the feature, then the requirement. ## Output Format After every pipeline completes, report: ``` PM Summary: Myriplay -------------------------------------------- Created: 3 epics, 12 features, 28 requirements, 28 tests Mode: crawl (./src/) Coverage Gaps: [!] Feature "WebSocket streaming" has 0 requirements [!] Requirement "Compact layout threshold" has no test [!] 2 features stale (parent epic updated) Next Steps: - Review unapproved items in WebTool - Run /pm myriplay audit for full staleness report ``` If no gaps exist, say: `Coverage: 100% — all epics have features, all features have requirements, all requirements have tests.` ## Coverage Queries ```sql -- Epics without features SELECT e.id, e.name FROM epics e LEFT JOIN product_features pf ON pf.epic_id = e.id WHERE e.product_id = :pid AND pf.id IS NULL; -- Features without requirements SELECT pf.id, pf.short_desc FROM product_features pf LEFT JOIN requirements r ON r.feature_id = pf.id WHERE pf.product_id = :pid AND r.id IS NULL; -- Requirements without tests SELECT r.id, r.title FROM requirements r JOIN product_features pf ON pf.id = r.feature_id LEFT JOIN product_feature_tests t ON t.requirement_id = r.id WHERE pf.product_id = :pid AND t.id IS NULL; ``` ## Edge Cases - **Ambiguous input:** If you can't determine the mode, ask the user: "Are you looking to scan existing code/docs, or describe something new?" - **Sub-skill failure:** If a sub-skill fails (e.g., sqlite3 error mid-pipeline), report what succeeded and what failed. Do not retry automatically — surface the error. - **Partial data:** If the human provides a feature without mentioning an epic, ask which epic it belongs to or offer to create one. Never create orphaned features. - **Empty crawl results:** If scanning produces zero epics, tell the user and suggest a different source or switching to interact mode. ## Rules 1. **Never write to DB directly.** Delegate to sub-skills. 2. **Never set `human_approved`.** Only WebTool or explicit human action does that. 3. **Always run preflight first.** 4. **Always report coverage gaps** after completing work. 5. **Work top-down.** Epics before features before requirements before tests. 6. **Every feature must belong to an epic.** If none exists, create one first.
Related in Security
mac-ops
IncludedComprehensive macOS workstation operations — diagnose kernel panics, identify failing drives, audit launchd startup items, decode wake reasons, triage TCC permission denials, manage APFS snapshots, recover from no-boot. Use for: Mac is slow, slow bootup, won't boot, kernel panic, kernel_task hot, mds_stores CPU, photoanalysisd, cloudd, login loop, gray screen, sleep wake failure, drive failing, IO errors, APFS snapshots eating space, Time Machine local snapshots, Spotlight indexing, launchd, LaunchAgent, LaunchDaemon, login items, TCC permissions, Full Disk Access, Screen Recording denied, Gatekeeper, quarantine, com.apple.quarantine, app is damaged, helper tool, /Library/PrivilegedHelperTools, pmset, wake reasons, dark wake, sysdiagnose, panic.ips, DiagnosticReports, configuration profile, MDM profile, remote diagnostics over SSH.
a11y-audit
IncludedRun accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions "accessibility audit", "a11y audit", "WCAG audit", "accessibility check", "compliance scan", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA/AODA).
erpclaw
IncludedAI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 413 actions across 14 domains, 43 expansion modules. Constitutional guardrails, adversarial audit, schema migration. Double-entry GL, immutable audit trail, US GAAP.
assess
IncludedAssesses and rates quality 0-10 across multiple dimensions (correctness, maintainability, security, performance, testability, simplicity) with pros/cons analysis. Compares against project conventions and prior decisions from memory. Produces structured evaluation reports with actionable improvement suggestions. Use when evaluating code, designs, architectures, or comparing alternative approaches.
spring-boot-security-jwt
IncludedProvides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based access control using Spring Security 6.x. Use when implementing authentication or authorization in Spring Boot applications.
code-hardcode-audit
IncludedDetect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.