framework/templates/repo-files-templates/root/.agents/skills/agent-file-standards/SKILL.md
Operational checklists for every repo file format defined in A1.1: .agent.md, AGENTS.md, llms.txt, SKILL.md, ADR, OTel trace, mcp.json, .prompt.md, CLAUDE.md. Load when creating or reviewing any of these file types.
npx skillsauth add alexandrsurkov/forgentframework agent-file-standardsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Universal skill. Load whenever creating, editing, or reviewing any standard repo file:
.agent.md,AGENTS.md,llms.txt,SKILL.md,ADR, trace files,mcp.json,.prompt.md,CLAUDE.md.
.agent.md)AGENTS.md, llms.txt, or copilot-instructions.mdmcp.json).agent.md — Creating or Modifying an AgentRequired frontmatter fields:
---
description: <one-line summary of the agent's role and capability>
name: <kebab-case name matching the file name>
tools: ['readFile', ...] # minimal set — see least-privilege below
---
Checklist:
description is one sentence: role + what it can do (not what it cannot)tools is the minimal set for this agent's specific role (least-privilege — A1.6)['readFile', 'fileSearch', 'textSearch']name: field exactlyAGENTS.md agent table updated: name, file, mode, role.github/AGENTS_CHANGELOG.md entry addedllms.txt updated if agent is externally visibleTool reference by role:
| Role | Allowed tools |
|---|---|
| Orchestrator | agent, readFile, createFiles, editFiles (sessions/traces only), fileSearch, textSearch |
| Executor (editor) | readFile, editFiles, createFiles, fileSearch, textSearch |
| Critic | readFile, fileSearch, textSearch |
| Architect / advisor (read-only in this repo) | readFile, fileSearch, textSearch, fetch, webSearch, githubRepo |
AGENTS.md — Updating the Repo MapChecklist (any change to agents or repo structure):
name, file, mode, role — all four columns filled## What lives here path table updated if files moved## Active ADRs section updated if new ADR createdSKILL.md — Creating a Knowledge PackageRequired frontmatter:
---
name: <kebab-case>
description: "<one line: what domain + explicit trigger phrases>"
---
Content checklist:
## When to Load This Skill section (explicit trigger conditions)01-appendix-a1-ai-and-llm-standards.md section(s)ADR — Recording an Architecture DecisionWhen to create an ADR:
File location: .github/decisions/ADR-XXX-<slug>.md
Required sections:
# ADR-XXX — <title>
## Status
Proposed | Accepted | Superseded by ADR-YYY
## Context
<Why this decision was needed>
## Decision
<What was decided — one sentence>
## Consequences
<What changes, what becomes easier, what becomes harder>
Checklist:
AGENTS.md ## Active ADRs table updatedFile naming (recommended): .agents/traces/<YYYYMMDDTHHMMSSZ>-<task-slug>-<rand4>.jsonl
File naming (legacy — avoid): .agents/traces/<YYYYMMDD>-<slug>.jsonl (higher collision risk; keep only for back-compat)
Required span fields:
{"ts": "<ISO8601>", "trace_id": "<YYYYMMDDTHHMMSSZ>-<task-slug>-<rand4>", "span_id": "s<NN>", "parent_span_id": "<s<NN>|null>", "agent": "<name>", "operation": "plan|execute|critique|escalate|complete", ...}
Checklist:
trace_id = filename without .jsonlparent_span_id: null; all child spans reference rootspan_id increments: s01, s02, … (zero-padded)operation is one of: plan / execute / critique / escalate / completeiteration; critique spans include blockers + warningstotal_iterations.gitignore ignores .agents/traces/*.jsonl.agents/traces/README.md is allowlisted so it can be committedmcp.json — Adding an MCP ServerFile location: .vscode/mcp.json
Checklist:
stdio (preferred) or httpAGENTS.md ## What lives here updated if new server is part of the repollms.txt — Updating the LLM OverviewUpdate llms.txt when:
Checklist:
name: fields in .agent.md frontmatter| I want to... | Use |
|---|---|
| Define an agent with tools and system prompt | .agent.md |
| Give all agents shared workspace context | copilot-instructions.md |
| Give the orchestrator the repo map | AGENTS.md |
| Package reusable domain knowledge | SKILL.md |
| Share a reusable parametrized prompt | .prompt.md |
| Record a durable architectural decision | ADR in .github/decisions/ |
| Connect an external tool to agents | MCP server + mcp.json |
| Write an LLM-friendly repo overview | llms.txt |
| Log agent execution for audit | OTel trace in .agents/traces/ |
| Support Claude-based workflows | CLAUDE.md |
testing
TODO: one line describing the domain + explicit trigger phrases
development
Frontend skill pack: UI conventions, testing, build, and performance constraints
development
DevOps skill pack: CI/CD, environments, IaC, secrets policy, and observability
development
Backend skill pack: architecture, conventions, testing, and ops for the backend component