AgentSkillsCN

ext-triage-docs

在方案定稿阶段,对文档发现的问题进行优先级排序与分类处理

SKILL.md
--- frontmatter
name: ext-triage-docs
description: Triage extension for documentation findings during plan-finalize phase
user-invocable: false
allowed-tools: Read

Documentation Triage Extension

Provides decision-making knowledge for triaging documentation-related findings during the finalize phase.

Purpose

This skill is a triage extension loaded by the plan-finalize workflow skill when processing documentation findings (AsciiDoc, ADRs, interface specifications). It provides domain-specific knowledge for deciding whether to fix, suppress, or accept findings.

Key Principle: This skill provides knowledge, not workflow control. The finalize skill owns the process.

When This Skill is Loaded

Loaded via resolve-workflow-skill-extension --domain documentation --type triage during finalize phase when:

  1. AsciiDoc validation errors occur
  2. Broken cross-references are detected
  3. ADR format issues are found
  4. Interface specification validation fails
  5. Link validation errors occur

Standards

DocumentPurpose
suppression.mdAsciiDoc and markdown suppression syntax
severity.mdDocumentation-specific severity guidelines

Extension Registration

Registered in marshal.json under the documentation domain:

json
"documentation": {
  "workflow_skill_extensions": {
    "triage": "pm-documents:ext-triage-docs"
  }
}

Quick Reference

Suppression Methods

Finding TypeSyntax
AsciiDoc lint// asciidoc-lint-disable: rule-name
Link check// skip-link-check
ADR formatDocument in ADR metadata
Markdown lint<!-- markdownlint-disable MD001 -->

Decision Guidelines

SeverityDefault Action
Broken linkFix (mandatory)
Invalid cross-referenceFix (mandatory)
Format inconsistencyFix or accept with justification
Style warningAccept (low priority)

Acceptable to Accept

  • Draft documentation pending review
  • External links to third-party sites (with skip annotation)
  • Legacy documentation pending migration
  • Generated documentation from code
  • Historical ADRs with outdated format

Related Documents