Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

doc-update文档更新

Agent Skill

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

总安装

512

周安装

22

GitHub Stars

公开资料未说明

下载量

180
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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"

简介

协助更新和维护项目文档,保持内容时效性与一致性。

  • 可识别变更点并同步至相关文档模块,减少遗漏风险。
  • 建议结合版本控制系统使用,便于追踪修改历史。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 更新时应基于实际变更事实,不虚构或推测新增内容。
  • doc-update 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

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