pc-style/pc-skills/generate-agents-md
Claude Code and agent skill by pc-style/pc-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate AGENTS.md file for a codebase to help AI agents understand the project structure, build commands, testing, and conventions. Use when the user asks to create an AGENTS.md, initialize agent documentation, or analyze a codebase for agent context. Also use when setting up a new repository for AI-assisted development.
Install
npx vskill@latest install pc-style/pc-skills/generate-agents-mdSKILL.md
Generate AGENTS.md
Generate an AGENTS.md file containing essential information for AI agents working in this repository.
What to Include
The AGENTS.md file should be ~20 lines and contain:
- Build/lint/test commands - Especially how to run a single test
- Architecture overview - Important subprojects, internal APIs, databases
- Code style guidelines - Imports, conventions, formatting, types, naming, error handling
Process
- First check if AGENTS.md or AGENT.md already exists - if so, update it instead of overwriting
- Check for existing rules files to incorporate:
.cursor/rules/or.cursorrulesCLAUDE.md.windsurfrules.clinerules.goosehints.github/copilot-instructions.md
- Analyze the codebase structure:
- Look at package.json, Cargo.toml, pyproject.toml, etc.
- Identify test frameworks and commands
- Find lint/format configuration files
- Map out the directory structure
- Write concise AGENTS.md (~20 lines)
Output
Save the generated file as AGENTS.md in the repository root.
Example Structure
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggenerate-agents-md/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pc-style/pc-skills/generate-agents-md)