Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

document文档处理

Agent Skill

document 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

745

周安装

32

GitHub Stars

公开资料未说明

下载量

261
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/webriq/claude-skills --skill document

简介

document 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它支持基于关键词、任务场景或来源线索进行信息检索,帮助 Agent 高效获取所需资源。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,具体用法可参考原始 README。
  • 安装前建议确认权限范围和维护状态,注意可能触发的联网或命令执行操作。
  • document 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/document - Documentation Agent

Workflow

/document {ID}
       ↓
1. Resolve task ID → find task document
2. Read task document + test report (pipeline audit)
3. Run git diff — identify pipeline gaps
4. Create/update feature doc (docs/features/{feature}.md)
5. Create/update user guide if user-facing (docs/guides/{feature}.md)
6. Update CLAUDE.md if structural changes detected
7. Write retrospective → update LEARNINGS.md
8. Move task to "Approved" in TASKS.md
       ↓
┌─── Automation Mode? ───┐
│                        │
▼ Manual                 ▼ Auto
Notify user              Output SIGNAL, exit
Ready for /ship

Auto Mode Behavior

When task document has Automation: auto:

≡ SIGNAL
STAGE: document
STATUS: DONE
TASK: {ID}
SUMMARY: Feature doc created
REFERENCE: docs/features/{feature}.md
≡ END

Manual mode: Run /clear then /ship {ID}.


Step 1: Pre-Documentation Checklist — Full Pipeline Audit

Step 1A: Read primary sources

docs/task/{ID}-{task-name}.md        - What was planned + Implementation Notes from /simplify
docs/testing/{ID}-{task-name}.md     - Test results, failures, retry cycles

Step 1B: Get the actual file diff

git diff --name-only main...HEAD

Cross-reference against task doc's ## File Changes. Anything in diff but NOT in the task doc was added by /simplify or a /test retry — these are pipeline gaps to capture.

Step 1C: Classify pipeline gaps

File in diff but not in task docLikely sourceAction
Same file, significantly refactored/simplify quality fixesNote pattern changes in CLAUDE.md if new convention emerged
New helper/utility extracted/simplify single-responsibility fixAdd to CLAUDE.md Important File Locations if reusable
New test fixture or seed file/test setupNote in LEARNINGS.md if it reveals a testing pattern
Additional files changed in retry/test/implement re-runDocument deviation; check if CLAUDE.md needs updating
Migration file added mid-cycleAny stepAlways add to CLAUDE.md — migrations are critical context

Do NOT do broad codebase exploration. Only open files in the gap list or explicitly needed to verify accuracy.

Step 1D: Read /simplify's Implementation Notes

In the task doc ## Implementation Notes:

  • "What was built" — may differ from original plan
  • "Deviations from plan" — medium or major deviations surface in documentation
  • "Standards check" — fixes may have introduced new patterns worth recording in CLAUDE.md

Step 1E: Check /test retry count

In docs/testing/{ID}-{task-name}.md:

  • 0 retries → note what worked well in LEARNINGS.md
  • 1+ retries → root cause of failure is a lesson; always capture in LEARNINGS.md
  • Multiple retries on same issue → add "Do Not" entry to CLAUDE.md

Step 2: Identify Documentation Needs

Change TypeDocumentation Needed
New featureFeature doc + User guide
EnhancementUpdate existing docs
Bug fixUpdate troubleshooting sections
API changeUpdate API reference
Pipeline gap (simplify/test added files)CLAUDE.md + LEARNINGS.md

Step 3: Documentation Output

Feature doc: docs/features/{FEATURE}.md — technical implementation details for developers. Include overview, user journey, architecture (file structure, schema, API endpoints), key components, technical notes.

User guide: docs/guides/{feature}.md — how to use the feature for end users. Include quick start, step-by-step instructions, tips, FAQ, troubleshooting.


Step 4: CLAUDE.md — Living Project Brain

Read → prune → update (in that order). Never just append.

Bar for an entry: A future agent would make a mistake without it, waste time discovering it, or re-open a decision already made.

Triggers for update after this task:

What happenedWhat to update
New directory createdProject Structure
File moved or renamedImportant File Locations
Database migration ranStack section, schema notes
New package installedStack section
/simplify caught a repeated violationDo Not
Architecture debate resolvedArchitecture Decisions
Convention violated and then fixedKey Conventions
Old pattern replacedRemove old entry, add new

Skip entirely if: pure logic fix, copy change, or styling tweak with no new files, directories, migrations, routes, or packages.

Never skip if: migration added, new directory created, file moved/renamed, new API route, new env variable required, or pattern replaced.

/implement should have already captured these — verify and fill any gaps.


Step 5: Retrospective & LEARNINGS.md

Task retrospective: docs/learnings/{ID}-{task-name}.md

Covers the entire pipeline — plan vs reality, quality gate findings, test failures, decisions made. Include:

  • Plan vs Reality (what was planned, what was committed, deviations, files outside plan)
  • What /simplify caught (patterns flagged and fixed)
  • What /test revealed (failures and root causes)
  • Key lessons (specific and actionable)

LEARNINGS.md (project root): Extract the most reusable insight and append to the relevant section.

Where the lesson came fromLEARNINGS.md section
/simplify caught a coding pattern violationCommon Mistakes to Avoid
/simplify extracted a reusable helperEstablished Coding Patterns
/test failed due to system behavior not in planTech Stack Notes
/test retry revealed an integration gapCommon Mistakes to Avoid
Files in diff not in planTech Stack Notes or Established Coding Patterns
Architecture decision made during pipelineArchitecture & Decisions

Rules for LEARNINGS.md entries:

  • One entry = one actionable lesson
  • Credit the pipeline step that caught it
  • Bold the key phrase, explain in one sentence
  • Never duplicate — check before appending
  • If LEARNINGS.md missing, create with sections: Architecture & Decisions, Established Coding Patterns, Common Mistakes to Avoid, Testing Patterns, Tech Stack Notes

Documentation Checklist

  • git diff --name-only main...HEAD run — full file list captured
  • Pipeline gaps identified and classified
  • /simplify Implementation Notes read — deviations noted
  • /test retry count checked — root cause of failures identified
  • Feature doc created/updated with accurate file paths
  • User guide created/updated (if user-facing)
  • CLAUDE.md read → pruned → updated (or skipped if no structural changes)
  • docs/learnings/{ID}-{task-name}.md written
  • Key lesson(s) appended to LEARNINGS.md
  • No duplicate entries in LEARNINGS.md
  • Task moved to "Approved" in TASKS.md

Update TASKS.md

Move task to "Approved":

IDTaskTask DocFeature DocTest ReportApproved

Handoff to /ship

Manual mode: Output summary of updated files, task moved to "Approved", next step /ship {ID}. Auto mode: Output SIGNAL and exit. The orchestrator handles routing. Do not spawn the next skill.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.42%
按下载量换算87

Claude

30.64%
按下载量换算80

Cursor

18.63%
按下载量换算49

Gemini CLI

8.48%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/webriq/claude-skills --skill document 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills