validate
Skill13 starsChanged 4 months agoApache-2.0View on GitHub
Run both Arcgram self-checks in one call. A thin wrapper over Checkpoint (structure) and Reconcile (values): validate(diagram,{code}) runs Checkpoint always and Reconcile when code is supplied, then merges into one source-tagged result in the same {findings,summary,attestation,clean} contract. clean = checkpoint.clean && reconcile.clean. Adds no new check; marks, never blocks. Run after authoring or editing a diagram and its code. Agent-neutral. The single door over its two siblings.
37 other projects use a version of this.
Adopted by
Most recently taken up by
- ApurvBazari/claude-pluginstheir own version, first seen Sep 29, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
- scaccogatto/okf-skillstheir own version, first seen Sep 28, 2026
- cristian-robert/claude-code-harnesstheir own version, first seen Sep 15, 2026
- valasubramanian-kr/wallet-web-developertheir own version, first seen Sep 11, 2026
- etr/groundworktheir own version, first seen Sep 10, 2026
Used with
Projects with it also use explore, plan and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
genomewalkerSkillexplore
RLM-style recursive memory exploration - dynamically navigate the memory graph
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 10 projects that use this
MicrosoftSkillworktree
Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 6 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 4 projects that use this
SentrySkillreview
Fixture review skill.
Also in 8 projects that use this
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- H-mmer/pentest-agents★ 984same name
- microsoft/skills-for-copilot-studio★ 459same name
- boshu2/agentops★ 447same name
- growthxai/output★ 440same name
- scaccogatto/okf-skills★ 407same name
- nudgebee/nudgebee★ 398same name
- cortex-tms/cortex-tms★ 182same name
- atelier-fashion/adlc-toolkit★ 171same name
- Arman-Kudaibergenov/1c-ai-development-kit★ 166same name
- X-isdoingreat/canvas-pilot★ 125same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- arcgramSkill
- checkpointSkill
- reconcileSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Run both -> the diagram is a faithful, current spec.
- Very specific: line 81
Verify: node validate-selftest.mjs (36 checks - source tags, union attestation, clean rule, the code-omitted path, and byte parity with …
“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Validate - the combined Arcgram self-check entry
One call. Two questions answered between the siblings:
is the flow well-formed and coherent, AND do its @spec values still match the code?
Validate is a thin wrapper, not a new check. It imports Checkpoint and Reconcile untouched and composes their pure functions:
- Checkpoint (one input: the diagram) checks structure - well-formed, coherent.
- Reconcile (two inputs: diagram + code) checks values -
@specliterals == code constants.
Run both -> the diagram is a faithful, current spec. Every finding still comes from one sibling; Validate only merges, source-tags, and unions the attestation.
Code is optional
| input | what runs | clean possible? |
validate(diagram, { code }) | Checkpoint and Reconcile | yes |
validate(diagram) (no code) | Checkpoint only | no - values unchecked |
Without code there is nothing to reconcile, so Reconcile is not run (running it would just flag
every @spec pin as missing). Instead the value half is reported as one uncovered
value-check-not-run finding, so a structure-only run is never falsely "clean" on values - the same
anti-silent-pass rule both siblings enforce.
Locked invariant - uncovered is a third state, never a pass. A diagram-only run (no code) can
never produce an overall green clean, even when the structure is perfect. The attestation
explicitly appends | code consistency: NOT CHECKED (no code supplied), summary.codeConsistency
reads "NOT_CHECKED", and the CLI verdict is INCOMPLETE, never the word CLEAN. This guards the
exact silent-pass the family exists to prevent: claiming "checked & clean" while the code half was
never checked.
Output (same contract as both siblings, plus source)
{ findings:[{id,type,severity,note,source}], summary, attestation, clean }
self-check ran HH:MM:SS | N findings | M uncheckedsourceis"checkpoint"|"reconcile"|"validate"- so you can route a finding back to the check that raised it. Everything else (id,type,severity,note) is verbatim from the sibling.attestationis the union: N and M are the combined defect / uncovered totals. When the value half did not run it appends an explicit| code consistency: NOT CHECKED (no code supplied).clean === checkpoint.clean && reconcile.clean(identicallyN=0 && M=0);uncoveredis a third state and is never folded intoclean, so a skipped value-check is not clean.summarynests each sibling's own summary under.checkpoint/.reconcile, plusranandcodeConsistency("checked"|"NOT_CHECKED").- The full sub-results are returned verbatim on
.checkpoint/.reconcilefor a caller that wants the per-check breakdown.
Human reads the marker; agent reads the type (and source).
Use
node validate.mjs <diagram.html | diagram.json> [code-file ...] [--tier-b | --no-tier-b] [--json]import { validate } from './validate.mjs';
validate({ nodes, edges, meta }, { code }); // code: string | string[]; omit -> structure only--tier-b / --no-tier-b forward to Checkpoint's justification tier (else auto-detected by a
decision diamond). Exit 1 on any defect (advisory - never blocks; an uncovered value-check is not a
defect).
Verify: node validate-selftest.mjs (36 checks - source tags, union attestation, clean rule, the
code-omitted path, and byte parity with running the two siblings separately).
Example: examples/example-workflow.html vs example-workflow.config.cs (clean).
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.

