en un clic
intelligence-add-rule
Create new intelligence rule
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Create new intelligence rule
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
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
| 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.