Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

update-oo-component-documentation更新 oo 组件文档

Agent Skill

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

总安装

171,360

周安装

7,043

GitHub Stars

31,694

下载量

55,440
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill update-oo-component-documentation

简介

分析和刷新面向对象的组件文档以匹配当前的实现。

  • 检查源代码以识别设计模式、依赖项、接口和架构更改,然后更新现有文档以反映当前的实现
  • 通过框架感知分析,支持 C#/.NET、Java、TypeScript/JavaScript 和 Python 的特定语言优化
  • 保留文档结构和格式,同时将所有技术内容、代码示例、图表和 API 引用刷新到当前状态
  • 遵循行业标准,包括 C4 模型、Arc42、IEEE 1016 和敏捷文档原则,以开发人员和维护人员为主要受众
  • 维护版本历史记录、标记重大更改并更新美人鱼图以显示当前组件结构、依赖关系和数据流

SKILL.md

Update Standard OO Component Documentation

Update the existing documentation file at: ${file} by analyzing the corresponding component code.

Extract the component path from the existing documentation's front matter (component_path field) or infer it from the documentation content. Analyze the current component implementation and update the documentation accordingly.

Documentation Standards:

  • DOC-001: Follow C4 Model documentation levels (Context, Containers, Components, Code)
  • DOC-002: Align with Arc42 software architecture documentation template
  • DOC-003: Comply with IEEE 1016 Software Design Description standard
  • DOC-004: Use Agile Documentation principles (just enough documentation that adds value)
  • DOC-005: Target developers and maintainers as primary audience

Analysis Instructions:

  • ANA-001: Read existing documentation to understand component context and structure
  • ANA-002: Identify component path from front matter or content analysis
  • ANA-003: Examine current source code files for class structures and inheritance
  • ANA-004: Compare existing documentation with current implementation
  • ANA-005: Identify design patterns and architectural changes
  • ANA-006: Update public APIs, interfaces, and dependencies
  • ANA-007: Recognize new/changed creational/structural/behavioral patterns
  • ANA-008: Update method parameters, return values, exceptions
  • ANA-009: Reassess performance, security, reliability, maintainability
  • ANA-010: Update integration patterns and data flow

Language-Specific Optimizations:

  • LNG-001: C#/.NET - async/await, dependency injection, configuration, disposal
  • LNG-002: Java - Spring framework, annotations, exception handling, packaging
  • LNG-003: TypeScript/JavaScript - modules, async patterns, types, npm
  • LNG-004: Python - packages, virtual environments, type hints, testing

Update Strategy:

  • UPD-001: Preserve existing documentation structure and format
  • UPD-002: Update last_updated field to current date
  • UPD-003: Maintain version history in front matter if present
  • UPD-004: Add new sections if component has significantly expanded
  • UPD-005: Mark deprecated features or breaking changes
  • UPD-006: Update examples to reflect current API
  • UPD-007: Refresh dependency lists and versions
  • UPD-008: Update mermaid diagrams to reflect current architecture

Error Handling:

  • ERR-001: Documentation file doesn't exist - provide guidance on file location
  • ERR-002: Component path not found in documentation - request clarification
  • ERR-003: Source code has moved - suggest updated paths
  • ERR-004: Major architectural changes - highlight breaking changes
  • ERR-005: Insufficient access to source - document limitations

Output Format:

Update the existing Markdown file maintaining its structure while refreshing content to match current implementation. Preserve formatting, heading hierarchy, and existing organizational decisions.

Required Documentation Structure:

Update the existing documentation following the same template structure, ensuring all sections reflect current implementation:

---
title: [Component Name] - Technical Documentation
component_path: [Current component path]
version: [Updated version if applicable]
date_created: [Original creation date - preserve]
last_updated: [YYYY-MM-DD - update to current date]
owner: [Preserve existing or update if changed]
tags: [Update tags as needed based on current functionality]
---

# [Component Name] Documentation

[Update introduction to reflect current component purpose and capabilities]

## 1. Component Overview

### Purpose/Responsibility
- OVR-001: Update component's primary responsibility
- OVR-002: Refresh scope (included/excluded functionality)
- OVR-003: Update system context and relationships

## 2. Architecture Section

- ARC-001: Update design patterns used (Repository, Factory, Observer, etc.)
- ARC-002: Refresh internal and external dependencies with current purposes
- ARC-003: Update component interactions and relationships
- ARC-004: Update visual diagrams (UML class, sequence, component)
- ARC-005: Refresh mermaid diagram showing current component structure, relationships, and dependencies

### Component Structure and Dependencies Diagram

Update the mermaid diagram to show current:
- **Component structure** - Current classes, interfaces, and their relationships
- **Internal dependencies** - How components currently interact within the system
- **External dependencies** - Current external libraries, services, databases, APIs
- **Data flow** - Current direction of dependencies and interactions
- **Inheritance/composition** - Current class hierarchies and composition relationships

[Update diagram to reflect current architecture]


## 3. Interface Documentation

- INT-001: Update all public interfaces and current usage patterns
- INT-002: Refresh method/property reference table with current API
- INT-003: Update events/callbacks/notification mechanisms

| Method/Property | Purpose | Parameters | Return Type | Usage Notes |
| --- | --- | --- | --- | --- |
| [Update table with current API] |  |  |  |  |

## 4. Implementation Details

- IMP-001: Update main implementation classes and current responsibilities
- IMP-002: Refresh configuration requirements and initialization patterns
- IMP-003: Update key algorithms and business logic
- IMP-004: Update performance characteristics and bottlenecks

## 5. Usage Examples

### Basic Usage

// Update basic usage example to current API


### Advanced Usage

// Update advanced configuration patterns to current implementation


- USE-001: Update basic usage examples
- USE-002: Refresh advanced configuration patterns
- USE-003: Update best practices and recommended patterns

## 6. Quality Attributes

- QUA-001: Update security (authentication, authorization, data protection)
- QUA-002: Refresh performance (characteristics, scalability, resource usage)
- QUA-003: Update reliability (error handling, fault tolerance, recovery)
- QUA-004: Refresh maintainability (standards, testing, documentation)
- QUA-005: Update extensibility (extension points, customization options)

## 7. Reference Information

- REF-001: Update dependencies with current versions and purposes
- REF-002: Refresh configuration options reference
- REF-003: Update testing guidelines and mock setup
- REF-004: Refresh troubleshooting (common issues, error messages)
- REF-005: Update related documentation links
- REF-006: Add change history and migration notes for this update

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.73%
按下载量换算21,472

Claude

30.65%
按下载量换算16,992

Cursor

18.36%
按下载量换算10,179

Gemini CLI

9.11%
按下载量换算5,051

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills