review-state
Skill17 starsChanged 4 months agoApache-2.0View on GitHub
Review an existing state, inspect evaluation, queries, governed groups, feedback, and outcomes, and surface prioritized issues with the likely fix surface before making changes.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- classification-at-scaleSkill
- create-stateSkill
- overlay-and-fitSkill
- prepare-dataSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 21 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill on an existing state — the user's Crux — when the goal is diagnosis, quality review, or prioritizing follow-up work.
- Distinctive: line 43
If the state is an overlay and the review is about overall health, local fit quality, or handoff readiness, include upstream pull …
- Distinctive: line 51
If findings may come from how the state is built rather than only from final query outputs, inspect the implementation surfaces too:
- Distinctive: line 59
Use this to answer:
- Very specific: line 68
If the state has named_queries, run the ones that matter to the user's concern and inspect receipts:
- Very specific: line 75
If the review is about overall state health or handoff readiness, do not stop at representative coverage.
- Distinctive: line 85
If the state uses governed relationships, inspect the review surfaces:
- Distinctive: line 102
do groups ask the right review question?
- Very specific: line 103
do thesis_facts and analysis_state look well-modeled?
- Distinctive: line 109
If the state has enough history, inspect recurring review and outcome patterns:
- Distinctive: line 116
Use whichever filters match the review surface you are investigating.
- Distinctive: line 118
If history is sparse, inspect the config surfaces directly instead:
- Distinctive: line 128
do the configured review and outcome surfaces match the real recurring loops the state actually has?
- Very specific: line 133
If source files, cleaned files, or prepare-data outputs are available, compare them against the current state design and behavior.
- Distinctive: line 155
If those source or preparation artifacts are not available, say explicitly that the source-to-state classification audit was not performed.
- Distinctive: line 159
If the state is an overlay and pull compatibility is in scope, inspect:
- Distinctive: line 169
should a change stay local, move upstream, or be simplified?
- Distinctive: line 173
Do not just list problems.
- Distinctive: line 196
Do not bury the important issues under low-value polish.
- Distinctive: line 200
Default output is a prioritized findings report.
- Distinctive: line 210
If there are no meaningful issues, say that explicitly and mention any residual blind spots, such as:
- Distinctive: line 212
no governed history yet
- Distinctive: line 213
no representative query receipts yet
- Distinctive: line 219
Only move from review into changes if the user asks for fixes or clearly wants you to continue.
- Distinctive: line 221
If the next step is clear:
- Very specific: line 223
use prepare-data for source-data issues
- Very specific: line 224
use create-state for root-state build or redesign work
- Very specific: line 225
use overlay-and-fit for local adaptation work
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Review State
Use this skill on an existing state — the user's Crux — when the goal is diagnosis, quality review, or prioritizing follow-up work.
This skill is for:
- finding structural or behavioral problems
- inspecting representative queries and receipts
- reviewing governed groups and their outputs
- spotting repeated feedback or outcome patterns
- telling the user what is wrong and what should be fixed next
This skill is not the main build flow. By default, review first and surface findings before changing config, workflows, or graph state.
Phase 1: Establish review scope
Start by identifying:
- what the user is worried about
- whether the review is about:
- graph quality
- governed relationships
- query quality
- feedback or outcome patterns
- overall state health
- whether the state is a root state or an overlay
- which user-facing queries or downstream decisions matter most
- whether source files, prepared files, or
prepare-dataoutputs are available for a source-to-state audit
Then inspect the current state:
cruxible state status
cruxible stats
cruxible evaluateIf the state is an overlay and the review is about overall health, local fit quality, or handoff readiness, include upstream pull compatibility in scope by default.
Phase 2: Inspect the most important surfaces
Work from the surfaces that actually affect users.
Workflows, providers, and implementation
If findings may come from how the state is built rather than only from final query outputs, inspect the implementation surfaces too:
- canonical
workflows - proposal
workflows providersintegrations- relevant config sections and provider code
Use this to answer:
- is the bad behavior caused by graph shape, or by how workflows and providers are wired?
- are canonical
workflowswriting only deterministic, trusted results? - are proposal
workflowsproducing the right candidates, signals, and groups? - is the likely fix in config design, provider code, or workflow implementation?
Queries and receipts
If the state has named_queries, run the ones that matter to the user's concern and inspect receipts:
cruxible query run <query_name> --param key=value
cruxible explain --receipt <receipt_id>If the review is about overall state health or handoff readiness, do not stop at representative coverage. Exercise all named_queries.
Use this to answer:
- does the query answer the real user question?
- does the receipt show a believable evidence path?
- are results missing because of graph gaps, governed gaps, or query design problems?
Governed groups
If the state uses governed relationships, inspect the review surfaces:
cruxible group list
cruxible group get --group <group_id>
cruxible group resolutionsAlso inspect the governed design artifacts and config that define what those groups are supposed to mean:
- relationship
matchingconfig design/governed/<relationship_type>.yaml- relevant proposal
workflows,integrations, and provider code
Use this to answer:
- are the right relationship types being governed?
- do groups ask the right review question?
- do
thesis_factsandanalysis_statelook well-modeled? - are groups getting stuck, suppressed, or producing poor signals?
- is the problem in the governed design itself, or in the provider/workflow implementation that is supposed to realize it?
Feedback and outcomes
If the state has enough history, inspect recurring review and outcome patterns:
cruxible feedback analyze --relationship <relationship_type>
cruxible outcome analyze --anchor-type <receipt|resolution> --surface-type <query|workflow|operation> --surface-name <name>Use whichever filters match the review surface you are investigating. Treat these as evidence about recurring process failures, not as automatic instructions to mutate the state.
If history is sparse, inspect the config surfaces directly instead:
feedback_profilesoutcome_profilesdecision_policiesquality_checksconstraints
Use this to answer:
- do the configured review and outcome surfaces match the real recurring loops the state actually has?
- are governance rules present where they are justified, and absent where they would just add noise?
Source-to-state audit
If source files, cleaned files, or prepare-data outputs are available, compare them against the current state design and behavior.
Use:
- source files and cleaned files
source_inventorytransform_lineageloading_readiness_by_surfacelikely_modeling_implicationsopen_questions- current
config.yaml - canonical
workflows - governed relationship
matchingand design notes where relevant
Use this to answer:
- does each
entity_typematch a real source grain? - are current deterministic relationships actually supported by explicit keys and joins?
- are any current canonical relationships ambiguous enough that they should be governed instead?
- are any governed relationships actually deterministic and overcomplicated?
- is the graph shape still consistent with what the prepared data supports?
If those source or preparation artifacts are not available, say explicitly that the source-to-state classification audit was not performed.
Overlay pull compatibility
If the state is an overlay and pull compatibility is in scope, inspect:
cruxible state pull-previewUse this to answer:
- does the local fit still compose cleanly with the upstream state?
- are any local additions likely to conflict with future upstream pulls?
- should a change stay local, move upstream, or be simplified?
Phase 3: Classify findings by fix surface
Do not just list problems. For each real issue, classify where the fix belongs:
prepare-data: source file quality, key issues, join issues, grain issuescreate-state: base graph shape, wrong canonical-versus-governed boundary, canonical workflow design, governed design, named queries, or feedback/outcome structure in a root stateoverlay-and-fit: local fit boundary, wrong local canonical-versus-governed boundary, local canonical fit, local governed additions, local queries, or overlay pull-compatibility issues- provider or workflow implementation
- query design
- review policy, trust, feedback, or outcome configuration
- upstream work rather than local work
This classification is the main value of the review.
Phase 4: Prioritize what matters
Present findings in this order:
- broken or invalid states
- query failures or misleading query results
- governed-group design or workflow problems affecting important decisions
- repeated review or outcome patterns that indicate a real systemic issue
- missing relationships or coverage gaps
- cleanup or simplification opportunities
Do not bury the important issues under low-value polish.
Phase 5: Surface the review to the user
Default output is a prioritized findings report.
For each finding, include:
- what is wrong
- why it matters
- representative evidence
- the likely fix surface
- whether it should be fixed now, later, locally, or upstream
If there are no meaningful issues, say that explicitly and mention any residual blind spots, such as:
- no governed history yet
- no representative query receipts yet
- too little feedback or outcome data to infer patterns
- source files or
prepare-dataoutputs were not available for a source-to-state audit
Optional Follow-Up
Only move from review into changes if the user asks for fixes or clearly wants you to continue.
If the next step is clear:
- use
prepare-datafor source-data issues - use
create-statefor root-state build or redesign work - use
overlay-and-fitfor local adaptation work
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.

