pm-reflect
Purpose
Over time, PM units drift from the project's actual shape: units stay monolithic while work splits into subdomains, or units fragment into noise no one loads. This skill identifies structural mismatches so the user can decide whether to reorganize.
Preconditions
- PM has been initialized and has at least two units.
- At least one workflow has reached
donestate, so there is a work-pattern baseline to reflect against.
Required Reads
.agents/pm/pm-index.md-- unit registry with purpose and load-trigger metadata..agents/pm/pm-current-state.md-- active work areas and risks.- All unit files in
.agents/pm/units/. .agents/state/active-workflows.md-- current parallel work.- Up to 5 recent workflow
dossier.mdfiles from.agents/workflows/done/(select the most recent by directory name). .agents/improvement/failure-modes.md-- for patterns like "loaded far more PM than the task required."
Procedure
- Coverage gap analysis. List the major subsystems or work areas visible in active and recent-done workflows. For each, check whether a PM unit exists that covers it. Record uncovered areas.
- Granularity assessment. For each unit, count the number of distinct topics in its Current Truth section. If a single unit covers more than 3 unrelated topics, flag it as a split candidate. If two or more units cover the same narrow topic, flag them as merge candidates.
- Load-frequency estimate. For each unit, count how many of the recent workflow dossiers reference it (by name or by the subsystem it covers). Flag units referenced by zero workflows as potentially obsolete. Flag units referenced by every workflow as potentially too broad.
- Transient noise check. Scan each unit's Current Truth for statements that describe temporary states (e.g., "currently blocked on...", "waiting for PR...", version-pinned workarounds). Flag these as transient noise that belongs in a workflow packet, not PM.
- Default-load assessment. Ask whether the right unit is loaded by default. Read the
Always-Load column of pm-index.md and check three things:
- Is anything
true? A project with zero always-loaded units has no unit a fresh
session reads before it decides what else to read. That is a coverage gap, not a tidy
default — flag it and name the unit that looks most like the architecture overview.
- Is the right thing
true? The flag belongs on the unit that orients a reader who
knows nothing, which is usually one arch-overview. If it sits on a narrow code-nav
unit, or on several units at once, flag it: every true is paid for by every session.
- Has a
Type: arch-overviewunit been leftfalse? That is the common shape, because
Always-Load is set once at pm-init for the one overview it generates, and a project
whose overview arrived later — or was carved out by a split — never had it set.
This is a recommendation, like everything else this skill produces. Acting on it is
pm-restructure's or pm-update's job.
- Negative knowledge audit. Check whether any unit's Negative Knowledge section is empty. Cross-reference with
failure-modes.mdto see if known failure patterns should be captured as negative knowledge in specific units. - Compile recommendations. For each finding, state the specific unit name, the issue, and a concrete suggested action (split, merge, archive, extract, add negative knowledge).
Output
Write a reflection report to .agents/pm/reflection-report.md:
# PM Reflection Report
**Date:** YYYY-MM-DD
## Coverage Gaps
- <work area> -- no PM unit covers this
## Split Candidates
- <unit name> -- covers N unrelated topics: <list>
## Merge Candidates
- <unit A> + <unit B> -- both cover <topic>
## Potentially Obsolete Units
- <unit name> -- referenced by 0 recent workflows
## Transient Noise
- <unit name> :: "<quoted statement>" -- move to workflow packet
## Default-Load Assessment
Which unit, if any, is `Always-Load: true`; whether it is the right one; and any
`Type: arch-overview` unit left `false`.
## Missing Negative Knowledge
- <unit name> -- failure mode "<pattern>" from failure-modes.md not captured
## Recommendations
1. <concrete action>
Omit any section where no issues were found.
Completion Criteria
- Every existing PM unit has been assessed for granularity and load frequency.
- The report contains only concrete, actionable findings with unit names.
- Recommendations are suggestions, not changes. No PM files were modified.
- To execute structural recommendations (splits, merges, archives, creates), run
/pm-restructure.
Error Handling
- If fewer than 2 units exist, stop and report: "PM too small to reflect on. Build more units first."
- If no workflows have reached
done, skip load-frequency analysis and note it was skipped. - If
failure-modes.mdis empty or missing, skip the negative knowledge cross-reference and note it. - Do NOT modify any PM files. This skill produces a report only.