src/ai/skills/write-agent-context/SKILL.md
Enforces minimal context in agent configuration files like AGENTS.md, CLAUDE.md, GEMINI.md, and *.mdc to improve task success rates and reduce inference costs. Use when writing or modifying agent context files.
npx skillsauth add mkobit/dotfiles write-agent-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A widespread practice in software development is to tailor coding agents to repositories using context files. Recent research indicates that providing excessive repository context tends to reduce task success rates. It also increases inference cost by over 20%. Both LLM-generated and developer-provided context files encourage broader exploration, such as more thorough testing and file traversal. While coding agents tend to respect their instructions, unnecessary requirements make tasks harder.
Therefore, human-written context files must describe only minimal requirements. Do not include generic documentation, tutorials, or non-critical context. Restrict these files to repository-specific constraints and critical architecture maps. Ensure all documentation formats are written with one sentence per line to improve diff readability. Documentation titles and headers must use sentence case.
development
Enforces functional programming, immutability, and strict type safety when writing, reviewing, or editing TypeScript and React code.
development
Enforces ventilated prose and concise technical writing standards when the user is writing or editing standalone documentation files (e.g., Markdown, AsciiDoc). This skill should not be used for code documentation or docstrings.
tools
Provides guidelines and workflows for programmatically reviewing pull requests and creating pending reviews with inline comments using the GitHub CLI and REST API. Use this when instructed to review a PR or when providing feedback.
development
A simple example skill demonstrating the format.