Token导航 LogoToken导航

Agent Skill · 前端设计

doc-tasks-reviewer(文档任务审阅者)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

doc-tasks-reviewer 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 5,565。

总安装 648周安装 27GitHub Stars 14下载 216核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-tasks-reviewer(文档任务审阅者)
来源仓库:https://github.com/vladm3105/aidoc-flow-framework
仓库路径:skills/doc-tasks-reviewer
安装命令:
npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-tasks-reviewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-tasks-reviewer

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

深度审查任务分解文档的完整性与实现契约一致性。检查任务依赖关系、SPEC 对齐情况及人工复核点识别。作为代码实现前的最后一道质量关卡,保障实施可行性。应在 doc-tasks-autopilot 生成后立即执行全面审查。doc-tasks-reviewer 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/doc-tasks-reviewer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-tas…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

doc-tasks-reviewer 怎么安装?

在终端执行 npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-tasks-reviewe…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

doc-tasks-reviewer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

doc-tasks-reviewer 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

doc-tasks-reviewer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

doc-tasks-reviewer 用的人多吗?

公开数据是累计安装 648 次,近一周安装 27 次,下载 216 次,GitHub 14 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

doc-tasks-reviewer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
doc-tasks-reviewer

文档任务审阅者 · 本页

64814权限未标注未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

doc-tasks-reviewer

Purpose

Comprehensive content review and quality assurance for Task Breakdown (TASKS) documents. This skill performs deep content analysis beyond structural validation, checking task completeness, SPEC alignment, implementation contracts, dependency accuracy, and identifying issues that require manual review.

Layer: 11 (TASKS Quality Assurance)

Upstream: TASKS (from doc-tasks-autopilot or doc-tasks)

Downstream: None (final QA gate before code implementation)


When to Use This Skill

Use doc-tasks-reviewer when:

  • After TASKS Generation: Run immediately after doc-tasks-autopilot completes
  • Manual TASKS Edits: After making manual changes to TASKS
  • Pre-Implementation: Before starting code implementation
  • Sprint Planning: When assessing task readiness for development
  • Periodic Review: Regular quality checks on existing TASKS

Do NOT use when:

  • TASKS does not exist yet (use doc-tasks or doc-tasks-autopilot first)
  • Need structural/schema validation only (use doc-tasks-validator)
  • Generating new TASKS content (use doc-tasks)

Skill vs Validator: Key Differences

Aspectdoc-tasks-validatordoc-tasks-reviewer
FocusSchema compliance, CODE-Ready scoreContent quality, implementation readiness
ChecksRequired sections, formatTask atomicity, dependency accuracy
Auto-FixStructural issues onlyContent issues (formatting)
OutputCODE-Ready score (numeric)Review score + issue list
PhasePhase 4 (Validation)Phase 5 (Final Review)
BlockingCODE-Ready < threshold blocksReview score < threshold flags

Review Workflow

flowchart TD
    A[Input: TASKS Path] --> B[Load TASKS File]
    B --> C{Valid Format?}

    C -->|Yes| D[Parse TASKS Structure]
    C -->|No| E[Report Format Error]

    D --> F0[0. Structure Compliance]
    E --> F0
    F0 --> F0C{BLOCKING Check}
    F0C -->|FAIL| BLOCK[STOP - Fix Structure First]
    F0C -->|PASS| F[Run Review Checks]

    subgraph Review["Review Checks"]
        F --> G[1. Task Completeness]
        G --> H[2. SPEC Alignment]
        H --> I[3. Implementation Contracts]
        I --> J[4. Dependency Accuracy]
        J --> K[5. Task Atomicity]
        K --> L[6. AI Implementation Hints]
        L --> M[7. Placeholder Detection]
        M --> M2[8. Naming Compliance]
        M2 --> M3[9. Upstream Drift Detection]
    end

    M3 --> N{Issues Found?}
    N -->|Yes| O[Categorize Issues]
    O --> P{Auto-Fixable?}
    P -->|Yes| Q[Apply Auto-Fixes]
    Q --> R[Re-run Affected Checks]
    P -->|No| S[Flag for Manual Review]
    R --> N
    S --> T[Generate Report]
    N -->|No| T
    T --> U[Calculate Review Score]
    U --> V{Score >= Threshold?}
    V -->|Yes| W[PASS]
    V -->|No| X[FAIL with Details]

Review Checks

0. Structure Compliance (12/12) - BLOCKING

Validates TASKS follows the mandatory nested folder rule.

Nested Folder Rule: ALL TASKS documents MUST be in nested folders.

Required Structure:

TASKS TypeRequired Location
Monolithicdocs/11_TASKS/TASKS-NN_{slug}/TASKS-NN_{slug}.md

Error Codes:

CodeSeverityDescription
REV-STR001ErrorTASKS not in nested folder (BLOCKING)
REV-STR002ErrorFolder name doesn't match TASKS ID
REV-STR003WarningFile name doesn't match folder name

This check is BLOCKING - TASKS must pass structure validation before other checks proceed.


1. Task Completeness

Validates all tasks have required elements.

Required Elements:

  • Task ID
  • Description
  • Acceptance criteria
  • Priority
  • Estimated complexity
  • Dependencies

Error Codes:

CodeSeverityDescription
REV-TC001ErrorTask missing required element
REV-TC002WarningAcceptance criteria insufficient
REV-TC003WarningPriority not assigned
REV-TC004InfoComplexity estimate missing

2. SPEC Alignment

Validates tasks trace to SPEC requirements.

Scope:

  • Every task maps to SPEC component/method
  • Full SPEC coverage achieved
  • No orphaned tasks
  • Implementation order logical

Error Codes:

CodeSeverityDescription
REV-SA001ErrorTask without SPEC source
REV-SA002WarningSPEC component not covered
REV-SA003WarningOrphaned task detected
REV-SA004InfoImplementation order may need adjustment

3. Implementation Contracts

Validates Section 7-8 implementation contracts.

Scope:

  • Protocol interfaces defined
  • Exception hierarchies documented
  • State machine contracts present
  • Data models specified
  • DI interfaces defined

Error Codes:

CodeSeverityDescription
REV-IC001WarningProtocol interface missing
REV-IC002WarningException hierarchy not documented
REV-IC003InfoState machine contract missing
REV-IC004InfoDI interface not defined

4. Dependency Accuracy

Validates task dependencies are correct.

Scope:

  • Dependencies exist
  • No circular dependencies
  • Blocking dependencies identified
  • External dependencies documented

Error Codes:

CodeSeverityDescription
REV-DA001ErrorDependency does not exist
REV-DA002ErrorCircular dependency detected
REV-DA003WarningBlocking dependency not marked
REV-DA004InfoExternal dependency not documented

5. Task Atomicity

Validates tasks are appropriately sized.

Scope:

  • Single responsibility
  • Independently implementable
  • Clear completion criteria
  • Reasonable scope

Error Codes:

CodeSeverityDescription
REV-TA001WarningTask too large (should be split)
REV-TA002WarningTask has multiple responsibilities
REV-TA003InfoCompletion criteria unclear
REV-TA004InfoTask scope may be too narrow

6. AI Implementation Hints

Validates AI-friendly implementation guidance.

Scope:

  • File paths specified
  • Method signatures suggested
  • Import statements provided
  • Test patterns documented

Error Codes:

CodeSeverityDescription
REV-AI001WarningFile path not specified
REV-AI002InfoMethod signature not suggested
REV-AI003InfoImport statements not provided
REV-AI004InfoTest patterns not documented

7. Placeholder Detection

Identifies incomplete content requiring replacement.

Error Codes:

CodeSeverityDescription
REV-P001Error[TODO] placeholder found
REV-P002Error[TBD] placeholder found
REV-P003WarningTemplate value not replaced

8. Naming Compliance

Validates element IDs follow doc-naming standards.

Scope:

  • Element IDs use TASKS.NN.xxxx format
  • Element type codes valid for TASKS (18, 30)
  • Task naming convention

Error Codes:

CodeSeverityDescription
REV-N001ErrorInvalid element ID format
REV-N002ErrorElement type code not valid for TASKS
REV-N003ErrorLegacy pattern detected

9. Upstream Drift Detection (Mandatory Cache)

Detects when upstream SPEC and TSPEC documents have been modified after the TASKS was created or last updated.

The drift cache is mandatory. All drift detection operations require cache initialization and maintenance.

Purpose: Identifies stale TASKS content that may not reflect current SPEC and TSPEC documentation. When SPEC documents (methods, interfaces, components) or TSPEC documents (test cases, coverage requirements) change, the TASKS may need updates to maintain implementation alignment.

Scope:

  • @spec: tag targets (SPEC documents)
  • @tspec: tag targets (TSPEC documents)
  • Traceability section upstream artifact links
  • Any markdown links to ../09_SPEC/ or ../10_TSPEC/ source documents

Drift Cache File (MANDATORY)

Location: docs/11_TASKS/.drift_cache.json

Schema:

{
  "schema_version": "1.0",
  "cache_created": "2026-02-10T17:00:00Z",
  "cache_updated": "2026-02-10T17:00:00Z",
  "tasks_files": {
    "TASKS-03_f3_observability.md": {
      "tasks_version": "1.0",
      "tasks_updated": "2026-02-10T14:30:00",
      "last_review": "2026-02-10T17:00:00",
      "upstream_hashes": {
        "../../09_SPEC/SPEC-03.yaml": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0",
        "../../09_SPEC/SPEC-03.yaml#methods": "b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1",
        "../../09_SPEC/SPEC-03.yaml#components": "c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2",
        "../../10_TSPEC/TSPEC-03.md": "d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3",
        "../../10_TSPEC/TSPEC-03.md#test_cases": "e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4"
      },
      "upstream_mtimes": {
        "../../09_SPEC/SPEC-03.yaml": "2026-02-08T10:15:00",
        "../../10_TSPEC/TSPEC-03.md": "2026-02-09T16:45:00"
      }
    }
  }
}

Cache Management:

  • Cache file is created on first review if not present
  • Cache is updated after each successful review
  • Missing cache triggers REV-D006 error
  • Corrupted cache triggers cache rebuild with warning

Three-Phase Detection Algorithm

Phase 1: Cache Validation

1. Check if .drift_cache.json exists
   - If missing → ERROR REV-D006: "Drift cache not initialized"
   - If corrupted → Rebuild cache, emit WARNING

2. Validate cache schema version
   - If outdated → Migrate cache to current schema

3. Load TASKS entry from cache
   - If TASKS not in cache → Initialize entry

Phase 2: Reference Extraction

1. Extract all upstream references from TASKS:
   - @spec: tags → [path, section anchor]
   - @tspec: tags → [path, section anchor]
   - Links to ../09_SPEC/ → [path]
   - Links to ../10_TSPEC/ → [path]
   - Traceability table upstream artifacts → [path]

2. For each upstream reference:
   a. Resolve path to absolute file path
   b. Check file exists (already covered by Check #2)
   c. Get file modification time (mtime)

Phase 3: Drift Comparison

1. For each upstream reference:
   a. Compare mtime > cached mtime
      - If newer → flag as TIMESTAMP_DRIFT
   b. Compute SHA-256 hash of content
   c. Compare to cached hash
      - If differs → flag as CONTENT_DRIFT
   d. Calculate change percentage
      - If > 20% → flag as SUBSTANTIAL_DRIFT

2. Update cache with current values after comparison

Hash Calculation (MANDATORY BASH EXECUTION)

CRITICAL: Execute actual bash commands. DO NOT write placeholder values.

Full File Hash:

sha256sum <file_path> | cut -d' ' -f1

Store as: "hash": "sha256:<64_hex_characters>"

Section Hash (for anchor references):

# For markdown sections
sed -n '/^## Section Name/,/^## /p' <file_path> | head -n -1 | sha256sum | cut -d' ' -f1

# For YAML sections
yq '.<section_name>' <file_path> | sha256sum | cut -d' ' -f1

REJECTED VALUES (re-compute immediately):

  • sha256:verified_no_drift
  • sha256:pending_verification
  • Any value where hex portion!= 64 characters

Verification:

grep -oP '"hash":\s*"sha256:[0-9a-f]{64}"' .drift_cache.json

Error Codes
CodeSeverityDescription
REV-D001WarningUpstream SPEC/TSPEC document modified after TASKS creation
REV-D002WarningReferenced section content has changed (hash mismatch)
REV-D003InfoUpstream document version incremented
REV-D004InfoNew content added to upstream document
REV-D005ErrorCritical upstream document substantially modified (>20% change)
REV-D006ErrorDrift cache not initialized or missing
REV-D009ErrorInvalid hash placeholder detected (verified_no_drift, pending_verification)

Report Output
## Upstream Drift Analysis

**Cache Status**: Valid (last updated: 2026-02-10T17:00:00Z)

| Upstream Document | TASKS Reference | Last Modified | Cached Modified | Hash Match | Days Stale | Severity |
|-------------------|-----------------|---------------|-----------------|------------|------------|----------|
| SPEC-03.yaml | @spec Section methods | 2026-02-08T10:15:00 | 2026-02-05T09:00:00 | No | 3 | Warning |
| SPEC-03.yaml | @spec components | 2026-02-10T14:30:00 | 2026-02-05T09:00:00 | No | 5 | Warning |
| TSPEC-03.md | @tspec test_cases | 2026-02-09T16:45:00 | 2026-02-05T09:00:00 | Yes | 4 | Info |

**Recommendation**: Review upstream SPEC/TSPEC changes and update TASKS if methods, components, or test cases have changed.

**Cache Updated**: 2026-02-10T17:00:00Z (3 entries refreshed)

Auto-Actions
  • Create .drift_cache.json if not present (first review)
  • Update cache with current hashes and mtimes after review
  • Add [DRIFT] marker to affected @spec/@tspec tags (optional)
  • Generate drift summary in review report

Configuration
SettingDefaultDescription
cache_enabledtrueMandatory - Cache is always enabled
drift_threshold_days7Days before drift becomes Warning
critical_threshold_days30Days before drift becomes Error
tracked_patterns@spec:, @tspec:Patterns to track for drift

Review Score Calculation

Scoring Formula:

CategoryWeightCalculation
Task Completeness19%(complete_tasks / total) × 19
SPEC Alignment19%(aligned_tasks / total) × 19
Implementation Contracts14%(contracts_present / required) × 14
Dependency Accuracy14%(valid_deps / total_deps) × 14
Task Atomicity10%(atomic_tasks / total) × 10
AI Implementation Hints5%(hints_present / total) × 5
Placeholder Detection5%(no_placeholders? 5: 5 - count)
Naming Compliance9%(valid_ids / total_ids) × 9
Upstream Drift5%(fresh_refs / total_refs) × 5

Total: Sum of all categories (max 100)

Thresholds:

  • PASS: >= 90
  • WARNING: 80-89
  • FAIL: < 80

Command Usage

# Review specific TASKS
/doc-tasks-reviewer TASKS-03

# Review TASKS by path
/doc-tasks-reviewer docs/11_TASKS/TASKS-03_f3_observability.md

# Review all TASKS
/doc-tasks-reviewer all

Output Report

Review reports are stored alongside the reviewed document per project standards.

Nested Folder Rule: ALL TASKS use nested folders (TASKS-NN_{slug}/) regardless of size. This ensures review reports, fix reports, and drift cache files are organized with their parent document.

File Naming: TASKS-NN.R_review_report_vNNN.md

Location: Inside the TASKS nested folder: docs/11_TASKS/TASKS-NN_{slug}/

Versioning Rules

  1. First Review: Creates TASKS-NN.R_review_report_v001.md
  2. Subsequent Reviews: Auto-increments version (v002, v003, etc.)
  3. Same-Day Reviews: Each review gets unique version number

Version Detection: Scans folder for existing TASKS-NN.R_review_report_v*.md files and increments.

Example:

docs/11_TASKS/TASKS-03_f3_observability/
├── TASKS-03_f3_observability.md
├── TASKS-03.R_review_report_v001.md    # First review
├── TASKS-03.R_review_report_v002.md    # After fixes
└── .drift_cache.json

Delta Reporting

When previous reviews exist, include score comparison in the report.

See REVIEW_DOCUMENT_STANDARDS.md for complete versioning requirements.


Integration with doc-tasks-autopilot

This skill is invoked during Phase 5 of doc-tasks-autopilot:

flowchart LR
    A[Phase 4: Validation] --> B[Phase 5: Final Review]
    B --> C{doc-tasks-reviewer}
    C --> D[Phase 6: Continue]

Related Skills

SkillRelationship
doc-namingNaming standards for Check #8
doc-tasks-autopilotInvokes this skill in Phase 5
doc-tasks-validatorStructural validation (Phase 4)
doc-tasks-fixerApplies fixes based on review findings
doc-tasksTASKS creation rules
doc-spec-reviewerUpstream QA
doc-tspec-reviewerUpstream QA (for test specifications)

Version History

VersionDateChanges
1.42026-02-11Added Check #0: Structure Compliance as BLOCKING check; REV-STR001-STR003 error codes; Enforces nested folder rule before other checks proceed
1.32026-02-10Made drift cache mandatory; Added REV-D006 error code for missing cache; Defined cache schema with schema_version; Added Three-Phase Detection Algorithm; Added hash calculation examples; Cache location at docs/11_TASKS/.drift_cache.json; Added cache status to report output
1.22026-02-10Added Check #9: Upstream Drift Detection - detects when SPEC/TSPEC documents modified after TASKS creation; REV-D001-D005 error codes; drift cache support; configurable thresholds; added doc-tasks-fixer to related skills
1.12026-02-10Added review versioning support (_vNNN pattern); Delta reporting for score comparison
1.02026-02-10Initial skill creation with 8 review checks; Task completeness; SPEC alignment; Implementation contracts; Dependency accuracy; Task atomicity

Implementation Plan Consistency (IPLAN-004)

  • Treat plan-derived outputs as valid source mode and verify intent preservation from implementation plan scope/objectives.
  • Validate upstream autopilot precedence assumption: --iplan > --ref > --prompt.
  • Flag objective/scope conflicts between plan context and artifact output as blocking issues requiring clarification.
  • Do not introduce legacy fallback paths such as docs-v2.0/00_REF.

平台分布

Codex

36.74%
按下载量换算79

Claude

30.45%
按下载量换算66

Cursor

19.99%
按下载量换算43

Gemini CLI

9.72%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills