AGENTS.md Writing Skill for ChatGPT: Keep Standing Repository Instructions Grounded
Draft concise project guidance from supplied conventions, commands, and recurring mistakes. Place information by repository-wide, directory-specific, or on-demand relevance.
中文Install in ChatGPT
Requires a ChatGPT workspace where you can create skills. This is a text adaptation of the pinned GitHub source.
- Review the inputs and outputs in the pinned .agents/skills/writing-agents-md/SKILL.md.
- In ChatGPT, open Plugins, Skills, Create, and Create with editor.
- Write the skill rules using the workflow described here. Provide current guidance, verified conventions, test commands, and recurring pitfalls.
- Save the skill and check the fictional example in a new chat.
Example task
A fictional root guide mixes generic TypeScript advice, a custom generation command, and an API-only contract. Propose a lean structure.What to check
Keep the shared custom command at root, put the API contract in its scope, and shorten generic material. Explain when each reference applies.
Original SKILL.md on GitHub · Updated
Frequently asked question
Should every team suggestion go in root AGENTS.md?
Check scope, discoverability in code or CI, and cost of omission. Put local or occasional material in scoped instructions or references.