Agent Skills › videojs/video.js › maintain-agent-docs

maintain-agent-docs

GitHub

维护仓库 Agent 文档,处理 AGENTS.md 兼容性、技能漂移及重复指令。通过更新源指针、移除过时指南和运行工作区检查来优化上下文预算,确保文档与可执行源码一致。

.agents/skills/maintain-agent-docs/SKILL.md videojs/video.js

触发场景

需要清理重复或过时的 Agent 指导内容 检查 AGENTS.md 与 CLAUDE.md 的兼容性及技能漂移 优化上下文预算或修复路由逻辑

安装

npx skills add videojs/video.js --skill maintain-agent-docs -g -y
更多选项

非标准路径

npx skills add https://github.com/videojs/video.js/tree/main/.agents/skills/maintain-agent-docs -g -y

不安装直接使用

npx skills use videojs/video.js@maintain-agent-docs

指定 Agent (Claude Code)

npx skills add videojs/video.js --skill maintain-agent-docs -a claude-code -g -y

安装 repo 全部 skill

npx skills add videojs/video.js --all -g -y

预览 repo 内 skill

npx skills add videojs/video.js --list

SKILL.md

Frontmatter
{
    "name": "maintain-agent-docs",
    "description": "Maintain repository agent guidance. Use for AGENTS.md, CLAUDE.md compatibility, skill drift, duplicated instructions, or context budgets."
}

Agent documentation

Keep agent guidance as a routing and correction layer over project sources, not a second documentation system.

Placement

  • Put durable, broadly applicable repository facts in the nearest AGENTS.md.
  • Keep each CLAUDE.md as @AGENTS.md unless Claude-only behavior is genuinely required.
  • Put an explicit, repeatable vertical workflow in a skill.
  • Keep checked-in skills as direct children of .agents/skills/; treat .claude/skills/ and .opencode/skills/ as generated directory aliases.
  • Put conditional detail in a directly linked skill reference.
  • Put rules that can be mechanically checked in code, tests, lint, hooks, or build/scripts/check-workspace.mjs.
  • When the user explicitly requests a durable record, put architecture rationale in internal/design/, internal/decisions/, or rfc/; never create one as a default by-product of other work.

Process

  1. Identify the repeated failure or new fact and the executable source that proves it.
  2. Search existing agent docs and skills for overlap or contradiction.
  3. Prefer updating a source pointer or validator over copying code, schemas, commands, or examples.
  4. Remove obsolete guidance in the same change.
  5. Keep skill frontmatter portable: name and a precise description only.
  6. Run pnpm check:workspace and review the reported context budgets.

Do not add generic software advice the model already knows. Add a rule only when an agent would plausibly get this repository wrong without it.

Example

Input: “Remove duplicated setup instructions from agent guidance.”

Output: Smaller routing docs that point to executable sources, corrected aliases, passing validators, and an updated context-budget report.

版本历史

  • 8a0a3d8 当前 2026-10-20 08:03

同 Skill 集合

.agents/skills/change-spf-behavior/SKILL.md
.agents/skills/commit-pr/SKILL.md
.agents/skills/configure-vite-plus/SKILL.md
.agents/skills/create-html-component/SKILL.md
.agents/skills/create-issue/SKILL.md
.agents/skills/create-react-component/SKILL.md
.agents/skills/create-skill/SKILL.md
.agents/skills/create-spf-behavior/SKILL.md
.agents/skills/design-api/SKILL.md
.agents/skills/document-spf-feature/SKILL.md
.agents/skills/document-spf-use-case/SKILL.md
.agents/skills/implement-accessible-ui/SKILL.md
.agents/skills/implement-spf-feature/SKILL.md
.agents/skills/implement-spf-use-case/SKILL.md
.agents/skills/implement-ui-transition/SKILL.md
.agents/skills/investigate-issue/SKILL.md
.agents/skills/maintain-tests/SKILL.md
.agents/skills/maintain-vjsc-skin-gaps/SKILL.md
.agents/skills/review-accessibility/SKILL.md
.agents/skills/review-api/SKILL.md
.agents/skills/review-branch/SKILL.md
.agents/skills/review-docs/SKILL.md
.agents/skills/review-html-component-design/SKILL.md
.agents/skills/review-html-component/SKILL.md
.agents/skills/review-react-component-design/SKILL.md
.agents/skills/review-react-component/SKILL.md
.agents/skills/write-api-reference/SKILL.md
.agents/skills/write-design-doc/SKILL.md
.agents/skills/write-docs/SKILL.md
.agents/skills/write-html-component-design/SKILL.md
.agents/skills/write-locale-translations/SKILL.md
.agents/skills/write-react-component-design/SKILL.md
.agents/skills/write-rfc/SKILL.md
.agents/skills/create-rolldown-plugin/SKILL.md
.agents/skills/create-vite-plugin/SKILL.md
.agents/skills/create-vjsc-component/SKILL.md
.agents/skills/transform-rolldown-code/SKILL.md

元信息

文件数
0
版本
8a0a3d8
Hash
d3539b39
收录时间
2026-10-20 08:03

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 02:59
浙ICP备14020137号-1