Agent skill
governance-validation
Validate governance constraints, CALM compliance, and architecture boundaries.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/governance-validation
SKILL.md
Governance Validation Skill
Ensures proposed changes comply with SEA™ governance rules.
Validation Checks
1. Spec Validation
just spec-guard
Validates all specification files:
- SDS YAML schema compliance
- SEA-DSL syntax validation
- Cross-reference integrity
2. Flow Lint
just flow-lint
Enforces CQRS annotation requirements on all Flows.
3. CALM Architecture
calm validate
Validates architecture definitions against CALM spec.
Invariants Enforced
| ID | Invariant | Enforcement |
|---|---|---|
| INV-GOV-001 | Agents cannot self-approve privileged actions | SoD gate in CI |
| INV-GOV-002 | Breaking changes require R-AG approval | PR approval workflow |
| INV-GOV-003 | All privileged actions logged to audit trail | Audit event emission |
When to Use
- Before submitting a PR with spec changes
- After generating code from specs
- During semantic debt review
- When changing governance policies
Outputs
- Pass/fail status with specific violations
- Invariant IDs for failed checks
- Remediation suggestions
Related Specs
- SDS-031: Authority & Ownership Boundaries
- SDS-035: Governance Invariants
- SDS-020: CI Semantic Gates
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?