Agent Skillsdartsim/dart › dart-docs-update

dart-docs-update

GitHub

用于更新DART项目文档及AI指令可见性,或审计文档树以发现并清理陈旧、重复和孤立内容,确保文档准确性与一致性。

.agents/skills/dart-docs-update/SKILL.md dartsim/dart

Trigger Scenarios

需要更新项目文档或README时 请求审计文档库以查找过时或冗余内容时

Install

npx skills add dartsim/dart --skill dart-docs-update -g -y
More Options

Non-standard path

npx skills add https://github.com/dartsim/dart/tree/main/.agents/skills/dart-docs-update -g -y

Use without installing

npx skills use dartsim/dart@dart-docs-update

指定 Agent (Claude Code)

npx skills add dartsim/dart --skill dart-docs-update -a claude-code -g -y

安装 repo 全部 skill

npx skills add dartsim/dart --all -g -y

预览 repo 内 skill

npx skills add dartsim/dart --list

SKILL.md

Frontmatter
{
    "name": "dart-docs-update",
    "description": "DART Docs Update: update docs or AI instruction visibility without code changes, or audit the docs tree for stale, duplicated, and orphaned content"
}

dart-docs-update

Use this skill in Codex to run the DART dart-docs-update workflow. The editable workflow source lives in .claude/commands/; this file is its generated adapter in the shared .agents/skills/ catalog.

Invocation

  • Claude Code: /dart-docs-update <arguments>
  • Codex: $dart-docs-update <arguments>

Treat the text after the skill name as $ARGUMENTS. When the workflow references $1, $2, etc., map those to the positional values supplied by the user.

Command Body

Update documentation: $ARGUMENTS

Required Reading

@AGENTS.md @docs/README.md @docs/AGENTS.md @docs/ai/principles.md @docs/ai/verification.md

For AI instruction or workflow changes, follow the owner read order in docs/ai/README.md; read the relevant tool section of docs/onboarding/ai-tools.md only when compatibility is affected. Load docs/onboarding/changelog.md when making the closeout changelog decision.

Modes

  • <topic> (default): make the requested documentation change.
  • audit [bucket]: find stale, duplicated, unowned, or oversized docs and propose or apply consolidations; limit to one bucket when given.

Workflow

  1. Create a branch from the target branch: git checkout -b docs/<topic> origin/main
  2. For audit, build the finding list first:
    • run pixi run check-docs-policy and collect every failure and advisory (broken links, orphans, dev-task size budgets, dashboard budgets);
    • run pixi run check-architecture-map and, when a build exists, pixi run check-architecture-map-runtime; treat findings as drift of the architecture map views under docs/assets/architecture/ (see the dart-architecture skill for the update procedure);
    • walk the "Keeping Docs Current" table in docs/README.md against the bucket: completed tasks whose folders remain, archived plans still pointing at numbered files, resolved Decision needed blocks, superseded pages, rules copied into more than one doc, running logs in snapshot files, and pages describing a state the code has left behind;
    • for each finding record the owner doc, the proposed action (rewrite, merge, delete, promote, link), and the evidence; prefer deletion and consolidation over new files or sections. Apply the findings that stay within the requested scope and list the rest in the output.
  3. Edit docs and AI workflow sources only:
    • Regular docs: docs/**, README.md, AGENTS.md, CONTRIBUTING.md, and CHANGELOG.md when dart-changelog requires a release-note entry
    • AI source files: .claude/commands/**, .claude/skills/**
  4. For AI workflow changes, edit .claude/ sources and run pixi run sync-ai-commands; do not hand-edit generated .agents/skills/ files (.codex/ is a maintained source)
  5. Classify new or moved docs by lifecycle first, then audience, then topic, using the placement matrix in docs/README.md. For AI docs, keep always-loaded entrypoints compact: improve owner placement or pointers instead of duplicating procedures.
  6. Update indexes and cross-references that point to changed docs; redirect every link into a deleted file.
  7. Use docs/ai/verification.md to select the docs-only or AI docs/adapters gate set, then run pixi run lint before committing
  8. Invoke the dart-changelog routine for the CHANGELOG.md decision and any required entry.
  9. Ask for explicit maintainer/user approval before pushing or opening the PR. After approval, use .github/PULL_REQUEST_TEMPLATE.md and the proper milestone.

Output

  • Docs and AI workflow sources changed
  • For audit: findings applied, findings deferred with their owner, and advisories left in place with the reason
  • Sync and verification commands run
  • Changelog decision
  • PR readiness, noting any external mutation that was explicitly approved

Version History

  • deb9869 Current 2026-09-08 21:45

    新增audit模式支持检查架构映射漂移;更新触发工具列表移除OpenCode;调整必读文档路径。

  • bcd584e 2026-09-02 23:40
  • b9fbefc 2026-07-19 11:29

Same Skill Collection

.agents/skills/dart-analyze/SKILL.md
.agents/skills/dart-architecture/SKILL.md
.agents/skills/dart-audit-agent-compliance/SKILL.md
.agents/skills/dart-backport-pr/SKILL.md
.agents/skills/dart-benchmark-packet/SKILL.md
.agents/skills/dart-branch-cleanup/SKILL.md
.agents/skills/dart-build/SKILL.md
.agents/skills/dart-changelog/SKILL.md
.agents/skills/dart-ci/SKILL.md
.agents/skills/dart-close-issue/SKILL.md
.agents/skills/dart-contribute/SKILL.md
.agents/skills/dart-deps/SKILL.md
.agents/skills/dart-downstream-fix/SKILL.md
.agents/skills/dart-execute-packet/SKILL.md
.agents/skills/dart-fix-ci/SKILL.md
.agents/skills/dart-fix-issue/SKILL.md
.agents/skills/dart-io/SKILL.md
.agents/skills/dart-manage-pr/SKILL.md
.agents/skills/dart-mechanical-refactor/SKILL.md
.agents/skills/dart-model-upgrade/SKILL.md
.agents/skills/dart-new-task/SKILL.md
.agents/skills/dart-next/SKILL.md
.agents/skills/dart-plan-update/SKILL.md
.agents/skills/dart-pr/SKILL.md
.agents/skills/dart-python/SKILL.md
.agents/skills/dart-references/SKILL.md
.agents/skills/dart-release-merge-main/SKILL.md
.agents/skills/dart-release-packaging/SKILL.md
.agents/skills/dart-resume/SKILL.md
.agents/skills/dart-retro/SKILL.md
.agents/skills/dart-review-pr/SKILL.md
.agents/skills/dart-test/SKILL.md
.agents/skills/dart-triage-issue/SKILL.md
.agents/skills/dart-ultrawork/SKILL.md
.agents/skills/dart-verify-sim/SKILL.md
.claude/skills/dart-architecture/SKILL.md
.claude/skills/dart-build/SKILL.md
.claude/skills/dart-ci/SKILL.md
.claude/skills/dart-contribute/SKILL.md
.claude/skills/dart-io/SKILL.md
.claude/skills/dart-python/SKILL.md
.claude/skills/dart-references/SKILL.md
.claude/skills/dart-test/SKILL.md
.claude/skills/dart-verify-sim/SKILL.md
.codex/skills/dart-analyze/SKILL.md
.codex/skills/dart-architecture/SKILL.md
.codex/skills/dart-audit-agent-compliance/SKILL.md
.codex/skills/dart-backport-pr/SKILL.md
.codex/skills/dart-benchmark-packet/SKILL.md

Metadata

Files
0
Version
deb9869
Hash
70dcfac9
Indexed
2026-07-19 11:29

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-10 13:29
浙ICP备14020137号-1 $Гость$