up-analyze
Check consistency between specs, phases, decisions, and traceability markers
- License 许可
- MIT
- 最近更新
- 2026-07-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- up-analyze
- description
- Check consistency between specs, phases, decisions, and traceability markers
03 SKILL.md 正文
Analyze project consistency
Run a read-only cross-reference scan of the documentation system and report findings. This skill never modifies files.
Procedure
-
Read all project docs:
- All spec files:
.unpack/docs/specs/*.md - All phase files:
.unpack/docs/phases/phase-*.md(skipphase-template.md) - Project memory:
.unpack/docs/_meta/project-memory.md - ADRs:
.unpack/docs/decisions/adr-*.md - Index:
.unpack/docs/index.md
- All spec files:
-
Run these checks:
Coverage — For each requirement, feature, or named entity in specs, check if at least one phase work item references it (via
[S:]markers or by content match). Report requirements with no phase coverage.Orphan tasks — If
[S:]markers are present, check for work items that reference spec sections that don't exist. Also flag work items with markers pointing to deleted or renamed sections.Stale references — Check phase
## Linkssections for spec files or sections that no longer exist.Decision lag — For each accepted decision in
project-memory.md, check if the relevant spec content is consistent. Flag cases where a decision says one thing but the spec still says the old thing.Dependency integrity — Check that every
depends_onentry in phase frontmatter references an existing phase that is notabandoned.Stuck phases — Flag phases that are
in_progressorblockedwith anupdateddate older than 7 days.Change log consistency — If specs have
## Change logentries, check that the referenced phase and decision IDs exist. -
Output findings to the console as a formatted report:
## Analysis Results ### <Check name> (N found) - Finding with specific file and section references ### Summary - X specs, Y phases, Z decisions scanned - N findings (breakdown by severity) - Recommendation (if any) -
Severity levels:
- High: coverage gaps, stale references, decision lag (things that could cause building the wrong thing)
- Medium: orphan tasks, stuck phases (things that indicate drift)
- Low: change log inconsistencies, missing markers (cosmetic / hygiene)
-
If no findings, report a clean bill of health.
-
Do not create files or modify anything. This is a diagnostic-only skill. If findings suggest action, recommend it but do not take it.
04 同仓库更多 Skills
up-status
Show project progress, phases, blockers, and the next runnable phase
up-snapshot
Export current project state as a portable markdown snapshot for external research
up-next
Execute the next runnable build phase
up-init
Initialize a new project from the Unpack template
up-extract-standards
Scan an example repo and extract its coding patterns into a standards file
up-document
Generate or update human-readable docs in guide/ (supports Mintlify)