Token导航 LogoToken导航

Agent Skill · 研究检索

doc-update(文档更新)

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

doc-update 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 54,403。

总安装 512周安装 22GitHub Stars 公开资料未说明下载 180核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add kojder/photo-map-app --skill "doc-update"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

协助更新和维护项目文档,保持内容时效性与一致性。可识别变更点并同步至相关文档模块,减少遗漏风险。建议结合版本控制系统使用,便于追踪修改历史。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。更新时应基于实际变更事实,不虚构或推测新增内容。

doc-update 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add kojder/photo-map-app --skill "doc-update";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

doc-update 怎么安装?

在终端执行 npx skills add kojder/photo-map-app --skill "doc-update"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

doc-update 支持哪些 AI 工具?

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

doc-update 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

doc-update 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

doc-update 用的人多吗?

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

doc-update 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
doc-update

文档更新 · 本页

512—需要联网MIT未收录

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

SKILL.md 原文

Documentation Update Skill

Overview

This skill provides a systematic workflow for updating and cleaning up project documentation files. While primarily designed for feature documentation in .ai/features/, it works with any markdown documentation in the project including README.md, PROGRESS_TRACKER.md, CLAUDE.md, or documentation within code modules.

The skill removes verbose implementation details, code snippets, outdated information, and redundant content while preserving essential architectural decisions and technical context needed for future development.

It is particularly valuable for maintaining a lean, focused documentation set that provides maximum value without information overload.

When to Use This Skill

Use this skill when the user requests documentation cleanup, updates, or organization for:

  • Feature documentation in .ai/features/ (primary use case)
  • Core documentation (README.md, PROGRESS_TRACKER.md, CLAUDE.md)
  • Any markdown file in the project that needs cleanup
  • Module or component documentation that has become outdated

Trigger phrases:

  • "update docs for X" / "zaktualizuj dokumentację X"
  • "clean up X documentation" / "posprzątaj dokumentację X"
  • "organize documentation" / "uporządkuj dokumentację"
  • "condense X documentation" / "wyczyść dokumentację X"
  • "remove outdated details from X"
  • "update README" / "clean up PROGRESS_TRACKER"

Documentation Update Workflow

Follow this 7-step workflow when updating feature documentation:

Step 1: Identify the Documentation File

Extract the documentation target from the user's request and locate the corresponding file.

Actions:

  • Identify target from user request:

- Feature name → .ai/features/feature-*.md (e.g., "photo viewer" → feature-photo-viewer.md) - Core docs → README.md, PROGRESS_TRACKER.md, CLAUDE.md - Other files → Any .md file mentioned by user

  • Locate file in project structure
  • Confirm file exists, if not, ask user for clarification

Examples:

User: "Update photo viewer documentation"
→ Target: .ai/features/feature-photo-viewer.md

User: "Clean up README"
→ Target: README.md

User: "Posprzątaj PROGRESS_TRACKER"
→ Target: PROGRESS_TRACKER.md

Step 2: Gather Context from Multiple Sources

Before making changes, gather comprehensive context about the feature's current state from multiple sources.

Required Context Sources:

  1. Feature File: Read the target .ai/features/feature-*.md file

- Current status markers - Implementation details - Completion dates

  1. PROGRESS_TRACKER.md: Check feature status in project tracker

- Is it in "Last Completed"? - Is it in "Currently Working On"? - Is it in "Opcjonalne Fazy (Post-MVP)"?

  1. Git History: Check implementation progress # Find commits related to this feature git log --all --oneline --grep="feature-name" git log --all --oneline --grep="photo-viewer" # Check if feature branch exists or was merged git branch -a | grep -i feature-name
  2. Codebase: Systematically search and analyze implementation CRITICAL: This is NOT optional - you MUST perform thorough code search before updating docs! a) Search by keywords (use Grep tool with multiple patterns): # Example for "photo-viewer" feature: grep -r "photo.?viewer" --ignore-case # Find all variants grep -r "photoViewer" # camelCase grep -r "PhotoViewer" # PascalCase grep -r "photo_viewer" # snake_case b) Identify key files (use Glob tool to find all related files): c) Read key files (use Read tool - NOT just "check if exists"): d) Create component inventory (make a list while reading): Do not proceed to Step 3 until you have:

- Backend: *Controller.java, *Service.java, *Repository.java, *Entity.java, *DTO.java - Frontend: *.component.ts, *.service.ts, *.guard.ts, *.model.ts, *.html - Tests: *Test.java, *.spec.ts, *.e2e.ts - Read main service/component implementation files - Check method signatures, class structure, dependencies - Identify integration points with other features - Note important fields, interfaces, DTOs - Backend: Package + Class names (e.g., com.photomap.service.PhotoViewerService) - Frontend: File paths + Component/Service names (e.g., src/app/photo-viewer/photo-viewer.component.ts) - Key interfaces/DTOs (e.g., PhotoViewerDTO, PhotoMetadata) - Important public methods (e.g., extractExifData(), generateThumbnail()) - ✅ Searched code with multiple grep patterns - ✅ Found all related files with Glob - ✅ Read (not just checked) key implementation files - ✅ Created inventory of file paths/packages/classes

  1. CLAUDE.md: Review project conventions

- Language preferences (Polish/English) - Documentation standards - Technical stack info

Do not proceed until all context is gathered.

Step 3: Determine Implementation Status

Based on gathered context, classify the feature into one of these statuses:

  • ✅ COMPLETED: Fully implemented, tested, merged to main
  • ⏳ IN-PROGRESS: Actively being developed, mixed completion status
  • 🔜 PLANNED: Designed but not yet started
  • ⏸️ PAUSED: Started but temporarily on hold
  • 🗑️ DEPRECATED: No longer relevant or replaced

Decision Matrix:

IndicatorStatus
Branch merged + all phases complete + in PROGRESS_TRACKER "Last Completed"✅ COMPLETED
Branch active + some phases complete + in "Currently Working On"⏳ IN-PROGRESS
No code + in "Post-MVP" section + only planning details🔜 PLANNED
Some code + explicit "paused" marker + in waiting state⏸️ PAUSED
Explicit deprecation notice or code removed🗑️ DEPRECATED

Reference: See references/feature-status-levels.md for detailed status definitions.

Step 4: Apply Appropriate Cleanup Level

Based on status determined in Step 3, apply the corresponding cleanup strategy.

For ✅ COMPLETED Features: Aggressive Cleanup

Remove:

  • All code snippets and examples
  • Detailed step-by-step implementation instructions
  • Granular task checklists (convert to phase summaries)
  • Time tracking and progress tables
  • Verbose testing procedures
  • Development history and commit logs
  • "Currently Working On" sections
  • Outdated "Next Steps"

Keep:

  • Status section with completion date
  • Architecture overview (high-level components)
  • Key technical decisions with rationale
  • Component/service names and responsibilities
  • Integration points with other features
  • API endpoints or public interfaces
  • Important constraints or limitations
  • Future enhancement considerations

Target reduction: 60-85% file size reduction

For ⏳ IN-PROGRESS Features: Moderate Cleanup

Remove:

  • Outdated code snippets
  • Completed phase details (summarize instead)
  • Resolved blockers
  • Obsolete implementation attempts
  • Redundant information

Keep:

  • Current phase details and tasks
  • Next steps and planned work
  • Active blockers or decisions needed
  • Recent implementation notes
  • Testing approach for current work
  • All items from COMPLETED list

Target reduction: 40-60% file size reduction

For 🔜 PLANNED Features: Light Cleanup

Remove:

  • Speculative code examples
  • Over-detailed implementation plans
  • Premature technical decisions
  • Excessive alternative approaches (keep top 2-3)

Keep:

  • Requirements and user stories
  • High-level architecture proposals
  • Technology evaluation (brief)
  • Dependencies and prerequisites
  • Estimated effort/complexity
  • Integration points

Target reduction: 30-50% file size reduction

Reference: See references/cleanup-guidelines.md for detailed guidelines.

Step 5: Update Status Section

Ensure the feature file has a clear, prominent status section at the top.

Required Format:

# [Feature Name]

**Status:** [✅/⏳/🔜/⏸️/🗑️] [Description]
**Branch:** [branch-name] ([merged to main] or [active])
**Completed:** [YYYY-MM-DD] (for completed features)
**Last Updated:** [YYYY-MM-DD] (for in-progress features)

## Overview
[Brief 1-2 paragraph summary]

Examples:

**Status:** ✅ Completed (2025-10-25)
**Branch:** `feature/photo-viewer` (merged to master)

**Status:** ⏳ In Progress - Phase 2 of 4
**Branch:** `feature/email-system`
**Last Updated:** 2025-11-03

**Status:** 🔜 Planned (Post-MVP)
**Estimated Effort:** 2-3 weeks

Ensure "Key Components" Section Exists

CRITICAL: Every feature documentation MUST include a "Key Components" section with file paths/package references.

This section should be added immediately after the Overview section, containing ONLY references to code (NOT code snippets or implementation details).

Required Format:

## Key Components

### Backend
| Path/Package | Description |
|--------------|-------------|
| `com.photomap.service.PhotoService` | Main service for photo CRUD operations, EXIF extraction |
| `com.photomap.controller.PhotoController` | REST endpoints: POST /api/photos, GET /api/photos/{id} |
| `com.photomap.entity.Photo` | JPA entity with geolocation fields (latitude, longitude) |
| `com.photomap.repository.PhotoRepository` | Spring Data JPA repository for Photo entity |

### Frontend
| Path/Component | Description |
|----------------|-------------|
| `src/app/photo-viewer/photo-viewer.component.ts` | Main component displaying photo with map integration |
| `src/app/services/photo.service.ts` | Manages photo state via BehaviorSubject, handles API calls |
| `src/app/models/photo.model.ts` | TypeScript interface for Photo with metadata |

Rules for "Key Components" section:

  1. Content Rules:

- ✅ Include file paths (e.g., src/app/service/photo.service.ts) - ✅ Include package names (e.g., com.photomap.service.PhotoService) - ✅ Include one-sentence description (5-15 words) explaining purpose - ✅ Optionally mention key public methods/endpoints - ❌ NO code snippets or implementation details - ❌ NO method bodies or class internals - ❌ NO examples of usage

  1. Source of Information:

- Use the component inventory created in Step 2.4 (Codebase search) - All components listed here MUST come from actual code found via Grep/Glob/Read - Do NOT guess or assume components - only list what was found in code

  1. Status-Specific Guidelines: For ✅ COMPLETED features: For ⏳ IN-PROGRESS features: For 🔜 PLANNED features:

- Keep full component list (this is the MAIN architectural reference!) - Remove code snippets from other sections, but KEEP this component list - This section is gold for future work - never remove it - List implemented components (found in code) - List planned components with (planned) suffix - Example: PhotoExportService (planned) - Export photos to ZIP - List proposed architecture components with (proposed) suffix - Example: com.photomap.service.NotificationService (proposed) - Email notifications

  1. Grouping:

- Group by Backend/Frontend (for full-stack features) - For backend-only: use ### Backend section only - For frontend-only: use ### Frontend section only

Purpose of this section:

  • Enable Claude Code to quickly find related files when working on this feature
  • Provide architectural overview without code clutter
  • Serve as navigation reference for future development

Step 6: Apply Project Language Policy

CRITICAL: Check project's language policy in CLAUDE.md FIRST before deciding on documentation language.

Step-by-step process:

  1. Check CLAUDE.md for language policy:

- Read CLAUDE.md in project root - Look for section about "Language and Communication" or "Documentation" - Check if there's explicit policy about documentation language

  1. Apply appropriate rule: A) If CLAUDE.md specifies documentation language: B) If NO language policy in CLAUDE.md: C) If user explicitly requests translation:

- ✅ Use the language specified in CLAUDE.md - Example: Documentation: English (all.md files) → Convert to English - Example: Dokumentacja: Polski → Convert to Polish - This overrides the original document language - ✅ Preserve the original language of the document - Polish document → Keep in Polish - English document → Keep in English - Mixed document → Ask user which to standardize to - ✅ Use the language user requested - This overrides CLAUDE.md and original language

Priority order:

  1. User's explicit request (highest)
  2. CLAUDE.md language policy
  3. Original document language (lowest)

Example workflows:

Scenario 1: Project with English policy
- CLAUDE.md says: "Documentation: English (all .md files)"
- Current doc: Polish
- Action: Convert to English

Scenario 2: Project without policy
- CLAUDE.md: No language policy specified
- Current doc: Polish
- Action: Keep in Polish

Scenario 3: User explicit request
- User says: "Update docs and translate to Polish"
- CLAUDE.md says: "Documentation: English"
- Action: Translate to Polish (user request overrides policy)

Scenario 4: No policy, mixed language doc
- CLAUDE.md: No language policy
- Current doc: Mixed Polish/English
- Action: Ask user which language to standardize to

Step 7: Review with User Before Committing

NEVER make documentation changes without user review.

Review Process:

  1. Make all changes to the file
  2. Show user a summary of changes:

- Original file size vs new file size - Key sections removed - Key sections kept - Status classification used

  1. Optionally show git diff for detailed review
  2. Ask: "Czy zatwierdzić te zmiany w dokumentacji?"
  3. Wait for explicit confirmation
  4. Only after YES → stage and commit changes

Review Checklist - verify BEFORE showing summary to user:

Before presenting the review summary, verify that all required steps were completed:

✅ Code verification performed (Step 2.4):

  • Grep search executed with multiple patterns (camelCase, PascalCase, snake_case)
  • Key files identified with Glob tool
  • Key files read with Read tool (not just checked for existence)
  • Component inventory created (file paths, packages, class names)

✅ Documentation completeness:

  • "Key Components" section exists in the updated documentation
  • All components from Step 2.4 inventory are listed in "Key Components"
  • Full file paths used (frontend) and package names (backend)
  • Descriptions are concise (5-15 words) and accurate
  • Section contains ONLY references (no code snippets or implementation details)

✅ Status accuracy:

  • Status classification matches git history + PROGRESS_TRACKER
  • Completion date accurate (for ✅ COMPLETED features)
  • Branch status verified (merged/active)

✅ Cleanup level appropriate:

  • COMPLETED: Removed 60-85% (kept architecture + decisions + Key Components)
  • IN-PROGRESS: Removed 40-60% (kept current work + Key Components)
  • PLANNED: Removed 30-50% (kept requirements + Key Components)

⚠️ If ANY checklist item is NOT checked - DO NOT proceed to user review. Go back and complete missing steps first.

Example Review Summary:

Zaktualizowałem dokumentację feature-photo-viewer.md:

Zmiany:
- Usunięto szczegółowe checklisty zadań (150 linii)
- Usunięto fragmenty kodu (80 linii)
- Usunięto verbose testing procedures (60 linii)
- Zachowano architekturę i kluczowe decyzje techniczne
- Zachowano Future Considerations

Status: ✅ COMPLETED
Rozmiar: 478 linii → 85 linii (82% redukcja)

Czy zatwierdzić te zmiany w dokumentacji?

Resources

This skill includes reference documentation in the references/ directory:

references/cleanup-guidelines.md

Detailed guidelines for what to keep and remove for each implementation status. Includes specific examples and strategies for condensing different types of content.

Read this when: You need specific guidance on what to remove or keep for a particular status level.

references/feature-status-levels.md

Comprehensive definitions of all implementation statuses (COMPLETED, IN-PROGRESS, PLANNED, etc.) with indicators and classification criteria.

Read this when: You're unsure how to classify a feature's status or need to understand status transitions.

references/examples.md

Before/after examples of documentation transformations for different statuses, showing actual file size reductions and specific changes made.

Read this when: You want to see concrete examples of the cleanup process or validate your approach.

Important Reminders

  1. Always gather full context - Don't rely on the feature file alone
  2. Systematically search codebase - Use Grep/Glob/Read tools to find all related components
  3. Include Key Components section - Always add file paths/packages for quick reference
  4. Be aggressive with COMPLETED features - Remove 60-85% of content
  5. Preserve technical decisions - These are gold for future work
  6. Apply project language policy - Check CLAUDE.md first, then user request, then preserve original
  7. Always review with user - Never auto-commit documentation changes
  8. Use references liberally - Refer to cleanup-guidelines.md for specific guidance

Quick Reference

StatusCleanup LevelTarget ReductionKey Focus
✅ COMPLETEDAggressive60-85%Architecture + decisions
⏳ IN-PROGRESSModerate40-60%Current work + context
🔜 PLANNEDLight30-50%Requirements + why
⏸️ PAUSEDModerate40-60%Context for resume
🗑️ DEPRECATEDMinimalArchiveHistorical reference

Common Pitfalls to Avoid

  • ❌ Removing all technical decisions (these are crucial!)
  • ❌ Deleting integration points (needed for related work)
  • ❌ Auto-translating without user request
  • ❌ Committing without user review
  • ❌ Being too conservative with COMPLETED features
  • ❌ Removing current context from IN-PROGRESS features
  • ❌ Keeping speculative code in PLANNED features

平台分布

Claude Code

28.71%
按下载量换算52

OpenCode

21.84%
按下载量换算39

Antigravity

16.78%
按下载量换算30

Gemini CLI

12.37%
按下载量换算22

windsurf

8.25%
按下载量换算15

trae

3.41%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills