/universal-agent-skills:write-agent-instructionsfrom universal-agent-skills
Write an accurate AGENTS.md or CLAUDE.md with verified commands, structure, conventions, boundaries and pitfalls, plus thin pointer files for other agents. Use when the user asks for an AGENTS.md, CLAUDE.md, Copilot instructions or Cursor rules.
Ships in universal-agent-skills. 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.
Read when SKILL.md points to them.
Write the instruction file that tells AI coding agents how to work in this repository, so every agent and every session starts with the same accurate knowledge of how to build, test and change the project, and the same boundaries. The file is for agents, but it is read and maintained by people, so it has to stay short and true.
Text given with the skill invocation overrides these defaults.
Agents can be all or a list, for example "Claude Code and Codex". Write the instruction file in English unless the repository's documentation is consistently in another language.
AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, .cursor/rules/, .windsurf/rules/, .clinerules and similar; README, CONTRIBUTING and CI configuration. Extend and correct existing files rather than duplicating them.AGENTS.md unless the repository already uses another name) using the structure below.CLAUDE.md that imports or points to the canonical file, and a .github/copilot-instructions.md, GEMINI.md or Cursor rules that reference it, so there is one source of truth. Check each agent's current documentation for the file name and format it expects, since these change.make test before finishing" rather than "Testing is important".What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub 26zl/universal-agent-skills --plugin universal-agent-skills41 skills in this plugin
/accessibility-auditAudit a user interface against every WCAG 2.2 A and AA criterion with evidence, fix safe barriers, and produce a manual test plan. Use when the user asks about accessibility, WCAG, screen readers, keyboard use or contrast./ai-feature-reviewReview LLM, agent, retrieval and ML features for reliability, evaluation, safety, privacy, cost and user experience. Use when the user asks to review an AI feature, prompts, RAG, agents with tools or a trained model./api-design-reviewReview REST, GraphQL, gRPC, WebSocket, SSE, webhook and SDK interfaces for consistency, errors, pagination, versioning, compatibility and documentation. Use when the user asks for an API design review, an API consistency check or a breaking-change assessment./architecture-reviewAssess architecture and codebase health: boundaries, consistency, runtime qualities, evolvability, hotspots and technical debt, with ranked risks and a prioritized plan. Use when the user asks whether the architecture fits, how healthy the codebase is, or which technical debt to pay first./cli-and-scripts-auditAudit command-line tools, shell and PowerShell scripts, installers, setup scripts and dotfiles for safety, robustness, portability, testing and distribution, and fix the safe parts. Use when the user asks to review a CLI, a shell or PowerShell script, an installer or a setup tool./coding-styleKeep code comments and docstrings concise, neutral, human-authored in tone, and written in English unless another language is required. Use when writing, refactoring, or reviewing code where comments, identifiers, or docstrings may be added or changed; do not use to shorten required public API documentation, safety notes, or legal notices.