governance-review
Skill0 starsChanged 9 days agoMITView on GitHub
Review this repo's agent skills, hooks and settings against NIST (AI RMF, AI 600-1, SSDF/800-218A, 800-53, CSF 2.0) and ISO (42001, 23894, 27001/27002, 27090) for security and governance gaps, as a dated follow-up to the previous review. Use when the user asks for a security or governance review of the skills, an "AI governance review", a "NIST/ISO review", or pastes the reviewer brief.
- Commits and pushes
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- animated-videoSkill
- apply-editsSkill
- apply-tweaksSkill
- copy-exampleSkill
- create-design-systemSkill
- doctorSkill
- export-pdfSkill
- export-pptxSkill
- export-standaloneSkill
- handoffSkill
- ingest-documentSkill
- ingest-figmaSkill
- ingest-githubSkill
- ingest-screenshotSkill
- inspectSkill
- interactive-prototypeSkill
- live-reloadSkill
- local-commentsSkill
- make-deckSkill
- make-editableSkill
- make-tweakableSkill
- publishSkill
- register-assetSkill
- ship-branchSkill
- snapshotSkill
- sync-design-systemSkill
- use-design-systemSkill
- verify-artifactSkill
- wireframeSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If the brief says skills are attached but none are, review this repo and say so in §0:
- Very specific: line 24
Read the guards and settings in full: guard-bash.sh (with the Read tool.
- Very specific: line 26
Run bash .claude/hooks/test-guard.sh exactly as written, with no pipe.
- Very specific: line 27
Run rg -n '^(allowed-tools|disallowed-tools):' .claude/skills .claude/commands to compare pre-approvals against the claims.
- Very specific: line 36
Do marketplace (plugin/) users get the same hooks as the workspace?
- Distinctive: line 43
Never invent clause numbers.
- Very specific: line 46
Check every line number you cite with Read.
- Very specific: line 50
Write docs/reviews/<YYYY-MM-DD>-skills-security-governance-review.md with these sections:
- Distinctive: line 58
Do not edit the previous review, any skill, any hook or any setting.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Governance review
Static review of the skill set in this repo. It produces a dated report and changes nothing else.
Scope
- If the brief says skills are attached but none are, review this repo and say so in §0:
.claude/skills/*,.claude/commands/*.claude/hooks/*,.claude/settings.json,.claude/settings.local.json.mcp.json,scripts/,.github/plugin/: itshooks/hooks.jsonandmanaged-settings.reference.json
- Find the newest
docs/reviews/*-skills-security-governance-review.md. Read it in full, including its remediation table. Treat that table's "Fixed" rows as claims to re-verify, not as facts.
Evidence (in this order)
git log --oneline --no-color -25. Thengit diff --stat <previous revision>..HEAD. Note any PR that loosens a control; these get their own report section.- Read the guards and settings in full:
guard-bash.sh(with the Read tool;sedis blocked),guard-browser.py,guard-tools.py,hooks.sha256, both settings files. - Read every outward-facing skill in full: ship-branch, publish, sync-design-system, the four ingest skills, and any skill that has a remote-write tool (DesignSync, Artifact) in
allowed-tools. For the rest, read the frontmatter plus runrgforhttps?://|evaluate_script|untrusted|design-tokens|sha256. Say in §0 which files you read in full and which you skimmed. - Run
bash .claude/hooks/test-guard.shexactly as written, with no pipe. It exits with its failure flag, so exit 0 means no failures. Probe one or two guard claims live (for example,cd artifacts && pwdmust be blocked). - Run
rg -n '^(allowed-tools|disallowed-tools):' .claude/skills .claude/commandsto compare pre-approvals against the claims.
Questions that found real gaps before
- Can the agent edit the files that gate its own merge? Check
.github/,tools/,plugin/hooks/and the package files against theEditallow and deny rules. - Does the
git pushrule constrain the refspec,--force,--deleteand--tags? Cangh pr mergemerge someone else's PR? - Which built-in tools that leave the machine pass with no hook? Check
Artifact,ArtifactData,DesignSync,SendMessage,RemoteTrigger,CronCreateandAgent. - Is a human gate actually enforced by a hook, a
denyrule or the sandbox? Or does it depend on the model's own judgement (for example, "was this prompted by untrusted content")? Note whether the session runs in bypass mode, because bypass mode voidsask. - Where does ingested data persist?
.claude/design-tokens.jsonanddesign-systems/are the main places. Is it validated before reuse? - Do marketplace (
plugin/) users get the same hooks as the workspace?
Citations
- WebFetch is denied here, so every control ID comes from memory.
- Cite by ID only where you are confident: AI RMF subcategories, SSDF practices, 800-53 controls, CSF categories, 42001 clauses, 23894 clauses, 27001 Annex A.
- Cite by topic only: AI 600-1 risk areas, 800-218A, 27090, COSAiS, the Cyber AI Profile.
- Never invent clause numbers.
- Label each piece of evidence [src], [live], [env], [recall] or [unverified].
- Mark facts carried from the previous review as not re-checked.
- Check every line number you cite with Read; do not cite numbers from
catoutput.
Output
- Write
docs/reviews/<YYYY-MM-DD>-skills-security-governance-review.mdwith these sections:- §0 scope and method
- §1 summary verdict
- §2 control relaxations since the previous review
- §3 cross-cutting findings table (ID, finding, evidence, mapping, priority) plus unsafe and non-deterministic paths
- §4 per-skill assessments, each with Strengths, gaps → mapping, recommendation and priority
- §5 prioritized top 10 actions
- For each recommendation, check that it would work. For example: a taint rule must not fire on the preview files every turn, and
!cannot run built-in tools. - Do not edit the previous review, any skill, any hook or any setting. Do not commit, push or publish. Offer those only.
- End the turn with:
- the report path
- the one check only the user can run:
! gh api repos/crywolfe/claude-code-design/branches/claude-design-features/protection(a 404 means the branch is unprotected) - the top three actions
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.

