analyze-mini
Skill6 starsChanged 3 months agoMITView on GitHub
Risk-triggered consistency checkpoint that detects when task artifacts, assumptions, or verification no longer support a safe build decision.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bug-captureSkill
- build-oneSkill
- ceremony-budgetSkill
- checklist-miniSkill
- constitution-liteSkill
- context-checkSkill
- diagnose-loopSkill
- eco-modeSkill
- falsify-specSkill
- grill-with-docs-liteSkill
- handoffSkill
- lean-modeSkill
- mini-specSkill
- operator-profileSkill
- scope-freezeSkill
- ship-miniSkill
- teach-backSkill
- test-miniSkill
- thin-planSkill
- tool-noise-guardSkill
- verify-contractSkill
- workspace-checkpointSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Run a full analysis when one or more of these are true:
- Distinctive: line 26
Do not run a full analysis merely because the skill is installed, because a handoff is being written, or because no prior analysis exists.
- Distinctive: line 34
Use the smallest relevant set:
- Distinctive: line 42
Only the source files needed to resolve a specific contradiction
- Very specific: line 46
Before invoking the full skill, reuse artifacts already loaded for build-one or handoff and ask:
- Very specific: line 53
If all answers are no, use NOT_NEEDED.
- Distinctive: line 71
Check non-goals, spec ceiling, compatibility seams, and scope-freeze boundaries for contradictions.
- Distinctive: line 72
Check decisions and assumptions that can materially change implementation shape.
- Very specific: line 88
If a handoff is being updated, carry the checkpoint state and reason into HANDOFF.md.
- Very specific: line 89
Do not create ANALYZE.md for a clean checkpoint.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analyze Mini
Purpose
Prevent stale or contradictory reasoning from crossing into build-one without turning analysis into a routine gate.
analyze-mini is conditional. The cheap safeguard is an eligibility check over artifacts already being read for build or handoff. Run the full skill only when that check finds a meaningful trigger.
When to use
Run a full analysis when one or more of these are true:
HANDOFF.mdmarks analysisREQUIREDorSTALE- task-defining inputs changed since the last
FRESHanalysis:SPEC.md,PLAN.md,TODO.md, scope-freeze notes, selected task, or a decision/assumption that changes implementation - the selected task cannot be traced cleanly from acceptance criterion to implementation slice to verification
- an unresolved decision or assumption could materially change implementation shape
- compatibility seams, data/metric semantics, or cross-boundary behavior create interpretation risk
- failed verification caused the implementation strategy or plan to change
- reconciling a stale handoff changed the live task state
Do not run a full analysis merely because the skill is installed, because a handoff is being written, or because no prior analysis exists.
Missing prior analysis is not, by itself, a trigger.
Staleness is event-driven, not time-driven. A checkpoint does not expire just because time passed.
Inputs
Use the smallest relevant set:
- Selected task
SPEC.mdPLAN.md/TODO.mdwhen they exist- Scope-freeze boundary
- Relevant
HANDOFF.mdstate when resuming VERIFY.mdwhen a failure or changed strategy is part of the trigger- Only the source files needed to resolve a specific contradiction
Passive eligibility check
Before invoking the full skill, reuse artifacts already loaded for build-one or handoff and ask:
- Did a task-defining input change since the last trustworthy checkpoint?
- Is there an unresolved decision or assumption that could change the implementation?
- Can the selected task still map cleanly from acceptance criterion to verification without contradicting a non-goal, spec ceiling, or scope boundary?
- Did a failed attempt or resume reconciliation create a new implementation uncertainty?
If all answers are no, use NOT_NEEDED. Do not perform a broader repo scan just to prove that analysis was skipped.
Checkpoint states
Analysis checkpoint: FRESH | NOT_NEEDED | STALE | REQUIRED
FRESH— a full analysis was run against the current task-defining inputs.NOT_NEEDED— the cheap eligibility check found no trigger for a full analysis.STALE— a priorFRESHanalysis exists, but a task-defining input changed.REQUIRED— a current trigger exists and a full analysis must run before implementation continues.
FRESH and NOT_NEEDED permit implementation only when no separate blocker exists.
Workflow
- Name the trigger. Do not start with a generic repo review.
- Identify the smallest artifact delta that could affect the selected task.
- Map acceptance criterion -> selected task -> verification evidence.
- Check non-goals, spec ceiling, compatibility seams, and scope-freeze boundaries for contradictions.
- Check decisions and assumptions that can materially change implementation shape.
- Separate contradictions from unknowns; do not invent certainty to make the artifacts agree.
- Make an implementation readiness call:
READYorBLOCKED. - Emit a compact checkpoint:
ANALYSIS CHECKPOINT
State: FRESH
Readiness: READY | BLOCKED
Trigger: ...
Inputs reviewed: ...
Finding: ...
Criterion -> task -> proof: ...
Re-run when: ...- If a handoff is being updated, carry the checkpoint state and reason into
HANDOFF.md. Otherwise return the compact checkpoint inline. - Do not create
ANALYZE.mdfor a clean checkpoint. Create or update it only when material findings need durable standalone review or the user explicitly asks for it.
Outputs
- Compact analysis checkpoint
READYorBLOCKEDimplementation call when full analysis runs- Material contradictions, unknowns, or verification gaps
- Optional
ANALYZE.mdonly when durable standalone findings are justified
Stop conditions
NOT_NEEDEDis justified by the cheap eligibility check, or- the full analysis establishes a current
FRESHcheckpoint andREADY, or - a contradiction or unresolved decision makes readiness
BLOCKED
Anti-patterns
- Running
analyze-minibefore everybuild-onemerely because it is available. - Treating a missing prior analysis as analysis debt by default.
- Re-reading the whole repository to decide whether analysis is needed.
- Creating
ANALYZE.mdafter every clean consistency check. - Expiring a valid checkpoint because of elapsed time rather than a state change.
- Keeping a checkpoint
FRESHafter task-defining inputs changed. - Starting implementation while a
REQUIREDorSTALEcheckpoint is unresolved. - Adding complexity because analysis surfaced an interesting adjacent improvement.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

