Token导航 LogoToken导航

Agent Skill · 前端设计

doc-sys-reviewer(文档系统审阅者)

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

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

总安装 652周安装 28GitHub Stars 14下载 228核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

对系统需求文档进行全面内容审查和质量评估。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。检查完整性、架构对齐度及接口定义等深层质量问题。作为 REQ 生成前的最终质检环节,确保文档可用性。需在 SYS 文档生成后立即运行以捕获潜在缺陷。

doc-sys-reviewer 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

doc-sys-reviewer 怎么安装?

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

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

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

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

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

doc-sys-reviewer 是免费的吗?

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

doc-sys-reviewer 用的人多吗?

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

doc-sys-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-sys-reviewer

文档系统审阅者 · 本页

65214只读未明确通过

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

SKILL.md 原文

doc-sys-reviewer

Purpose

Comprehensive content review and quality assurance for System Requirements (SYS) documents. This skill performs deep content analysis beyond structural validation, checking requirement completeness, ADR alignment, quality attribute coverage, interface definitions, and identifying issues that require manual architectural review.

Layer: 6 (SYS Quality Assurance)

Upstream: SYS (from doc-sys-autopilot or doc-sys)

Downstream: None (final QA gate before REQ generation)


When to Use This Skill

Use doc-sys-reviewer when:

  • After SYS Generation: Run immediately after doc-sys-autopilot completes
  • Manual SYS Edits: After making manual changes to SYS
  • Pre-REQ Check: Before running doc-req-autopilot
  • Periodic Review: Regular quality checks on existing SYS
  • Architecture Reviews: During system design reviews

Do NOT use when:

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

Skill vs Validator: Key Differences

Aspectdoc-sys-validatordoc-sys-reviewer
FocusSchema compliance, REQ-Ready scoreContent quality, ADR alignment
ChecksRequired sections, formatQuality attributes, interface completeness
Auto-FixStructural issues onlyContent issues (links, formatting)
OutputREQ-Ready score (numeric)Review score + issue list
PhasePhase 4 (Validation)Phase 5 (Final Review)
BlockingREQ-Ready < threshold blocksReview score < threshold flags

Review Workflow

flowchart TD
    A[Input: SYS Path] --> B[Load SYS Files]
    B --> C{Single or Multiple?}

    C -->|Multiple| D[Load All SYS Files]
    C -->|Single| E[Load Single File]

    D --> F[Run Review Checks]
    E --> F

    subgraph Review["Review Checks"]
        F --> G[1. Functional Requirement Completeness]
        G --> H[2. ADR Alignment]
        H --> I[3. Quality Attribute Coverage]
        I --> J[4. Interface Definition Completeness]
      J --> J2[4a. System Diagram Contract Compliance]
      J2 --> K[5. Constraint Validation]
        K --> L[6. Placeholder Detection]
        L --> M[7. Naming Compliance]
        M --> N2[8. Upstream Drift Detection]
    end

    N2 --> 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 (BLOCKING)

Validates SYS follows the mandatory nested folder rule.

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

Required Structure:

SYS TypeRequired Location
Monolithicdocs/06_SYS/SYS-NN_{slug}/SYS-NN_{slug}.md

Error Codes:

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

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


1. Functional Requirement Completeness

Validates all functional requirements are complete.

Scope:

  • Each requirement has description
  • Acceptance criteria defined
  • Priority assigned
  • Dependencies documented
  • Rationale provided

Error Codes:

CodeSeverityDescription
REV-FR001ErrorRequirement missing description
REV-FR002ErrorNo acceptance criteria
REV-FR003WarningPriority not assigned
REV-FR004InfoDependencies not documented
REV-FR005InfoRationale missing

2. ADR Alignment

Validates SYS requirements trace to ADR decisions.

Scope:

  • Requirements implement ADR decisions
  • No conflicting requirements
  • Technology choices consistent
  • Architectural constraints honored

Error Codes:

CodeSeverityDescription
REV-AA001ErrorRequirement conflicts with ADR decision
REV-AA002WarningTechnology choice not in ADR
REV-AA003WarningRequirement without ADR traceability
REV-AA004InfoArchitectural constraint may be violated

3. Quality Attribute Coverage

Validates non-functional requirements coverage.

Scope:

  • Performance requirements defined
  • Security requirements present
  • Reliability/availability specified
  • Scalability addressed
  • Maintainability considered

Error Codes:

CodeSeverityDescription
REV-QA001ErrorNo performance requirements
REV-QA002ErrorSecurity requirements missing
REV-QA003WarningAvailability not specified
REV-QA004WarningScalability not addressed
REV-QA005InfoMaintainability not considered

4. Interface Definition Completeness

Validates system interfaces are well-defined.

Scope:

  • External interfaces documented
  • Internal interfaces defined
  • Data formats specified
  • Protocols identified
  • Error handling defined

Error Codes:

CodeSeverityDescription
REV-IF001ErrorExternal interface not documented
REV-IF002WarningData format not specified
REV-IF003WarningProtocol not identified
REV-IF004InfoError handling not defined

4a. System Diagram Contract Compliance

Validates SYS bridge requirements defined by ai_dev_ssd_flow/DIAGRAM_STANDARDS.md and SYS quality-gate contracts.

Scope:

  • Required System Diagram Contract subsection exists
  • Required fields present: downstream_c4_l4_owner, required_sequence_paths, trust_boundaries
  • Required tags present for bridge ownership: @diagram: c4-l4-ownership, @diagram: sequence-l4
  • SYS contract references remain consistent with downstream SPEC ownership location

Error Codes:

CodeSeverityDescription
REV-DC001ErrorMissing System Diagram Contract section
REV-DC002ErrorMissing required bridge fields (downstream_c4_l4_owner, required_sequence_paths, or trust_boundaries)
REV-DC003ErrorMissing required SYS bridge tags (@diagram: c4-l4-ownership, @diagram: sequence-l4)
REV-DC004WarningDownstream SPEC ownership reference appears incomplete or inconsistent

5. Constraint Validation

Validates system constraints are reasonable.

Scope:

  • Resource constraints realistic
  • Time constraints achievable
  • Budget constraints considered
  • Technology constraints compatible

Error Codes:

CodeSeverityDescription
REV-CV001WarningResource constraint may be unrealistic
REV-CV002WarningTime constraint may be unachievable
REV-CV003InfoBudget constraint not documented
REV-CV004WarningTechnology constraint may be incompatible

6. 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

7. Naming Compliance

Validates element IDs follow doc-naming standards.

Scope:

  • Element IDs use SYS.NN.xxxx format
  • Element type codes valid for SYS (01, 05, 17, 18, 19, 20, 21)
  • No legacy patterns (SR-NNN, SYS-NNN)

Error Codes:

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

8. Upstream Drift Detection (Mandatory Cache)

Detects when upstream ADR documents have been modified after the SYS was created or last updated.

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

Purpose: Identifies stale SYS content that may not reflect current architecture decisions. When ADR documents change, the SYS may need updates to maintain alignment with architectural decisions.

Upstream Documents:

  • ADR documents: Architecture Decision Records that SYS requirements must implement

Scope:

  • @adr: tag targets (ADR document references)
  • Traceability section upstream artifact links
  • Any markdown links to ../05_ADR/
  • Technology choice references that trace to ADR decisions

Drift Cache File (MANDATORY)

Location: docs/06_SYS/.drift_cache.json

Schema:

{
  "cache_version": "1.0",
  "created": "2026-02-10T17:00:00",
  "last_checked": "2026-02-10T17:00:00",
  "sys_documents": {
    "SYS-01_f1_iam.md": {
      "sys_hash": "sha256:abc123...",
      "last_updated": "2026-02-10T17:00:00",
      "upstream_refs": {
        "ADR-01_authentication_strategy.md": {
          "path": "../../05_ADR/ADR-01_authentication_strategy.md",
          "hash": "sha256:def456...",
          "checked": "2026-02-10T17:00:00",
          "status": "current"
        },
        "ADR-05_data_storage.md": {
          "path": "../../05_ADR/ADR-05_data_storage.md",
          "hash": "sha256:ghi789...",
          "checked": "2026-02-10T17:00:00",
          "status": "current"
        }
      }
    }
  }
}

Cache Status Values:

  • current: Hash matches, no drift detected
  • drifted: Hash mismatch, upstream modified
  • missing: Upstream file not found
  • new: New reference, not yet cached

Three-Phase Detection Algorithm

Phase 1: Cache Initialization

1. Check if .drift_cache.json exists
   - If missing → Create new cache file
   - If exists → Load and validate schema

2. For each SYS document:
   a. Extract all upstream references:
      - @adr: tags → [ADR document ID]
      - Links to ../05_ADR/ → [path]
      - Traceability table upstream artifacts → [path]
      - Technology choices → [related ADR]
   b. Resolve paths to absolute file paths
   c. Initialize upstream_refs entries if missing

Phase 2: Hash Comparison

1. For each upstream reference in cache:
   a. Read upstream file content
   b. Compute SHA-256 hash
   c. Compare to cached hash:
      - Match → status = "current"
      - Mismatch → status = "drifted", flag REV-D002
      - File missing → status = "missing", flag REV-D006

2. Detect new references not in cache:
   a. Add to upstream_refs with status = "new"
   b. Compute initial hash

Phase 3: Cache Update

1. Update last_checked timestamp
2. For each drifted reference:
   a. Store new hash
   b. Update checked timestamp
   c. Preserve previous hash for delta analysis
3. Write updated cache to disk
4. Generate drift report

Hash Calculation (MANDATORY BASH EXECUTION)

CRITICAL: You MUST execute actual bash commands to compute hashes. DO NOT write placeholder values.

Compute File Hash:

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

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

REJECTED VALUES (re-compute immediately):

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

Section Hash (for anchor-specific tracking):

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

Verification:

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

Error Codes
CodeSeverityDescription
REV-D001WarningUpstream ADR modified after SYS creation
REV-D002WarningReferenced ADR decision section has changed (hash mismatch)
REV-D003InfoUpstream ADR version incremented
REV-D004InfoNew content added to upstream ADR
REV-D005ErrorCritical ADR substantially modified (>20% change)
REV-D006ErrorDrift cache missing or corrupted - requires initialization
REV-D009ErrorInvalid hash placeholder detected (verified_no_drift, pending_verification)

Report Output
## Upstream Drift Analysis

**Cache Status**: Loaded from docs/06_SYS/.drift_cache.json (last checked: 2026-02-10T17:00:00)

| Upstream Document | SYS Reference | Cached Hash | Current Hash | Status | Severity |
|-------------------|---------------|-------------|--------------|--------|----------|
| ADR-01_authentication_strategy.md | @adr Decision | sha256:abc123... | sha256:xyz789... | DRIFTED | Warning |
| ADR-05_data_storage.md | Traceability | sha256:def456... | sha256:def456... | Current | - |

**Drift Summary**:
- Total upstream references: 2
- Current: 1
- Drifted: 1
- Missing: 0

**Recommendation**: Review upstream ADR changes and update SYS if architecture decisions have changed.

Auto-Actions
  • Initialize .drift_cache.json if missing (mandatory)
  • Update cache with current hashes after review
  • Add [DRIFT] marker to affected @adr tags (optional)
  • Generate drift summary in review report
  • Preserve hash history for trend analysis

Configuration
SettingDefaultDescription
cache_enabledtrueMandatory - Cache must be enabled
drift_threshold_days7Days before drift becomes Warning
critical_threshold_days30Days before drift becomes Error
hash_algorithmSHA-256Hash algorithm for content comparison
tracked_patterns@adr:Patterns to track for drift

Review Score Calculation

Scoring Formula:

CategoryWeightCalculation
Functional Requirement Completeness24%(complete / total_reqs) × 24
ADR Alignment19%(aligned / total_reqs) × 19
Quality Attribute Coverage19%(covered / required_attrs) × 19
Interface Definition Completeness14%(complete_interfaces / total) × 14
Constraint Validation5%(valid_constraints / 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 SYS
/doc-sys-reviewer SYS-01

# Review SYS by path
/doc-sys-reviewer docs/06_SYS/SYS-01_f1_iam.md

# Review all SYS
/doc-sys-reviewer all

Output Report

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

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

File Naming: SYS-NN.R_review_report_vNNN.md

Location: Inside the SYS nested folder: docs/06_SYS/SYS-NN_{slug}/

Versioning Rules

  1. First Review: Creates SYS-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 SYS-NN.R_review_report_v*.md files and increments.

Example:

docs/06_SYS/SYS-01_f1_iam/
├── SYS-01_f1_iam.md
├── SYS-01.R_review_report_v001.md    # First review
├── SYS-01.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-sys-autopilot

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

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

Related Skills

SkillRelationship
doc-namingNaming standards for Check #7
doc-sys-auditWraps validator + reviewer into combined audit report
doc-sys-autopilotInvokes this skill in Phase 5
doc-sys-validatorStructural validation (Phase 4)
doc-sys-fixerApplies fixes based on review findings
doc-sysSYS creation rules
doc-adr-reviewerUpstream QA
doc-req-autopilotDownstream consumer

Version History

VersionDateChanges
1.62026-02-27Migrated frontmatter to metadata; normalized SYS report location paths to docs/06_SYS; documented relationship with doc-sys-audit wrapper
1.42026-02-11Added Check #0: Structure Compliance (BLOCKING) - validates SYS in nested folders; REV-STR001-STR003 error codes; Must pass before other checks proceed
1.32026-02-10Mandatory Drift Cache: Cache now required for all drift detection; Three-phase detection algorithm; SHA-256 hash calculation with Python implementation; REV-D006 error code for missing/corrupted cache; Enhanced report output with cache status; cache_enabled=true is mandatory
1.22026-02-10Added Check #8: Upstream Drift Detection - detects when ADR documents modified after SYS creation; REV-D001-D005 error codes; drift cache support; configurable thresholds; Added doc-sys-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 7 review checks; ADR alignment; Quality attribute coverage; Interface completeness

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

37.89%
按下载量换算86

Claude

29.64%
按下载量换算68

Cursor

19.62%
按下载量换算45

Gemini CLI

8.26%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills