Skip to content

Guides for authoring Claude Code artifacts: CLAUDE.md files, hooks, rules, skills, commands, and scripts.

CCM score
60 of 100
version
1.8.0
GitHub stars
25
View on GitHub

Own this plugin? Claim it

What it does

  • Covers CLAUDE.md, hooks, rules, skills, commands, and scripts, with 17 skill guides including claude-md, hooks, and commands
  • Includes cli-design, context-management, and eval-and-quality-gates for building CLIs, managing token budgets, and setting up LLM quality gates
  • Guides writing effective CLAUDE.md files and debugging hooks for guardrails, context injection, and notifications in your project
  • Designed for developers who build agent-facing tooling and want the conventions for each Claude Code artifact type

Add marketplace

/plugin marketplace add CaptainCrouton89/crouton-kit

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install authoring@crouton-kit

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Writing Effective CLAUDE.md Files

Philosophy

CLAUDE.md is a curated set of guardrails and pointers, not a comprehensive manual. Every line is scarce real estate. Focus on constraints and gotchas — things Claude would get wrong without guidance.

What to Include

Prioritize in order:

  1. Critical constraints and gotchas — non-obvious rules, what breaks if ignored
  2. Key commands — build, test, lint (the 80% cases)
  3. Architecture overview — how major components relate, 2-3 sentences max
  4. Conventions that differ from defaults — only what's surprising

What to Exclude

  • Anything Claude can infer from reading code
  • Standard language/framework conventions
  • Detailed API documentation (link to docs instead)
  • Long explanations or tutorials
  • File-by-file codebase descriptions
  • Information that changes frequently

Writing Rules

  • Short declarative bullets > paragraphs
  • Never write "Never X" without the preferred alternative
  • When referencing other docs, pitch when/why to read them (e.g., "For FooError, see docs/foo.md")
  • If guidance exceeds ~5 lines, it belongs in a skill or rule instead

Root vs Subdirectory

Root (~100-200 lines): Project-wide constraints, build/test commands, architecture. Loaded every session.

Subdirectory (<50 lines): Only create when:

  • Directory has >5 files or >3 subdirectories
  • Local conventions differ from project standards
  • Non-obvious constraints specific to this directory

Don't repeat parent CLAUDE.md content. Don't explain what's obvious from the directory name.

When to Use Something Else

  • >5 lines of domain knowledge → Skill (loaded on-demand, not every session)
  • File-type-specific constraints → Rule with paths frontmatter
  • Deterministic enforcement → Hook (can't be ignored)

Auditing Existing CLAUDE.md

For each line, ask: "Would Claude's behavior change if I removed this?" If no, cut it.

Signs of bloat:

  • 300 lines

  • Claude ignores rules despite them being there (context dilution)
  • Generic best practices Claude already knows
  • Duplicated information from parent CLAUDE.md files

When adding content, always propose pruning alongside additions. The file should get tighter over time, not longer.

From the CaptainCrouton89/crouton-kit README

crouton-kit — a Claude Code plugin marketplace: slash commands, agents, hooks and skills for development workflows

crouton-kit

plugins license

crouton-kit is a marketplace of plugins for Claude Code. The registry is .claude-plugin/marketplace.json, and each plugin is a directory under plugins/. A plugin is made of slash commands, background agents, auto-applied rules, lifecycle hooks and skills, in whatever mix it needs.

The plugins cover day-to-day development work: committing and opening pull requests (git-smart), code review and debugging (devcore), a requirements-to-review feature workflow (rpi), frontend design (web), Linear issues (linear), and guides for writing Claude Code artifacts such as hooks, rules and skills (authoring). A few wrap other Crouton Labs tools: crtr routes slash commands to the crouter CLI, grove manages parallel project instances, capture takes screenshots and HAR files through the Chrome DevTools Protocol, and humanloop covers the hl decision TUI and termrender.

Install

Inside Claude Code, add the marketplace, then install the plugins you want:

/plugin marketplace add crouton-labs/crouton-kit
/plugin install git-smart@crouton-kit

Commands are namespaced by plugin, so the one above gives you /git-smart:commit, /git-smart:pr, /git-smart:push, /git-smart:rebase and /git-smart:save. After the marketplace updates, run /reload-plugins to pick up the new version.

Some plugins need tools outside Claude Code. crtr needs the crtr binary on your PATH, and ai-cli runs a bundled script that calls the Claude Code SDK (see below). Each plugin's plugin.json says what it requires.

Plugins

PluginWhat it does
devcoreCore development agents and code quality hooks
git-smartSmart git commits with security and quality review
rpiFeature development workflow: arch → plan → implement → review → fix
learnInteractive commands to help you understand code
knowledge-captureRequirements gathering, interviews, and learning commands
dev-utilitiesDeveloper utilities (notifications, command creation)
webWeb development tools including frontend design workflows
hookifyCreate configurable hooks from markdown rule files
linearLinear CLI integration: context injection, skill reference, issue management
authoringGuides for authoring CLAUDE.md, hooks, rules, skills, commands and scripts
ai-cliCLI for running Claude Code SDK sessions with configurable modes
ai-workflowMulti-step agent workflows: chain headless ai-cli runs with branching
captureApp state capture (screenshots, HAR, console, logs) via CDP
socialX (Twitter) posting, engagement and growth tools
humanloopHuman-in-the-loop decision TUI (hl) and terminal rendering (termrender)
groveManage parallel project instances: plant, adopt, uproot, monitor
crtrRouting-only slash commands that bridge Claude Code to the crtr CLI

Develop

git clone git@github.com:crouton-labs/crouton-kit.git
cd crouton-kit
claude --plugin-dir ./plugins/devcore --plugin-dir ./plugins/web   # load plugins from the checkout

A new plugin needs two files: plugins/<name>/.claude-plugin/plugin.json and an entry for it in .claude-plugin/marketplace.json. Without the registry entry Claude Code does not see the plugin. Do not edit versions by hand: a GitHub Actions workflow bumps the version in both files on every push to main, based on the conventional commit prefix (feat: is minor, fix: and the rest are patch, feat!: is major). The authoring guide is plugins/CLAUDE.md, and bin/new-worktree creates a sibling git worktree for a new branch.

ai-cli is the one plugin with a build step. From plugins/ai-cli/, npm run build bundles src/cli.ts into bin/ai (a built copy is committed), and node bin/ai -m <mode> -p "<prompt>" runs a Claude Code session in one of the modes in modes/*.md. node bin/ai --list shows the modes.

Details

Marketplace
CaptainCrouton89/crouton-kit
Source
plugins/authoring
Category
Community
Keywords
authoring, guides, claude-md, hooks, rules, skills
Listed since
Apr 7, 2026

Questions

What does the authoring plugin add to Claude Code?

The authoring plugin is a set of guides for writing Claude Code artifacts. Its skills cover CLAUDE.md files, hooks, rules, skills, slash commands and scripts, and it also includes skills on CLI design, context management, evaluation and quality gates, and tool design.

Which skill should I use to write or audit a CLAUDE.md file?

The claude-md skill in the authoring plugin gives best practices for writing effective CLAUDE.md files. Use it when creating, updating or auditing CLAUDE.md files for projects or directories.

How do I install the authoring plugin?

Run /plugin marketplace add CaptainCrouton89/crouton-kit inside Claude Code first, then run /plugin install authoring@crouton-kit. The plugin is part of the crouton-kit marketplace, which also includes plugins for git, code review and frontend design.

Where does the authoring plugin stand in the Skill & Plugin Building category?

The authoring plugin is listed in the Skill & Plugin Building category on Claude Marketplaces, alongside example-skills, prompts.chat, plugin-dev, ruflo-plugin-creator and mcp-builder. It stands out by covering guides for several kinds of Claude Code artifacts in one plugin.

More from CaptainCrouton89/crouton-kit

All 19

Similar to authoring

More Skill & Plugin Building