log-doc-issues

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/log-doc-issues

/log-doc-issues

Run documentation audit and create GitHub issues for all findings.
运行文档审计并为所有检测结果创建GitHub Issue。

What This Does

功能说明

  1. Invoke
    /check-docs
    to audit documentation
  2. Parse findings by priority (P0-P3)
  3. Check existing issues to avoid duplicates
  4. Create GitHub issues for each finding
This is an issue-creator. It creates work items, not fixes. Use
/fix-docs
to fix issues.
  1. 调用/check-docs对文档进行审计
  2. 按优先级(P0-P3)解析检测结果
  3. 检查现有Issue以避免重复创建
  4. 为每个检测结果创建GitHub Issue
这是一个Issue创建工具,它仅创建工作项,不修复问题。请使用/fix-docs来修复问题。

Process

流程

1. Run Primitive

1. 运行基础工具

Invoke
/check-docs
skill to get structured findings.
调用/check-docs工具获取结构化的检测结果。

2. Check Existing Issues

2. 检查现有Issue

bash
gh issue list --state open --label "domain/docs" --limit 50
bash
gh issue list --state open --label "domain/docs" --limit 50

3. Create Issues

3. 创建Issue

For each finding:
bash
gh issue create \
  --title "[P1] README missing Installation section" \
  --body "$(cat <<'EOF'
针对每个检测结果:
bash
gh issue create \
  --title "[P1] README missing Installation section" \
  --body "$(cat <<'EOF'

Problem

Problem

README.md exists but lacks Installation section. New developers cannot set up the project.
README.md exists but lacks Installation section. New developers cannot set up the project.

Impact

Impact

  • Contributor onboarding blocked
  • Time wasted figuring out setup
  • Potential contributors give up
  • Contributor onboarding blocked
  • Time wasted figuring out setup
  • Potential contributors give up

Location

Location

README.md
README.md

Suggested Fix

Suggested Fix

Run
/fix-docs
or add manually:
  • Prerequisites (Node version, etc.)
  • Package manager commands
  • Environment setup steps

Created by
/log-doc-issues
EOF )"
--label "priority/p1,domain/docs,type/chore"
undefined
Run
/fix-docs
or add manually:
  • Prerequisites (Node version, etc.)
  • Package manager commands
  • Environment setup steps

Created by
/log-doc-issues
EOF )"
--label "priority/p1,domain/docs,type/chore"
undefined

4. Issue Format

4. Issue格式

Title:
[P{0-3}] Documentation gap description
Labels:
  • priority/p0
    |
    priority/p1
    |
    priority/p2
    |
    priority/p3
  • domain/docs
  • type/chore
Body:
markdown
undefined
标题:
[P{0-3}] 文档缺失/问题描述
标签:
  • priority/p0
    |
    priority/p1
    |
    priority/p2
    |
    priority/p3
  • domain/docs
  • type/chore
正文:
markdown
undefined

Problem

问题描述

What documentation is missing or broken
文档缺失或存在的问题

Impact

影响范围

Who is affected (new devs, users, contributors)
受影响的人群(新开发者、用户、贡献者等)

Location

位置

File path or expected file location
文件路径或预期文件位置

Suggested Fix

修复建议

Skill to run or manual action

Created by
/log-doc-issues
undefined
可运行的工具或手动操作步骤

由/log-doc-issues创建
undefined

Priority Mapping

优先级映射

GapPriority
Missing README.mdP0
Missing .env.example (with env vars used)P0
README missing key sectionsP1
Undocumented env varsP1
Missing architecture docsP1
Stale documentation (90+ days)P2
Missing CONTRIBUTING.mdP2
Missing ADR directoryP2
Broken linksP2
Polish improvementsP3
问题类型优先级
缺少README.mdP0
缺少.env.example(包含使用的环境变量)P0
README缺少关键章节P1
环境变量未文档化P1
缺少架构文档P1
文档过时(超过90天)P2
缺少CONTRIBUTING.mdP2
缺少ADR目录P2
链接失效P2
优化改进P3

Output

输出示例

After running:
Documentation Issues Created:
- P0: 0
- P1: 3 (README sections, env vars)
- P2: 2 (stale docs, ADRs)
- P3: 1 (link checking)

Total: 6 issues created
View: gh issue list --label domain/docs
运行后输出:
Documentation Issues Created:
- P0: 0
- P1: 3 (README sections, env vars)
- P2: 2 (stale docs, ADRs)
- P3: 1 (link checking)

Total: 6 issues created
View: gh issue list --label domain/docs

Related

相关工具

  • /check-docs
    - The primitive (audit only)
  • /fix-docs
    - Fix documentation gaps
  • /documentation
    - Full documentation workflow
  • /groom
    - Full backlog grooming
  • /check-docs
    - 基础工具(仅审计)
  • /fix-docs
    - 修复文档问题
  • /documentation
    - 完整文档工作流
  • /groom
    - 完整待办事项梳理