authoring-agent-docs

Guides writing CLAUDE.md and instruction files that coding agents follow reliably.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/missingbulb/GoogleCalendarEventCreator --skill authoring-agent-docs-missingbulb
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: authoring-agent-docs
Source: https://github.com/missingbulb/GoogleCalendarEventCreator/tree/main/.claudinite/shared/packs/basics/skills/authoring-agent-docs
Command: npx skills add https://github.com/missingbulb/GoogleCalendarEventCreator --skill authoring-agent-docs-missingbulb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Instruction files for coding agents often fail because they are bloated, vague, or contradictory, causing agents to ignore the rules that matter. This Skill provides Anthropic's published guidance for writing CLAUDE.md files, convention docs, and routine specs that agents actually follow. ## Core Features & Use Cases - Rule selection criteria: Decide what belongs in an instruction file (build commands, repo etiquette, non-obvious gotchas) versus what the agent can infer from code. - Writing and structure guidance: Concrete, verifiable rules with motivation stated, organized under headers, with canonical examples in <example> tags. - Maintenance practices: Prune ignored rules, remove contradictions, rewrite withdrawn practices in the present tense, and keep files under 200 lines. - Use Case: Before editing a project CLAUDE.md that the agent keeps ignoring, load this Skill to diagnose whether the file is too long, the rule is misplaced, or the wording is too vague. ## Quick Start Load the authoring-agent-docs skill before writing or editing my project CLAUDE.md file.

Frequently Asked Questions about authoring-agent-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a CLAUDE.md file that agents actually follow?▼

Keep the file under 200 lines with only facts the agent cannot infer from code, such as build commands and repo etiquette. Write concrete verifiable rules, state the motivation behind each, and give the agent a check it can run like a test suite or linter.

What should I include in a Claude instruction file?▼

Include build and test commands, style rules differing from language defaults, branch and PR conventions, architecture decisions, required env vars, and non-obvious gotchas. Exclude standard conventions, file-by-file codebase descriptions, and frequently changing facts.

Why is my coding agent ignoring rules in CLAUDE.md?▼

The file is likely too long, so the rule is lost in the noise, or the rule is placed in a file the agent never opens when it applies. Prune low-value lines and move the rule into the file the reader is actually using.

How long should a CLAUDE.md file be?▼

Target under 200 lines per CLAUDE.md. Longer files consume more context and reduce adherence, and splitting into imports does not save context because imports still load at session start.

When should rules go in hooks instead of instruction files?▼

Anything that must happen every time, such as blocking a write or running a linter before commit, belongs in a deterministic hook. Instruction files are context the agent tries to follow, with no guarantee of strict compliance.