skills / commands
AGENTS.md3.1k starsChanged 9 months agoMITView on GitHub
Generate AGENTS.md files for pertinent repository folders — only where missing. Provides coding agents with build commands, testing instructions, code style, project structure, and boundaries.
Trending
Quiet since July.thin dataabout the whole repository
Who's talking about microsoft/skills
- @yug1224.com“AIコーディングエージェントがAzure開発を最適化するためのスキルやMCP設定集らしい 現場でAIの精度を高めて開発を効率化したいときに試したい yug1224 starred microsoft/skills…”Bluesky · Jul 4, 2026 · 2 likes
- A Hacker News story“Microsoft Skills”Hacker News · Feb 10, 2026 · 2 points
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository211 other files it gives its agents.
- Agents.mdAGENTS.md
- .github/plugins/azure-sdk-python/skills/azure-ai-projects-py/references/agents.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- cost-analysisSkill
- cost-estimationSkill
- cost-governanceSkill
- cost-optimizationSkill
- azure-kusto-graphSkill
- azure-kusto-irql-graphSkill
- azure-kusto-irqlSkill
- azure-local-multi-rackSkill
- azure-localSkill
- azure-ai-agents-persistent-dotnetSkill
- azure-ai-document-intelligence-dotnetSkill
- azure-ai-openai-dotnetSkill
- azure-ai-projects-dotnetSkill
- azure-ai-voicelive-dotnetSkill
- azure-eventgrid-dotnetSkill
- azure-eventhub-dotnetSkill
- azure-identity-dotnetSkill
- azure-maps-search-dotnetSkill
- azure-mgmt-apicenter-dotnetSkill
- azure-mgmt-apimanagement-dotnetSkill
- azure-mgmt-applicationinsights-dotnetSkill
- azure-mgmt-arizeaiobservabilityeval-dotnetSkill
- azure-mgmt-botservice-dotnetSkill
- azure-mgmt-fabric-dotnetSkill
- azure-mgmt-mongodbatlas-dotnetSkill
- azure-mgmt-weightsandbiases-dotnetSkill
- azure-resource-manager-cosmosdb-dotnetSkill
- azure-resource-manager-durabletask-dotnetSkill
- azure-resource-manager-mysql-dotnetSkill
- azure-resource-manager-playwright-dotnetSkill
- azure-resource-manager-postgresql-dotnetSkill
- azure-resource-manager-redis-dotnetSkill
- azure-resource-manager-sql-dotnetSkill
- azure-search-documents-dotnetSkill
- azure-security-keyvault-keys-dotnetSkill
- azure-servicebus-dotnetSkill
- m365-agents-dotnetSkill
- microsoft-azure-webjobs-extensions-authentication-events-dotnetSkill
- azure-ai-agents-persistent-javaSkill
- azure-ai-anomalydetector-javaSkill
- azure-ai-contentsafety-javaSkill
- azure-ai-formrecognizer-javaSkill
- azure-ai-projects-javaSkill
- azure-ai-vision-imageanalysis-javaSkill
- azure-ai-voicelive-javaSkill
- azure-appconfiguration-javaSkill
- azure-communication-callautomation-javaSkill
- azure-communication-callingserver-javaSkill
- azure-communication-chat-javaSkill
- azure-communication-common-javaSkill
- azure-communication-sms-javaSkill
- azure-compute-batch-javaSkill
- azure-cosmos-javaSkill
- azure-data-tables-javaSkill
- The first 60 shown.
The file
We split this agents.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Check if AGENTS.md exists (case-sensitive)
- Distinctive: line 19
If YES → skip, report: "✅ AGENTS.md already exists in [folder] — skipping"
- Distinctive: line 20
If NO → generate a new one
- Distinctive: line 113
Root AGENTS.md: should cover:
- Distinctive: line 125
Should NOT repeat root-level content
- Distinctive: line 126
Should be concise — the root AGENTS.md handles the big picture
- Distinctive: line 189
After processing all folders, output a summary:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deep Wiki: Generate AGENTS.md Files
You are a Technical Documentation Architect specializing in coding agent instructions. Generate tailored AGENTS.md files for pertinent folders in this repository.
What is AGENTS.md
AGENTS.md complements README.md. While README is for human contributors, AGENTS.md provides the extra context coding agents need: build commands, test instructions, code conventions, and boundaries. It's a standard, predictable file that any coding agent can find and use.
AGENTS.md ≠ Agent Personas. This is NOT an agent persona file (like .github/agents/*.agent.md). AGENTS.md is project context — the instructions you'd give a new teammate.
⚠️ CRITICAL: Only Generate If Missing
NEVER overwrite an existing AGENTS.md file. For every folder:
- Check if
AGENTS.mdexists (case-sensitive) - If YES → skip, report: "✅ AGENTS.md already exists in [folder] — skipping"
- If NO → generate a new one
This is NON-NEGOTIABLE. Existing AGENTS.md files may have been carefully hand-crafted.
Process
Step 1: Identify Pertinent Folders
Scan the repository and identify folders that should have an AGENTS.md:
Always include:
- Repository root (
./)
Include if they exist:
tests/ortest/— test suitessrc/— source code rootlib/— library codeapp/orapps/*/— application codeapi/— API layerpackages/*/— monorepo packagesservices/*/— microservices
Include if they have their own build system:
- Any folder with
package.json,pyproject.toml,Cargo.toml,*.csproj,go.mod,Makefile
Skip:
node_modules/,dist/,build/,.git/,vendor/,__pycache__/- Generated output directories
- Folders with fewer than 3 source files (unless they have their own package config)
Step 2: Analyze Each Folder
For each pertinent folder, gather:
- Language & Framework — What language(s), what frameworks, what versions
- Build Commands — Read
package.jsonscripts,Makefiletargets,pyproject.tomlscripts,Cargo.toml, CI configs - Test Commands — How to run tests, test framework, how to run a single test
- Entry Points — Main files, index files, app entry points
- Conventions — Look at existing code for naming patterns, import styles, file organization
- CI/CD — Check
.github/workflows/,Jenkinsfile,.gitlab-ci.ymlfor commands - Existing Documentation — Read
README.mdin the folder (don't duplicate it — complement it)
Step 3: Generate AGENTS.md for Each Folder
For each folder where AGENTS.md is missing, generate a file covering the six core areas:
Structure Template
# [Project/Folder Name] — Agent Instructions
## Overview
[1-2 sentences about what this folder/project does and its role in the larger system]
## Build & Run Commands
[Put commands FIRST — agents reference these constantly]
- Build: `exact command with flags`
- Run: `exact command`
- Dev: `exact dev server command`
- Clean: `exact clean command`
## Testing
[Test framework, commands, single-test execution]
- Run all: `exact test command`
- Run one: `exact single test command`
- Coverage: `exact coverage command`
[Test conventions — where tests live, naming patterns]
## Project Structure
[Key directories and what they own — annotated tree]
[Entry points and where to add new features]
## Code Style
[Naming conventions — be specific]
[One real code example showing the project's actual style]
## Git Workflow
[Branch naming, PR format, pre-commit checks]
## Boundaries
- ✅ **Always do:** [safe operations the agent can freely perform]
- ⚠️ **Ask first:** [operations needing confirmation — schema changes, dependency additions]
- 🚫 **Never do:** [hard rules — commit secrets, modify vendor, touch production configs]
## Documentation
[If wiki/ directory or llms.txt exists, list them here]
- Wiki: `wiki/` — Generated documentation with architecture, onboarding, and API reference
- LLM Context: `llms.txt` — Quick project summary for LLMs (see also `wiki/llms-full.txt` for full content)
- Onboarding: `wiki/onboarding/` — Audience-tailored guides (contributor, staff engineer, executive, PM)Step 4: Root AGENTS.md vs Nested
Root AGENTS.md should cover:
- Overall project description and purpose
- Tech stack with versions
- Global dev environment setup
- Global conventions that apply everywhere
- Security considerations
- Links to key documentation
Nested AGENTS.md (e.g., tests/, packages/foo/) should cover:
- That specific folder's purpose and scope
- Folder-specific commands (test commands, build commands)
- Folder-specific conventions
- Should NOT repeat root-level content
- Should be concise — the root AGENTS.md handles the big picture
Wiki AGENTS.md (wiki/AGENTS.md) — Generate for the wiki folder if it doesn't already exist (same only-if-missing guard). Use this template:
# Wiki — Agent Instructions
## Overview
Generated VitePress documentation site for this project. Contains architecture docs, onboarding guides, and API references with source-linked citations and dark-mode Mermaid diagrams.
## Build & Run Commands
- Install: `npm install`
- Dev server: `npm run dev`
- Build: `npm run build`
- Preview: `npm run preview`
## Wiki Structure
- `index.md` — Landing page with project overview and navigation
- `onboarding/` — Audience-tailored guides (contributor, staff engineer, executive, product manager)
- `{NN}-{section}/` — Numbered documentation sections
- `llms.txt` — LLM-friendly project summary (links + descriptions)
- `llms-full.txt` — LLM-friendly full content (inlined pages)
- `.vitepress/config.mts` — VitePress config with sidebar and Mermaid setup
- `.vitepress/theme/` — Dark theme (custom.css) and zoom handlers (index.ts)
## Content Conventions
- All Mermaid diagrams use dark-mode colors (fills `#2d333b`, borders `#6d5dfc`, text `#e6edf3`)
- Every page has VitePress frontmatter (`title`, `description`)
- Citations link to source repository with line numbers
- Tables include a "Source" column with linked citations
- Mermaid diagrams followed by `<!-- Sources: ... -->` comment blocks
## Boundaries
- ✅ **Always do:** Add new pages following existing section numbering, use dark-mode Mermaid colors
- ⚠️ **Ask first:** Change theme CSS, modify VitePress config, restructure sections
- 🚫 **Never do:** Delete generated pages without understanding dependencies, use light-mode colors, remove citation links
## Documentation
- Wiki: `./` — This folder is the wiki
- LLM Context: `llms.txt` — Quick summary; `llms-full.txt` — Full content
- Onboarding: `onboarding/` — Four audience-tailored guidesAdapt this template to the actual project — fill in the real section names, technologies, and any project-specific conventions.
Step 5: Generate CLAUDE.md Companion Files
For every folder where you generated an AGENTS.md, also create a CLAUDE.md in the same folder — only if CLAUDE.md does not already exist.
The CLAUDE.md content is always exactly:
# CLAUDE.md
<!-- Generated for repository development workflows. Do not edit directly. -->
Before beginning work in this repository, read `AGENTS.md` and follow all scoped AGENTS guidance.This redirects Claude Code (and similar tools) to the authoritative AGENTS.md. Same only-if-missing guard applies.
Step 6: Report
After processing all folders, output a summary:
## AGENTS.md Generation Report
### Created
- `./AGENTS.md` — Root project instructions
- `./CLAUDE.md` — Companion pointer to AGENTS.md
- `tests/AGENTS.md` — Test harness instructions
- `tests/CLAUDE.md` — Companion pointer to AGENTS.md
### Skipped (already exist)
- `src/AGENTS.md` — already exists
- `src/CLAUDE.md` — already exists
### Not applicable
- `dist/` — generated output (skipped)Quality Rules
- Specific > Generic — "React 18 with TypeScript and Vite" not "React project"
- Commands first — Put executable commands near the top of every AGENTS.md
- Code examples over prose — One real code snippet beats three paragraphs
- Real paths only — Reference actual files/directories in this repo
- No padding — If the folder doesn't have tests, don't invent a testing section
- Grounded in evidence — Every section comes from reading actual project files
- Concise — AGENTS.md should be scannable, not a novel. Target 50-200 lines per file.
$ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

