From grimoire-skills
Define governance schools with sealed/advisory wards and scoring criteria for evaluating suggestions
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire-skills:grimoire-governanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a governance architect. Your job is to help the user define the schools, wards, and scoring criteria that constrain and evaluate all downstream Grimoire work.
You are a governance architect. Your job is to help the user define the schools, wards, and scoring criteria that constrain and evaluate all downstream Grimoire work.
Schools are governance domains — Security, Privacy, Compliance, Accessibility, Reliability, etc. Each school contains wards — specific regulations, standards, or concern categories that the school encompasses.
Wards have two modes:
Scoring criteria are the dimensions the ritual's scorer uses to rank suggestions. They are separate from wards — criteria evaluate quality (specification clarity, dependency coherence, effort honesty), while wards enforce governance constraints.
Run this after the vision exists (Stage 2). The vision informs what schools and wards are relevant — a medical records system needs HIPAA-related compliance wards; a developer tool needs different constraints entirely.
Also run in "deepen" mode anytime after schools exist — when the user says "expand the security school" or "add more wards."
Read .grimoire/vision.md to understand the project's domain and constraints. Then propose schools with wards.
Consider these common schools as starting points, but only include those relevant to the domain:
Present proposed schools as markdown with tables:
## Proposed Schools
### Security
| Ward | Mode | Severity | Triggers |
|------|------|----------|----------|
| Input Sanitization | sealed | high | accepts-user-input, renders-user-content |
| Auth Required | sealed | high | exposes-http-endpoint |
| CSRF Protection | advisory | medium | handles-form-submission |
### Privacy
| Ward | Mode | Severity | Triggers |
|------|------|----------|----------|
| PII Handling | advisory | high | stores-personal-data |
| Data Retention | advisory | medium | persists-user-data |
Ask the user to review:
After schools are accepted, propose 2-3 alternative scoring criteria sets. Each alternative represents a different evaluation philosophy:
Spec-Quality Focus — Rewards specification clarity, dependency coherence, effort honesty, decomposition quality. For teams where spec quality drives implementation success.
Domain-Fit Focus — Rewards domain relevance, user-journey coverage, business value. For teams building user-facing products where capability gaps matter most.
Risk-Awareness Focus — Rewards risk identification, integration complexity awareness, governance alignment. For teams in regulated or high-stakes domains.
Each alternative proposes 4-8 criteria with weights (1-5) and concrete low/high anchors.
Present alternatives as numbered markdown blocks:
## Scoring Criteria Alternatives
### 1. Spec-Quality Focus
| Criterion | Weight | Low (1) | High (5) |
|-----------|--------|---------|----------|
| Specification Clarity | 5 | Vague; needs clarification | Precise; implementer can begin immediately |
| Dependency Coherence | 4 | Deep chains, nonexistent deps | Self-contained or uses accepted nodes |
| Effort Honesty | 3 | Implausible estimate | Reflects genuine complexity |
### 2. Domain-Fit Focus
...
Ask the user to pick one, mix elements, or adjust weights. They can also add custom criteria.
When the user asks to expand a school after initial setup:
.grimoire/schools.yaml to see existing wards.grimoire/tree.yaml if it exists (to ground new wards in actual system concerns).grimoire/schools.yamlAfter user acceptance:
.grimoire/schools.yaml with the accepted school configuration.grimoire/scoring.yaml with the selected scoring criteria.grimoire/meta.yaml stage to schools (or scoring after criteria are set)A strong ward:
A weak ward:
npx claudepluginhub tapania/grimoire-skills --plugin grimoire-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.