validate-context
Skill18 starsChanged 17 days agoMITView on GitHub
Audit CFD context integrity (CLAUDE.md size/shape, ROADMAP freshness, ADR index sync and completeness, conventions, the ADR-003 surface boundary, language) and report PASS/WARN/FAIL with proposed fixes. Use when asked to audit the context, or before a push or a release.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- andrefigueira/.contexttheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- andrefigueira/.context★ 253same name
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 repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- issue-newSkill
- issue-startSkill
- new-decisionSkill
- review-prSkill
- run-siiSkill
- session-closeSkill
- session-startSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
CLAUDE.mdcontent shape: should be mostly @references, not paragraphs of prose. - Very specific: line 20
ADR index integrity: every file matching docs/decisions/[0-9]*.md must be listed in docs/decisions/_index.md, and every row in _index.md …
- Distinctive: line 24
ADR completeness: every ADR has Status, Context, Decision, Alternatives Considered, Consequences sections.
- Very specific: line 36
AGENTS.mdalias: must be a symlink to CLAUDE.md (test -L AGENTS.md && [ "$(readlink AGENTS.md)" = CLAUDE.md ]), so agents other than … - Distinctive: line 45
Do NOT auto-apply fixes — the user reviews first.
≈ “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
Validate the CFD context in this project. Check, in order, and output a checklist with PASS / WARN / FAIL per item:
CLAUDE.mdsize: WARN if >150 lines, FAIL if >300.CLAUDE.mdcontent shape: should be mostly@references, not paragraphs of prose. FAIL if any section has >10 lines of inlined content where an@docs/...reference would do.docs/ROADMAP.mdfreshness: rungit log -1 --format=%ar -- docs/ROADMAP.md. WARN if it predates the last feature commit onmain— a shipped surface whose row was never ticked. (Do NOT checkdocs/CURRENT_STATUS.md: it is untracked since #79, so any git-based check reports it as infinitely stale.)- ADR index integrity: every file matching
docs/decisions/[0-9]*.mdmust be listed indocs/decisions/_index.md, and every row in_index.mdmust point to a file that exists. FAIL on mismatch. - ADR completeness: every ADR has Status, Context, Decision, Alternatives Considered, Consequences sections. FAIL on any ADR missing one.
- Convention coverage: spot-check 3 random source files. Do their
patterns match
docs/CONVENTIONS.md? If not, propose updates to CONVENTIONS.md (do not auto-apply). - Surface boundary (ADR-003): spot-check that
packages/cliandpackages/mcpimport only@albertomarturelo/sii-core's task layer (+ port interfaces), never a portal/dte/auth/storage facade directly. Flag any reach-past — it bypasses the throttling / audit / credential rails. - Language check: any
docs/**/*.mdfile written in a non-English language? WARN per file. AGENTS.mdalias: must be a symlink toCLAUDE.md(test -L AGENTS.md && [ "$(readlink AGENTS.md)" = CLAUDE.md ]), so agents other than Claude Code read the same index. FAIL if missing, or if it is a regular file: a divergent copy, or a checkout withoutcore.symlinksthat turned the link into a one-line text file. The CIvalidate-contextjob fails on the same cases. Proposeln -sf CLAUDE.md AGENTS.md.
Output the checklist and propose concrete fixes for any failures. Do NOT auto-apply fixes — the user reviews first.
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.

