No slash command · from authoring
Guides writing .claude/rules/*.md files with path-scoped constraints for code conventions and quality standards. Covers structure, path patterns, and when to use rules vs CLAUDE.md or hooks.
Ships in authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rules are constraints Claude follows automatically when working with matching files. They live in .claude/rules/ or a plugin's rules/ directory.
---
paths:
- "src/api/**/*.ts"
- "**/*.test.ts"
---
Declarative constraints here.
**/*.ts — all TypeScript filessrc/**/* — everything under src/{src,lib}/**/*.ts — multiple directoriespaths entirely for rules that apply everywhereRules without paths load every session. Rules with paths only load when Claude works with matching files.
Be declarative — state what should/shouldn't be done, not step-by-step procedures.
Be specific — "Use 2-space indentation" not "format properly."
Skip the obvious — don't restate best practices Claude already knows. Only specify what's unique to your project.
One topic per file — testing.md, security.md, not everything.md. Organize with subdirectories for grouping.
Provide alternatives — never write "Don't do X" without saying what to do instead.
paths)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub crouton-labs/crouton-kit --plugin authoring16 skills in this plugin
/claude-md-authoringBest practices for writing effective CLAUDE.md files. Use when creating, updating, or auditing CLAUDE.md files for projects or directories./cli-designDesign CLIs for humans and LLM agents — subcommand shape, output streams, exit codes, JSON modes, TTY-aware color, structured errors, mutation safety. Use when building or refactoring a CLI, adding machine-readable output, writing --help, deciding stdout vs stderr, or making a tool agent-friendly./commands-authoringGuide to writing slash commands for Claude Code. Use when creating commands that set mode, constraints, or workflows invoked via /command-name.Other plugins' skills for the same job