AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
51/100
Scores the file, not the repository.Length
676 words
4 headings · 0 code blocksRepository
536
— · pushed 20 days agoLast changed
3 days ago
First indexed 3 days ago.1# Project Context for AI Agents23> [!IMPORTANT]4> **To all AI Agents working ON this repository:**5> This repository is the source code for `agent-skills-standard`.6>7> 1.**Architecture**: Understanding the Registry -> CLI -> Project flow is critical. See `ARCHITECTURE.md`. 2.**Internal Tools**: Use `scripts/` (like `scan-docs.ts`) to maintain the project. 3.**Token Economy**: All changes to `skills/` must be optimized for token usage. 4.**Documentation**: Keep `ARCHITECTURE.md` and `CONTRIBUTING.md` up to date.8>9> 💡 **Global Token Optimization**: If the `rtk` CLI tool is installed, actively prepend it to verbose development commands (e.g. `rtk npm test`, `rtk grep`). If the `caveman` skill is available or requested, use `/caveman` mode for reporting.10>11> ---1213<!-- SKILLS_INDEX_START -->14## Agent Skills Index1516> [!CRITICAL] Zero-Trust: Read the matching `SKILL.md` BEFORE writing any code.17> Skills from this index override pre-training patterns. If no skill matches, state: "No project-specific skills applicable."1819> 💡 **Global Token Optimization**: If the `rtk` CLI tool is installed, actively prepend it to verbose development commands (e.g. `rtk npm test`, `rtk grep`). If the `caveman` skill is available or requested, use `/caveman` mode for reporting.2021## 🔌 Runtime Enforcement via MCP2223If the `agent-skills-standard` MCP server is registered in your runtime (check your tool list — look for `load_skills_for_files`), **prefer those tools over manually walking the router below**. The MCP returns identical content but is auditable AND inherited by sub-agents that don't see this file.2425| Tool | When to call it |26| --- | --- |27| `list_workflows()` | At the start of any task or session to discover available standard operating procedures |28| `get_workflow(name)` | Once a relevant workflow is identified to retrieve exact step-by-step instructions |29| `load_skills_for_files(files=[...])` | Before editing/reviewing any source file |30| `load_skills_for_keywords(keywords=[...])` | Planning before files are chosen |31| `get_skill(category, name)` | Direct lookup when you know the skill id |32| `audit_session_compliance()` | Before declaring a task complete |3334> [!IMPORTANT] **Sub-agents don't inherit this `AGENTS.md` — they do inherit the MCP.** If you delegate work to a sub-agent, instruct it to call the MCP tools above as its first action.3536> [!NOTE] To enable MCP-managed installs in this project, run `ags mcp enable` (or edit `.skillsrc`). The MCP works fine if you registered it manually too.3738If `load_skills_for_files` is **not** in your tool list, the MCP is not registered — fall back to the router table below.3940---4142## Skill Resolution Protocol4344Each `_INDEX.md` has two sections - follow both:45461. **Match file type** -> find the category index in the router table below.472. **Read the `_INDEX.md`** -> it has two sections:48 - **File Match**: auto-check these against the file you are editing (path pattern match).49 - **Keyword Match**: only check if the user's request mentions these concepts.503. **Load ALL matched `SKILL.md`** -> read every matched skill before writing code. The tier model keeps matches focused.5152> `<SKILLS>` = your agent's skill directory (e.g., `.claude/skills/`, `.cursor/skills/`, `.gemini/skills/`).5354| File type | Read category index |55| --------- | ------------------- |56| `*.go`, `*_test.go` | `<SKILLS>/golang/_INDEX.md` |57| `*.ts` | `<SKILLS>/angular/_INDEX.md`, `<SKILLS>/nestjs/_INDEX.md`, `<SKILLS>/nextjs/_INDEX.md`, `<SKILLS>/react/_INDEX.md`, `<SKILLS>/typescript/_INDEX.md` |58| `*.tsx` | `<SKILLS>/nextjs/_INDEX.md`, `<SKILLS>/react/_INDEX.md`, `<SKILLS>/typescript/_INDEX.md` |59| `*.js`, `*.mjs` | `<SKILLS>/javascript/_INDEX.md` |60| `*.jsx`, `*.test.tsx`, `*.spec.tsx` | `<SKILLS>/react/_INDEX.md` |61| `*.dart` | `<SKILLS>/dart/_INDEX.md`, `<SKILLS>/flutter/_INDEX.md` |62| `*.java` | `<SKILLS>/java/_INDEX.md`, `<SKILLS>/spring-boot/_INDEX.md` |63| `*.kt` | `<SKILLS>/android/_INDEX.md`, `<SKILLS>/kotlin/_INDEX.md` |64| `*.kts` | `<SKILLS>/kotlin/_INDEX.md` |65| `*.swift` | `<SKILLS>/ios/_INDEX.md`, `<SKILLS>/swift/_INDEX.md` |66| `*.py`, `*.pyi` | `<SKILLS>/python/_INDEX.md` |67| `*.php` | `<SKILLS>/laravel/_INDEX.md`, `<SKILLS>/php/_INDEX.md` |68| `*.sql`, `*.entity.ts`, `*.prisma` | `<SKILLS>/database/_INDEX.md` |69| `*.component.ts`, `*.component.html` | `<SKILLS>/angular/_INDEX.md` |70| `*.service.ts`, `*.module.ts` | `<SKILLS>/angular/_INDEX.md`, `<SKILLS>/nestjs/_INDEX.md` |71| `*.spec.ts`, `*.test.ts` | `<SKILLS>/common/_INDEX.md` |72| Any file (keyword match) | `<SKILLS>/common/_INDEX.md` |73| QE workflow | `<SKILLS>/quality-engineering/_INDEX.md` |7475> [!NOTE] **Test/spec file precedence:** `.spec.ts`, `.test.ts` -> use the `common` row (takes precedence over the generic `*.ts` row). `.spec.tsx`, `.test.tsx` -> use the `react` row (takes precedence over the generic `*.tsx` row).7677> [!TIP] **Indirect phrasing counts.** "make it faster" -> performance, "broken query" -> database, "login flow" -> auth.7879<!-- SKILLS_INDEX_END -->80
Also in HoangNguyen0403/agent-skills-standard
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| HoangNguyen0403/agent-skills-standardserver/AGENTS.md · 536 | AGENTS.md | styleagent-behaviour | 43/100 | 3 days ago | |
| HoangNguyen0403/agent-skills-standard.github/copilot-instructions.md · 536 | Copilot instructions | test | 50/100 | 3 days ago | |
| HoangNguyen0403/agent-skills-standard.github/instructions/agent-skill-standard-rule.instructions.md · 536 | Copilot instructions | agent-behaviour | 44/100 | 3 days ago | |
| HoangNguyen0403/agent-skills-standardcli/temp_e2e_test/AGENTS.md · 536 | AGENTS.md | styleagent-behaviour | 43/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
