Skill v1.0.0
currentAutomated scan100/100version: "1.0.0" name: score description: Document implementation changes - audit finished code and update docs, README, CHANGELOG, and the living system-behavior view for shipped features; invoked by orchestrate at Phase 3, via "/score PLAN-001" for one plan, or "/score" alone for batch mode argument-hint: "[plan ID/code] (optional — omit to process all pending finished plans)"
Document Implementation Changes
Maintain the single source of truth for repository documentation, API changes, and developer onboarding instructions by updating technical documentation to reflect implemented features.
Pre-flight
{{WORKSPACE}}= workspace root. Resolve once per session and reuse:git rev-parse --show-toplevel; fall back to cwd outside a git repo.- Before your first write, read
{{WORKSPACE}}/{{MAESTRO_CONFIG}}/references/conventions.md— statuses, retries, artifact paths, and file ownership are defined there and are binding. - Working folder:
{{WORKSPACE}} - Target folders:
{{WORKSPACE}}/docs/,{{WORKSPACE}}/README.md,{{WORKSPACE}}/CHANGELOG.md,{{WORKSPACE}}/knowledge/system-behavior.md, plus bookkeeping writes defined inconventions.md(the Plan'sDocs Updatedfield and the Plans Index docs marker) - Required input:
PlanID/code from orchestrate, OR no argument (batch mode — processes all pending finished plans)
References
Read reference specs on-demand when the workflow requires them — do NOT read all upfront.
Always needed
- `Plan`: Read
{{WORKSPACE}}/{{MAESTRO_CONFIG}}/references/plan.md— for Plan format, milestone fields, and status management - `Plans Index`: Read
{{WORKSPACE}}/{{MAESTRO_CONFIG}}/references/plans-index.md— for index lookup and status updates - `System Behavior`: Read
{{WORKSPACE}}/{{MAESTRO_CONFIG}}/references/system-behavior.md— for the current-state file's format before harvesting shipped behavior
On-demand (read only when needed)
- `Repo Fingerprint`: Read
{{WORKSPACE}}/knowledge/repo-fingerprint.md(the working file) — only if the Plan introduced new tech that should be reflected in the fingerprint - `Tech Preferences`: Read
{{WORKSPACE}}/{{MAESTRO_CONFIG}}/references/tech-preferences.md— only if documentation standards or formatting are ambiguous
Cross-references
For how references relate to each other, see {{WORKSPACE}}/{{MAESTRO_CONFIG}}/references/references-map.md.
Validation
- If a
PlanID/code is provided: verify it exists inPlans Indexand either has the✅⏳marker (done, docs pending) or the✅marker with an explicit behavior-harvest request (orchestrate Phase 3, or the user) — shipped behavior gets harvested even when user docs were unaffected. If the entry has✅📝and no harvest request, inform the user and exit - If no
PlanID/code is provided (batch mode): scanPlans Indexfor all entries with the✅⏳marker. If none found, inform the user and exit
Core Workflow
Mode Selection
- Determine Mode: Check if a
PlanID/code was provided
- Single mode: Process one specific plan
- Batch mode: No argument provided — process all pending finished plans sequentially
Single Plan Mode
- Resolve Plan: Read the
Plans Indexat{{WORKSPACE}}/plans/index.mdto find the fullPlanfilename for the givenPlanID/code - Read Plan: Construct the full
Planfile path and read thePlanfile to understand the implemented changes - Analyze Changes: Review the
Plan's development specifications, user flows, and any API changes to understand what documentation needs updating - Update Documentation: Update the relevant documentation files based on the implemented changes:
- Technical manuals and guides in
{{WORKSPACE}}/docs/ - API documentation if endpoints changed
{{WORKSPACE}}/README.mdif user-facing features changed{{WORKSPACE}}/CHANGELOG.mdif significant changes occurred
- Harvest System Behavior: Distill what the Plan shipped into
{{WORKSPACE}}/knowledge/system-behavior.mdfollowing theSystem Behaviorspec — user-visible capabilities and contracts, one section per domain, rewritten in place, provenance line updated. Runs on every completed Plan regardless ofDocs Affected - End-User Documentation: Ask: "Does this feature need end-user documentation (rules, tutorial, guide)?" If yes, create or update files under
{{WORKSPACE}}/docs/— written for the end user, not the developer. Internal refactors skip this naturally. - Handle Screenshots: If the
Planincludes visual changes, copy relevant screenshots into{{WORKSPACE}}/docs/screenshots/and embed them in the documentation. Source only paths reported byaudition's result summary (baselines undertests/screenshots/baselines/, runtime shots undertest-results/) — never assume a location - Mark Documentation Updated: Update the
Planfile'sDocs Updatedfield totruewhen docs were affected, and replace⏳with📝in thePlans Index(e.g.,✅⏳→✅📝)
Batch Mode
- Scan Plans Index: Read
{{WORKSPACE}}/plans/index.mdand identify all plans with the✅⏳marker (done, docs pending) - Process Each Plan: For each pending plan, execute the Single Plan Mode workflow (steps 1-8 above)
- Summary: After processing all plans, output a summary of which plans were documented and what files were updated
Quality Checklist
Before completing the documentation updates:
- Input Validated:
PlanID verified (single mode) or pending plans identified (batch mode) - Plan Read: Successfully read and understood the implemented changes from the
Planfile - Changes Reflected: All implemented changes from the
Planare reflected in the documentation - API Accuracy: API changes are documented with accurate request/response formats
- User-Friendly Language: User-facing features are explained in clear, user-friendly language
- Screenshot Integration: Screenshots are properly embedded and referenced with correct paths
- No Placeholders: No placeholder text or TODO comments remain in documentation
- Link Validation: All relative paths and file references are correct
- Style Consistency: Documentation follows the project's established style and format
- Behavior Harvested: Shipped capabilities and contracts distilled into
knowledge/system-behavior.mdper theSystem Behaviorspec
Execution
Use the Plan ID/code if provided (single mode), or scan the Plans Index for pending plans (batch mode), then proceed with the workflow.