AgentSkillsCN

validate-docs

通过启动全新的子代理来分析代码仓库,发现潜在的模糊之处,从而验证文档的准确性。可在更新文档后使用,但在清除上下文之前进行。

SKILL.md
--- frontmatter
name: validate-docs
description: Validate documentation by spawning a fresh sub-agent to analyze the repository and surface ambiguities. Use after updating docs, before clearing context.

Validate Docs

Test if documentation is self-sufficient by having a fresh agent try to understand the project.

Usage

Spawn the doc-validator agent in background (run_in_background: true).

The agent will return an output file path. Use Read or tail to check results when ready.

Triage Ambiguities

For each ambiguity reported, the supervisor judges:

Valid → Fix

  • Genuinely missing information
  • Could cause mistakes or block progress
  • Propose specific fix to user

Dismiss

  • Out of scope for current phase
  • Over-engineered concern
  • Agent will figure it out during execution

Present each ambiguity with your judgment. User decides whether to fix or dismiss.

After Fixes

Re-run validation to confirm ambiguities are resolved.

Success

When no blocking ambiguities remain:

code
Documentation validated. Safe to clear context.