Rules Slim — Development skill for Claude Code
rules-size channel 報 CLAUDE.md 或 rules/common 超門檻後,使用者說「來瘦身」「處理超標」「跑 rules-slim」時,找出該砍哪幾段、產草稿逐段拍板、准的才寫回.
How to install Rules Slim
Installs to ~/.claude/skills/gggodlin-gggodlin-cc-harness-rules-slim/SKILL.md
mkdir -p ~/.claude/skills/gggodlin-gggodlin-cc-harness-rules-slim && curl -fsSL https://raw.githubusercontent.com/GGGODLIN/gggodlin-cc-harness/HEAD/commands/rules-slim.md -o ~/.claude/skills/gggodlin-gggodlin-cc-harness-rules-slim/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Rules Slim does
description: rules-size channel 報 CLAUDE.md 或 rules/common 超門檻後,使用者說「來瘦身」「處理超標」「跑 rules-slim」時,找出該砍哪幾段、產草稿逐段拍板、准的才寫回。不適用:全量規則遵守率盤點(那是 ~/.claude/rule-review/ 的一次性重工)、把既有拍板的「做成機制」條目做成 hook(走 gate-authoring)、非 always-on 層的檔案瘦身。
Rules Slim
為何固化:rules-size channel 每週二量得出「超標幾個 byte」,量不出「該砍哪一段」,報告因此進 digest 就沉底——CLAUDE.md 自 2026-08-04 起連續超標數週未被處理。本 command 是那個環節缺的消費端。
**既判優先**是本 command 的核心紀律:`~/.cla
Alternatives in Development
- Hookify — Rule-based hook system for Claude Code 14k ★
- Bench Capture — Score the 2 bench variant folders for one size (build/acceptance/regression/conventions/capture + rubric + cro 85 ★
- Post Compact Reminder — Claude Code hook that detects context compaction and injects a reminder to re-read AGENTS.md, preventing post 40 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Save Rule
Authorize the next Write/Edit to a CLAUDE.md file (operator rules / project context). Writes a single-use mark
Authoring Against State Rules
Always-on. Investigation-as-deliverable discipline for code, config, and commands whose runtime behavior depen
Init Rules
Scaffold opt-in path-scoped nested CLAUDE.md rule files into the project to lazy-load per-area conventions whi
Enforcement Contradiction Rules
Always-on. When the enforcement system itself produces contradictions — gates blocking their own prerequisites
Stop Rules
Holds your coding agent to your team's written coding rules. A stop hook for Claude Code, Codex, Cursor and te
Clear Init
Install CLEAR-100 into the current repo or agent. Writes the rule block into AGENTS.md, CLAUDE.md, Cursor rule
Related Agents
Opengrep Rule Engineer
Expert in OpenGrep (FOSS Semgrep fork) and Semgrep rule authoring. Writes precise patterns, taint-tracking rul
Remotion Rule Reviewer
Remotion 渲染前的"自信关"——在跑贵渲染之前,对当前改动做一次语义级审查。对照 docs/HARD_RULES.md(框架红线)和 kit/theme.ts(设计 token),抓 hook 抓不到的语义错:s
Learning Coach
Front-line teacher for /superlearning. Teaches one bite-size concept through one sensory channel the learner M