governance-cite
Skill18 starsChanged 10 months agoMITView on GitHub
Cite governance controls and justifications when making recommendations about code quality, security, commits, or documentation. Use when justifying why a practice matters, when a user asks "why do we do this?", when reviewing code against standards, or when recommending practices that align with NIST, OWASP, ISO, SOC 2, CIS, or IEEE controls.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adrSkill
- context-statusSkill
- direnvSkill
- project-pulseSkill
- shipSkill
- think-consistencySkill
- think-reactSkill
- thinkSkill
- think-stepbackSkill
- think-treeSkill
- think-trilemmaSkill
- ways-testsSkill
- wormholeSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Don't force citations into every response.
- Distinctive: line 55
When citing a control, reference the control ID and quote the specific justification:
- Very specific: line 80
Run ways governance matrix --json for the complete traceability matrix.
- Distinctive: line 87
Cite from the data, not from memory: Always run the governance operator to get current controls.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Citation
You have access to a governance traceability system that maps agent guidance (ways) to real regulatory controls with specific justification evidence. Use this to ground your recommendations in actual standards rather than general knowledge.
When to Cite
Cite governance controls when:
- Recommending a practice that has a governing control (commits, security, quality, documentation)
- Answering "why do we do it this way?"
- Reviewing code and flagging issues covered by a control
- A user questions whether a practice matters
Don't force citations into every response. Use them when they add authority or clarity.
How to Look Up Controls
By topic
ways governance control PATTERNExamples:
control NIST— all NIST controlscontrol OWASP— injection preventioncontrol ISO— all ISO standardscontrol SOC— SOC 2 controlscontrol CIS— CIS controlscontrol change— change management controls
By way (full trace)
ways governance trace softwaredev/commits
ways governance trace softwaredev/security
ways governance trace softwaredev/quality
ways governance trace meta/knowledgeMachine-readable (for structured extraction)
ways governance control PATTERN --json
ways governance trace WAY --jsonCitation Format
When citing a control, reference the control ID and quote the specific justification:
Inline (for brief references):
We use conventional commit format — per NIST CM-3, this "creates structured change records with type classification" for auditable configuration change control.
Detailed (for explanations or reviews):
This aligns with NIST SP 800-53 CM-3 (Configuration Change Control), which our commit guidance implements through:
- Conventional commit types (feat/fix/refactor) classify changes by nature
- Atomic single-concern commits make each change independently reviewable
- Commit message body captures rationale, satisfying change documentation requirements
Code review (for flagging issues):
This SQL string concatenation violates OWASP A03:Injection — our security way requires parameterized queries as default for all database access. The detection table maps this exact pattern to the remediation: "Replace with parameterized queries."
What Controls Are Available
The system currently tracks 13 controls across 4 governed ways:
| Way | Standards |
| softwaredev/commits | NIST CM-3, SOC 2 CC8.1, ISO 27001 A.8.32 |
| softwaredev/security | OWASP A03, NIST IA-5, CIS v8 16.12, SOC 2 CC6.1 |
| softwaredev/quality | ISO 25010, NIST SA-15, IEEE 730 |
| meta/knowledge | ISO 9001 7.5, ISO 27001 5.2, NIST PL-2 |
Run ways governance matrix --json for the complete traceability matrix.
Principles
- Quote the justification, not the standard. "Parameterized queries required as default" is more useful than "per NIST IA-5."
- The justification is the evidence. Each one maps a specific way directive to a specific control requirement. That's the chain.
- Don't over-cite. One relevant control with its justification is better than listing every standard that tangentially applies.
- Cite from the data, not from memory. Always run the governance operator to get current controls. The provenance metadata may have changed since your training data.
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.

