documentation-qa-knowledge

文档质量保证知识库。提供用于文档审查的质量检查清单、审计标准和衡量指标,作为文档质量保证的参考资料。

仓库最近推送
GitHub Stars
109
Forks
26
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "documentation-qa-knowledge":https://skillpi.com/zh/skills/deepskill-4796f9fa7721a1e442c51c932ada48781d9c050d224cba3fb1bc27e6e0694b8f。安装前核对上游来源和版本:https://github.com/dykyi-roman/awesome-claude-code。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

文档质量保证知识库。提供用于文档审查的质量检查清单、审计标准和衡量指标,作为文档质量保证的参考资料。

0 下载

介绍来源: third_party · dykyi-roman · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: documentation-qa-knowledge
description: Documentation QA knowledge base. Provides quality checklists, audit criteria, and metrics for documentation review.

Documentation QA Knowledge Base

Quick reference for documentation quality assessment and audit criteria.

Quality Dimensions

Core Quality Metrics

Dimension Description Weight
Completeness All APIs/features documented 25%
Accuracy Code matches documentation 25%
Clarity Understandable, no jargon 20%
Consistency Terms, style, format uniform 15%
Navigation Easy to find information 10%
Freshness Up-to-date with latest version 5%

Quality Scoring

Score = (Completeness × 0.25) + (Accuracy × 0.25) + (Clarity × 0.20)
      + (Consistency × 0.15) + (Navigation × 0.10) + (Freshness × 0.05)

Rating:
90-100: Excellent
75-89:  Good
60-74:  Adequate
40-59:  Poor
0-39:   Critical

Audit Checklists

README Checklist

Item Required Score
Project name and description ✅ /10
Installation instructions ✅ /15
Basic usage example ✅ /15
Requirements/dependencies ✅ /10
License ✅ /5
Badges (build, coverage, version) ⚪ /5
Contributing link ⚪ /5
Documentation links ⚪ /10
Changelog link ⚪ /5
Examples work (copy-paste test) ✅ /20

Total: /100

API Documentation Checklist

Item Required Score
All public classes documented ✅ /15
All public methods documented ✅ /15
Parameters with types and descriptions ✅ /15
Return types documented ✅ /10
Exceptions documented ✅ /10
Usage examples per endpoint ✅ /15
Request/response examples ⚪ /10
Error responses documented ⚪ /10

Total: /100

Architecture Documentation Checklist

Item Required Score
System overview ✅ /15
Component descriptions ✅ /15
Data flow diagrams ✅ /15
Technology stack ✅ /10
Decision records (ADRs) ⚪ /15
Diagrams render correctly ✅ /10
Consistent terminology ✅ /10
Cross-references work ⚪ /10

Total: /100

Detection Patterns

Completeness Detection

# Find undocumented public classes
Grep: "^class |^final class |^abstract class " --glob "src/**/*.php"
# Compare with: Grep: "## " --glob "docs/api/**/*.md"

# Find undocumented public methods
Grep: "public function " --glob "src/**/*.php" | wc -l
# Compare with documented count

# Check README sections
Grep: "## Installation|## Usage|## Features" --glob "README.md"

Accuracy Detection

# Find version mismatches
Grep: "version.*[0-9]+\.[0-9]+" --glob "README.md"
# Compare with: Grep: '"version"' --glob "composer.json"

# Find non-existent paths in docs
Grep: "src/[A-Za-z/]+" --glob "docs/**/*.md"
# Verify each path exists

# Find outdated code examples
# Extract code blocks and verify they match current API

Clarity Detection

# Find undefined acronyms
Grep: "\b[A-Z]{2,}\b" --glob "docs/**/*.md"
# Check for glossary/definition nearby

# Find jargon without explanation
# Manual review of: DDD, CQRS, VO, DTO first usage

# Find walls of text (paragraphs > 5 lines)
# Manual review recommended

Navigation Detection

# Find broken internal links
Grep: "\]\((?!http)[^\)]+\)" --glob "**/*.md"
# Verify each relative path exists

# Find missing TOC in long docs (> 100 lines)
wc -l docs/**/*.md | awk '$1 > 100 {print $2}'
# Check for: Grep: "## Table of Contents|## Contents" in each

# Find orphan pages (not linked from anywhere)
# Cross-reference all .md files

Diagram Quality Detection

# Find diagrams with too many elements
Grep: "^\s*[A-Za-z].*\[|^\s*[A-Za-z].*\(" --glob "**/*.md" -A 50
# Count nodes in each mermaid block

# Find diagrams without labels
Grep: "A-->B|1-->2" --glob "**/*.md"
# Should have descriptive IDs

# Find non-rendering mermaid
# Test each ```mermaid block

Issue Severity Levels

Critical (Must Fix)

❌ Missing installation instructions
❌ Broken copy-paste examples
❌ Wrong/outdated code syntax
❌ Missing license
❌ Dead links to key resources
❌ Security-sensitive info in examples

Warning (Should Fix)

⚠️ Missing API documentation
⚠️ No usage examples
⚠️ Outdated screenshots
⚠️ Inconsistent terminology
⚠️ Missing error handling docs
⚠️ Diagrams don't match code

Info (Nice to Have)

ℹ️ No badges
ℹ️ Missing contributing guide
ℹ️ No FAQ section
ℹ️ Basic diagrams could be improved
ℹ️ Could add more examples

Audit Report Template

# Documentation Audit Report

**Project:** {name}
**Date:** {date}
**Auditor:** Claude Code

## Summary

| Metric | Score | Status |
|--------|-------|--------|
| Overall | X/100 | ⚠️ |
| Completeness | X/100 | ✅ |
| Accuracy | X/100 | ❌ |
| Clarity | X/100 | ✅ |
| Consistency | X/100 | ⚠️ |
| Navigation | X/100 | ✅ |

## Critical Issues

### 1. {Issue Title}
- **Location:** {file:line}
- **Problem:** {description}
- **Impact:** {who is affected}
- **Fix:** {recommendation}

## Warnings

### 1. {Issue Title}
- **Location:** {file}
- **Problem:** {description}
- **Recommendation:** {fix}

## Recommendations

1. {Priority action 1}
2. {Priority action 2}
3. {Priority action 3}

## Detailed Findings

### README.md
- [ ] {item}: {status}

### API Documentation
- [ ] {item}: {status}

### Architecture Documentation
- [ ] {item}: {status}

## Next Steps

1. Fix critical issues immediately
2. Address warnings in next sprint
3. Consider recommendations for roadmap

Quality Improvement Guide

Quick Wins

Action Impact Effort
Fix broken links High Low
Add missing badges Medium Low
Add code examples High Medium
Create README template High Medium
Add link checker CI Medium Low

Long-term Improvements

Action Impact Effort
Generate API docs from code High High
Implement doc-as-code High High
Create style guide Medium Medium
Add example testing High Medium
Diagram automation Medium High

Automation Opportunities

CI/CD Integration

# Example doc validation workflow
documentation:
  checks:
    - markdown-lint
    - link-check
    - spelling
    - code-example-test
    - mermaid-validate

Tools

Tool Purpose
markdownlint Markdown style
markdown-link-check Broken links
alex Inclusive language
mermaid-cli Diagram validation
doctoc TOC generation

References

For detailed information, load these reference files:

  • references/audit-procedures.md — Step-by-step audit process
  • references/scoring-rubrics.md — Detailed scoring criteria
  • references/common-issues.md — Frequent documentation problems
  • references/automation.md — CI/CD integration patterns

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供完整的文档质量保证知识库,涵盖质量维度、检查清单、审计标准等核心内容
  • 针对README、API文档、架构文档提供详细的检查清单和评分标准
  • 包含实用的检测模式和自动化机会,可直接应用于实际项目
触发精准90/100

亮点

  • 触发词精准完整,description明确描述文档质量保证知识库功能
  • 覆盖文档审查、质量检查清单、审计标准、指标等核心使用场景
结构规范95/100

待提升项

  • 缺少When to Use章节 原报告严重程度:轻微

    文档结构完整但缺少明确的When to Use使用场景说明章节

    改进建议:建议添加When to Use章节,明确说明何时使用此知识库

亮点

  • 结构清晰完整,包含质量维度、检查清单、检测模式、严重性等级、审计报告模板等
  • frontmatter完整,单文件约450行,符合规范要求
  • 提供完整的审计报告模板和质量改进指南
执行可靠90/100

亮点

  • 检测模式提供具体的grep命令,工具来源明确,参数正确
  • 覆盖完整性、准确性、清晰度、导航、图表质量等主要异常场景
  • 提供完整的审计流程和报告模板,包含严重性分级和修复建议
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。