mit einem Klick
intelligence-add-rule
Create new intelligence rule
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Create new intelligence rule
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
| name | intelligence-add-rule |
| description | Create new intelligence rule |
| argument-hint | <name> [paths-glob] |
Determine rule name from domain (the scope is required):
intelligence/rules/. If a rule file covers the target area (e.g., backend.md, frontend.md), extend it. Introduce a new domain only when the scope is materially different from all existing rules.intelligence/config.yaml → project.name (e.g., <codename>.md)backend.mdfrontend.mddevops.mdcore.mdtests.mdcontext.mdapps/billing, services/auth), prefer the component name as the rule name (billing.md, auth.md).Check existing rules: Read intelligence/rules/ to detect overlapping scope — favor extending an existing rule over creating a new one.
Determine scope:
paths: frontmatterpaths: in frontmatter)Analyze codebase: Read source files matching the scope to extract:
Create rule: Write intelligence/rules/<name>.md:
---
paths:
- "<glob-pattern>"
---
Write body with sections: REQUIRED → Invariants → Architecture → Build & Test → Examples → Patterns to recognize and replace (optional)
Update config.yaml if needed: Add source path to sources.rules if rule is in a new directory not yet listed.
Run /intelligence-sync to distribute to all enabled IDE targets.
Create new specialized agent
Audit the intelligence layer for duplication, drift, size, hardcoded paths and framing
Disable IDE adapter and clean up output
Enable IDE adapter for intelligence-sync
Capture session lessons and apply to intelligence/ after approval
Create new skill