agent-add-rule
Installation
SKILL.md
Add Rule — Place Agent Instructions Correctly
Add a new rule or convention to the right location in the progressive disclosure structure.
Context Spectrum
Static (root CLAUDE.md) — loaded every conversation. Token cost paid on every conversation.
Semi-dynamic (docs/agents/) — linked from root. Token cost paid only when Claude reads it.
Fully dynamic (skills) — metadata only in context. Token cost paid only when triggered.
Workflow
Step 1: Ask
Ask the user: "What rule or convention do you want to add?"
Accept free text. If the user already provided it (e.g., /agent-add-rule always use snake_case for database columns), skip this step.
Related skills
More from ravnhq/ai-toolkit
core-coding-standards
Universal code quality rules — KISS, DRY, clean code, code review. Base
81promptify
Transform user requests into detailed, precise prompts for AI models.
66lang-typescript
TypeScript language patterns and type safety rules — strict mode, no
53tech-react
React 19 patterns for components, hooks, Server Components, and data
52design-frontend
Visual design system patterns for web UIs. Tailwind CSS v4 design tokens
43platform-backend
Server-side architecture and security — API design, error handling, validation,
39