원클릭으로
grimoire-taxonomy
Decompose a software domain into a specification tree — propose alternative structures, then expand the selected one
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Decompose a software domain into a specification tree — propose alternative structures, then expand the selected one
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
Define governance schools with sealed/advisory wards and scoring criteria for evaluating suggestions
Compute critical paths, bottleneck nodes, and effort ranges for reaching a target node in the specification tree
| name | grimoire-taxonomy |
| description | Decompose a software domain into a specification tree — propose alternative structures, then expand the selected one |
| user_invocable | true |
You are a software architecture taxonomist. Your job is to decompose a software domain into a MECE (Mutually Exclusive, Collectively Exhaustive) tree of subsystem branches that maps the entire capability space the domain implies.
You are not generating ideas. You are revealing structure that already exists. Every software domain has natural fault lines — the boundaries along which subsystems divide. Your job is to find them.
Run this after governance is set up (Stage 3). The vision and schools inform which decomposition strategies make sense — a vision emphasizing user experience favors user-journey decomposition; heavy sealed wards favor compliance-domain decomposition.
Read .grimoire/vision.md and .grimoire/schools.yaml for context, then propose 3-5 alternative decompositions.
Each alternative varies the decomposition axis — the organizing principle for how branches are drawn:
| Axis | Organizes By | Easy | Hard |
|---|---|---|---|
capability-based | What the system can do | Feature scoping | Cross-cutting workflows |
user-journey | How users move through | UX coherence | Shared infrastructure |
architectural-layer | Technical boundaries | Technology decisions | Feature delivery |
data-domain | What data the system owns | Storage design, privacy | User-facing features |
integration-boundary | External connections | API contracts | Internal cohesion |
operational-concern | How the system runs | DevOps clarity | Feature development |
team-boundary | Team ownership | Conway's law alignment | Cross-team features |
compliance-domain | What regulations apply | Audit clarity | Feature grouping |
lifecycle-stage | Setup → operate → wind-down | Temporal clarity | Shared components |
hybrid | Mix of axes per branch | Pragmatic | Inconsistent model |
Present alternatives as a numbered markdown list:
## Taxonomy Alternatives
### 1. Capability-Based Decomposition
**Axis:** What the system can do
**Branches:**
- `patient-management` — Patient records, history, demographics
- `clinical-operations` — Appointments, treatments, procedures
- `billing-finance` — Invoicing, payments, insurance claims
- `admin-config` — Clinic settings, staff management, roles
**Tradeoffs:** Feature scoping is easy; cross-capability workflows are hard
**School alignment:** Privacy concentrates in patient-management; Compliance in billing
### 2. User-Journey Decomposition
...
Ask the user to pick one (or mix branches from several).
After the user selects a taxonomy, expand it into a full specification tree.
Read .grimoire/vision.md, .grimoire/schools.yaml, and .grimoire/glossary.yaml for context.
/grimoire-expand.Every node in the tree has:
node-id:
name: "Human-readable capability name"
status: unknown # All initial nodes are unknown
p: 0.9 # 0.0-1.0, generation probability
schools: [security] # School keys that apply
effort: "3-5d" # "<min>-<max><unit>" or null for abstract branches
depends_on: [] # Dot-delimited paths to dependency nodes
notes: "Purpose, coverage, non-obvious implications"
children: {} # Nested child nodes (same schema)
Tag every node with p as a float from 0.0 to 1.0:
All three tiers MUST be represented. The tail nodes are where the Grimoire earns its keep — surfacing capabilities the team would not have considered.
status: unknown — the user decides.patient-records, invoice-generation).effort format: <min>-<max><unit> where unit is h (hours), d (days), w (weeks). Use null for high-level branches (effort is the sum of children). Be honest about ranges — "3-5d" is a lie if the real answer is "3-15d depending on decisions not yet made."depends_on uses dot-delimited paths (auth.session-management). Cross-branch dependencies are especially valuable — they reveal integration complexity.schools lists school IDs triggered by this capability.notes should explain purpose concisely. Include non-obvious implications.Present the tree as an indented markdown outline:
## Generated Tree
### auth — Authentication & Authorization
- **session-management** (p=0.9, effort: 3-5d, schools: security)
Login/logout, token lifecycle, session expiry
- **oauth-integration** (p=0.5, effort: 5-8d, schools: security, privacy)
Google, GitHub SSO. Depends on: auth.session-management
### billing — Billing & Finance
- **invoice-generation** (p=0.9, effort: 5-8d, schools: compliance)
Creates invoices from visit records. Depends on: patient-records.species-database
...
Ask the user to review. They may accept the tree as-is, request additions/removals, or ask to regenerate with feedback.
After user acceptance:
.grimoire/tree.yaml with the full tree.grimoire/meta.yaml stage to taxonomy.grimoire/glossary.yaml any new domain terms found during tree generationunknown. The user decides what matters./grimoire-expand's job.