Back to skills
SKILL.md
Evo Rule Architect
ASecurityAudits bloated CLAUDE.md/GEMINI.md/AGENTS.md and coupled skills, decoupling them into L0 seeds and L1/L2 scoped assets.
- 3 stars
- 0 votes
- 0 copies
- 0 views
- Added November 6, 2026
Works with
Security analysis
100/100npx -y skills add damonless/EvoKernel --skill evo-rule-architect --agent claude-codeAre you the author of Evo Rule Architect?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/damonless-evo-rule-architect)---
id: evo-rule-architect
name: evo-rule-architect
description: "Audits bloated CLAUDE.md/GEMINI.md/AGENTS.md and coupled skills, decoupling them into L0 seeds and L1/L2 scoped assets."
trigger_cue: "When auditing bloated rule files (>1,500 tokens), global domain leaks, or duplicated skills"
title: "Legacy Rule & Skill Decoupling Architect (4-Stage Refactoring SOP)"
l0_summary: "Audits bloated CLAUDE.md/GEMINI.md/AGENTS.md and coupled skills, decoupling them into L0 seeds and L1/L2 scoped assets."
tags: ["architecture","refactoring","rules","skills","context-hygiene","audit"]
origin: "bootstrap"
created_at: "2026-10-15T17:23:29.100Z"
updated_at: "2026-10-21T15:16:27.268Z"
---
## L1 Contract
- **Trigger**: When onboarding an existing user/project with bloated global/local rule files (`>1,500 tokens`), domain leaks in global configs (`~/.gemini/`, `~/.claude/`, `~/.cursor/`), or high duplication between `AGENTS.md` and `SKILL.md`.
- **Inputs**: Diagnostic output from `evo audit --global` or `evo refactor`.
- **Outputs**: Purified global rules, desensitized global skills, scoped `.evo/rules/scoped/*.md` rules, and STE-Lite local skills wired to `evo_search` + `evo_propose`.
## L2 SOP
1. **Stage 1 — Global Rule Purification (全局提纯)**:
- Strip all language-specific file globs, code-indexing tool routing, and business domain constraints from global files (`~/.gemini/GEMINI.md`, `~/.claude/CLAUDE.md`).
- Retain only: (a) EvoKernel L0 Meta-Rule Seed, (b) universal epistemic & anti-sycophancy protocol, and (c) concise communication style.
2. **Stage 2 — Global Skill Desensitization (全局技能脱敏)**:
- Scan global `SKILL.md` files for project-specific macro names, repo paths, or domain terms and replace them with domain-neutral placeholders.
3. **Stage 3 — Local Demotion & Scoped Splitting (局部下沉与 Scoped 拆分)**:
- Move code workflow and code-indexing tool rules into the project-local `AGENTS.md`.
- Convert domain/language-specific guardrails into on-demand scoped rules via `evo_propose(kind: "rule", core: false, scope_glob: "...")`.
4. **Stage 4 — Local Skill STE-Lite Conversion (局部技能 STE-Lite 化)**:
- Remove paragraphs in local `.agents/skills/*/SKILL.md` that duplicate `AGENTS.md` invariants.
- Add a Pre-Task Recall step (`evo_search` -> `evo_inspect`) and a Post-Task Crystallization step (`evo_propose`) to each local workflow skill.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.