type: rule
status: active
timestamp: 2026-07-02
tags: [agent, meta, grill, rules, knowledge]

Grill before adding any rule — choose the right artefact type

Every proposed rule triggers a grill to determine if it belongs as a rule, skill, hook, knowledge file, or AGENTS.md line. Adding rules without grilling = knowledge bloat.

Grill before adding any rule

The trigger

Whenever a new rule is about to be added — whether from a user request, a pattern observed in a session, or a video/transcript being distilled — stop and grill first.

The grill questions

Ask these before writing any knowledge file:

QIf yes →
Is this a one-off task the user might explicitly invoke?Skill (.claude/skills/<name>/SKILL.md)
Is this something Claude should do automatically on every matching tool use?Hook (settings.json hooks)
Is this a durable decision with a WHY + trade-offs?Knowledge decision file (knowledge/decisions/...)
Is this a constraint/taste that applies to ALL code or interactions?Rule (knowledge/rules/...) + AGENTS.md table entry + count bump
Is this a step-by-step procedure?Runbook (knowledge/runbooks/...)
Is this a short “always do X” that fits in one line?AGENTS.md TL;DR line only (no concept file needed)
Is this already covered by an existing rule?Extend existing rule — not a new file

Anti-patterns

Example grills

“Add a rule that I should use Dagger for everything” → Q: Is this a constraint on all CI code? Yes → Rule. Does it need AGENTS.md? Yes (developer constraint) → 3-place update.

“Add a rule that you should search before filing issues” → Q: Is this a one-off invoked task? Partially — but also always-on. → Extend existing search-everything skill AND add a note to terse-issues-less-hallucination.

“Add a hook that shows screenpipe status after session ends” → Q: Automatically fires on session end? Yes → Hook in settings.json, not a rule file.

“Add a rule that responses should be creative” → Q: Always-on taste rule? Yes, short → Memory file (~/.claude/projects/.../memory/) — not knowledge/ (it’s user-preference, not workspace-architecture).

Cross-refs


Edit on GitHub · Back to index