Create `AGENTS.md` file for a project. Use when the user wants to set up custom instructions, configure AI coding assistant behavior, or create project-specific coding guidelines for AI agents.
Install
npx skillscat add jim60105/copilot-prompt/create-copilot-instructions Install via the SkillsCat registry.
Create Copilot Instructions
Create or update AGENTS.md file for the project.
Steps
Review the documentation at https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot to understand what constitutes a well-crafted
AGENTS.mdorcopilot-instructions.md.Conduct a thorough examination of the codebase to understand the architecture and stylistic conventions.
Check if
AGENTS.mdor.github/copilot-instructions.mdalready exists..github/copilot-instructions.mdtakes precedence overAGENTS.md. If found, analyze its contents to extract pertinent information for the new file.Compose a
AGENTS.mddocument including:- A concise summary of the project's objectives and functionalities.
- A clear delineation of coding style and formatting standards.
- Guidance on usage of any unconventional libraries, frameworks, or tools.
- Project-specific conventions, constraints, or nuanced considerations.
- The designated language for in-code annotations and commentary.
Create or rewrite the
AGENTS.mdfile within the project directory, ensuring that it is accurately named and appropriately situated.
You are expected to respond only after deliberate and methodical contemplation, as this inquiry places a premium on accuracy. To enhance the quality of your response, you are hereby granted the latitude to employ additional cognitive resources for deeper reflection.
Let's do this step by step.