Writing Agents

Creates, updates, and corrects custom agent files (*.agent.md) for GitHub Copilot in VS Code. Covers the full agent lifecycle: routing decision, frontmatter fields (name, description, tools, agents, handoffs, model control, user-invokable, disable-model-invocation), persona design, procedure writing, output format definition, rule constraints, agent chains (RPI pattern), subagent architecture, and cross-model validation. Use when: creating a new agent, updating or improving an existing agent, fixing a broken agent, designing an agent chain or subagent architecture, converting a repeated workflow into an agent, or reviewing an agent for anti-patterns. Triggers on: 'create agent', 'write agent', 'new agent', 'update agent', 'fix agent', 'agent.md', 'agent chain', 'handoff', 'agent writer', 'custom agent', 'agent spec', 'subagent', 'coordinator agent', 'RPI pattern'. Do not use for: writing copilot-instructions.md, SKILL.md, prompt.md, hook configurations, or MCP servers.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/pslits--copilot-session-feedback--writing-agents commit cd6fbb2349

Frequently asked questions

npx skillmds@latest add tomevault-io/writing-agents-3