文档 Agent md
- 作者仓库星标 0
- 作者仓库 skills-registry
Docs Agent MD
Use this skill to maintain the repository root AGENTS.md as a minimal,
repo-grounded document.
Required Inputs
- Repository root containing
AGENTS.md - Current branch files used as source of truth
If AGENTS.md is missing, create it at the repository root and still keep the
scope limited to that file.
Audit Check
Before updating AGENTS.md, determine the current local date in YYYY-MM-DD
format and inspect docs/audit/.
- If any audit filename starts with today's date, treat that as the current audit input.
- If no audit filename starts with today's date, ask the user whether to run
$docs-auditbefore continuing. - If the user wants the audit, use
$docs-auditfirst and then continue with the refreshed report.
Accept both date-only and timestamped report names, for example:
docs/audit/2026-03-24.mddocs/audit/2026-03-24_09:15:00.md
Workflow
- Read the current
AGENTS.md. - Check for a same-day audit in
docs/audit/. - Inspect current repository truth before editing:
git status --short- recent commits such as
git log --oneline -n 10 - runtime and config files referenced by
AGENTS.md - CI and policy files referenced by
AGENTS.md
- Use
references/agents-md-template.mdas the required output structure. - Update only
AGENTS.md. - Re-read the final file for structure, wording, and claim accuracy.
Content Rules
- Keep the document grounded in repository-observable facts.
- Prefer code, config, and CI over prose docs when they conflict.
- Preserve the current 5-section layout unless the user explicitly asks for a different structure.
- Keep the document minimal; avoid expanding it into a policy manual.
- State when a rule is observed guidance rather than hard enforcement.
- Do not invent ownership, deployment guarantees, or runtime behavior.
Section Contract
Follow the exact section order in references/agents-md-template.md:
## 1. Purpose## 2. Repository Overview## 3. Agent Roles## 4. Coding Standards## 5. Safety & Constraints
Boundaries
Allowed work:
- Read docs, audits, code, config, CI, and git metadata needed to verify
AGENTS.md - Update
AGENTS.md
Default write scope:
AGENTS.mdonly
Do not do this by default:
- Rewrite broader repository docs
- Edit
.github/workflows/*, policy files, or API contract artifacts as part of anAGENTS.mdrefresh - Expand the task into a full docs audit when the user only asked for
AGENTS.md
Redirects
- Use
$docs-auditfor full documentation accuracy audits and dated audit reports indocs/audit/. - Use
$docs-featurefordocs/features/*authoring and index reconciliation. - Use other repository docs skills when the target is not the root
AGENTS.md.
Bundled Resources
references/agents-md-template.md: Required output template and section intent for the rootAGENTS.md.
<!-- tomevault:4.0:skill_md:2026-05-23 -->Source: CMSgov/emmy-api — distributed by TomeVault.
- 流狐分类
- 安全
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Repository root containing AGENTS.md Current branch files used as source of truth If AGENTS.md is missing, create it at the repository root and still keep the
Before updating AGENTS.md, determine the current local date in YYYY-MM-DD format and inspect docs/audit/. If any audit filename starts with today's date, treat that as the current
Read the current AGENTS.md. Check for a same-day audit in docs/audit/. Inspect current repository truth before editing:
Keep the document grounded in repository-observable facts. Prefer code, config, and CI over prose docs when they conflict. Preserve the current 5-section layout unless the user explicitly asks for a
Follow the exact section order in references/agents-md-template.md: 1. Purpose 2. Repository Overview
Allowed work: Read docs, audits, code, config, CI, and git metadata needed to verify AGENTS.md
# Docs Agent MD
Use this skill to maintain the repository root `AGENTS.md` as a minimal,
repo-grounded document.
## Required Inputs
- Repository root containing `AGENTS.md`
- Current branch files used as source of truth
If `AGENTS.md` is missing, create it at the repository root and still keep the
scope limited to that file.
## Audit Check
Before updating `AGENTS.md`, determine the current local date in `YYYY-MM-DD`
format and inspect `docs/audit/`.
- If any audit filename starts with today's date, treat that as the current
audit input.
- If no audit filename starts with today's date, ask the user whether to run
`$docs-audit` before continuing.
- If the user wants the audit, use `$docs-audit` first and then continue with
the refreshed report.
Accept both date-only and timestamped report names, for example:
- `docs/audit/2026-03-24.md`
- `docs/audit/2026-03-24_09:15:00.md`
## Workflow
1. Read the current `AGENTS.md`.
2. Check for a same-day audit in `docs/audit/`.
3. Inspect current repository truth before editing:
- `git status --short`
- recent commits such as `git log --oneline -n 10`
- runtime and config files referenced by `AGENTS.md`
- CI and policy files referenced by `AGENTS.md`
4. Use `references/agents-md-template.md` as the required output structure.
5. Update only `AGENTS.md`.
6. Re-read the final file for structure, wording, and claim accuracy.
## Content Rules
- Keep the document grounded in repository-observable facts.
- Prefer code, config, and CI over prose docs when they conflict.
- Preserve the current 5-section layout unless the user explicitly asks for a
different structure.
- Keep the document minimal; avoid expanding it into a policy manual.
- State when a rule is observed guidance rather than hard enforcement.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Required Inputs → Audit Check → Workflow → Content Rules → Section Contract → Boundaries
要点 -> Use this skill to maintain the repository root AGENTS.md as a minimal, repo-grounded document. · If AGENTS.md is missing, create it at the repository root and still keep the scope limited to that file. · Before updating AGENTS.md, determine the current local date in YYYY-MM-DD format and inspect docs/audit/. · - If any audit filename starts with today's date, treat that as the current audit input. · 1. Read the current AGENTS.md. · - Keep the document grounded in repository-observable facts. · 1. 1. · - Use $docs-audit for full documentation accuracy audits and dated audit reports in docs/audit/.
文件/命令 -> AGENTS.md · YYYY-MM-DD · docs/audit/ · $docs-audit · docs/audit/2026-03-24.md · docs/audit/2026-03-2409:15:00.md · git status --short · git log --oneline -n 10
内容 SHA-256 -> 49c6817550e1
方法与流程
适用与边界
原文中的明确线索
AGENTS.md、YYYY-MM-DD、docs/audit/、$docs-audit、docs/audit/2026-03-24.md、docs/audit/2026-03-2409:15:00.md、git status --short、git log --oneline -n 10