원클릭으로
grimoire-governance
Define governance schools with sealed/advisory wards and scoring criteria for evaluating suggestions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Define governance schools with sealed/advisory wards and scoring criteria for evaluating suggestions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Bootstrap .grimoire/ from an existing codebase — reverse-engineer vision, schools, taxonomy, and glossary from code
Expand a single branch of the specification tree with child capabilities
Analyze a third-party library or service and map its capabilities, constraints, and conflicts onto the specification tree
Enforce sealed wards and structural gates — the sole blocking authority in the Grimoire pipeline
Compute critical paths, bottleneck nodes, and effort ranges for reaching a target node in the specification tree
Analyze the specification tree for structural problems and propose merges, splits, reparents, and prunes
| name | grimoire-governance |
| description | Define governance schools with sealed/advisory wards and scoring criteria for evaluating suggestions |
| user_invocable | true |
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: