Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

readme-generateREADME generate 搜索

Agent Skill

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

总安装

240

周安装

10

GitHub Stars

2,424

下载量

80
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/spring-ai-alibaba/examples --skill readme-generate

简介

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。
  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论。
  • 涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。
  • 可结合原始 README 和仓库路径进一步核验具体用法和功能边界。

SKILL.md

README Generator

This skill automatically analyzes Spring Boot modules and generates comprehensive README.md files according to the specified format requirements, including module functionality, API documentation, usage examples, technical implementation, testing guidance, and important notes.

When to Use

Use this skill when you need to:

  • Generate README.md files for new modules
  • Update existing README.md files when module content changes
  • Create consistent documentation across multiple modules
  • Document API interfaces automatically
  • Provide comprehensive module documentation for developers

How to Use

Generate README for a Module

Execute the README generator script to create comprehensive documentation:

python .claude/skills/readme-generate/scripts/readme_generator.py <module_path> [output_file]

Parameters:

  • module_path (required): Path to the Spring Boot module directory
  • output_file (optional): Custom output file path (default: {module_path}/README.md)

Examples:

# Generate for chat module-generate.md (creates basic/chat/README.md)
python .claude/skills/readme-generate/scripts/readme_generator.py basic/chat

# Generate for tool module-generate.md with custom output
python .claude/skills/readme-generate/scripts/readme_generator.py basic/tool custom_README.md

# Generate for image module-generate.md
python .claude/skills/readme-generate/scripts/readme_generator.py basic/image

# Update existing README
python .claude/skills/readme-generate/scripts/readme_generator.py graph/parallel

Generated README Structure

The skill generates README.md files that strictly follow the task specification:

1. 模块功能介绍 (Module Functionality Description)

  • Automatically extracts module functionality from controller classes
  • Generates comprehensive descriptions based on actual implementation
  • Provides clear overview of module purpose and capabilities

2. 接口文档 (API Documentation)

  • Complete API Coverage: All REST endpoints documented
  • Path Information: Full endpoint paths with HTTP methods
  • Parameter Details: All request parameters with default values
  • Response Format: JSON response structure
  • Feature Lists: Key capabilities and characteristics

3. 使用示例 (Usage Examples)

  • HTTP Requests: Ready-to-use curl commands
  • Parameter Examples: Default parameter values for testing
  • Integration Examples: Different usage scenarios
  • Tool Integration: Links to corresponding.http files

4. 技术实现 (Technical Implementation)

  • Core Components: Key Spring Boot and Spring AI Alibaba components
  • Configuration Details: Environment variables and configuration requirements
  • Dependencies: Important Maven/Gradle dependencies
  • Architecture Overview: Module structure and design patterns

5. 测试指导 (Testing Guidance)

  • HTTP File Testing: Direct links to generated.http test files
  • curl Commands: Command-line testing examples
  • IDE Integration: IntelliJ IDEA and VS Code testing guidance
  • Parameter Testing: Different parameter combinations

6. 注意事项 (Important Notes)

  • Environment Setup: Required environment variables and configurations
  • Network Requirements: Service connectivity requirements
  • Character Encoding: UTF-8 support for international content
  • Port Configuration: Default port usage and customization
  • Common Issues: Troubleshooting guidance

Input Analysis Capabilities

The skill automatically analyzes:

Source Code Analysis

  • Controller Classes: Extracts REST endpoints and methods
  • Method Annotations: @GetMapping, @PostMapping, @RequestMapping patterns
  • Parameter Extraction: @RequestParam with default values
  • Comments and Javadoc: Method descriptions and documentation

Configuration Analysis

  • pom.xml: Maven dependencies and project information
  • application.yml/properties: Configuration details
  • Main Application Classes: Application entry points

File Structure Analysis

  • Existing README.md: Preserves current descriptions when available
  • HTTP Test Files: Links to generated.http test files
  • Directory Structure: Module organization and components

Generated Content Features

Automated Content Generation

  • Dynamic Descriptions: Based on actual code implementation
  • Smart Categorization: Automatic identification of module types
  • Parameter Extraction: Complete parameter documentation with defaults
  • URL Construction: Full endpoint URLs with parameters

Format Compliance

  • Markdown Standards: Proper formatting and structure
  • Chinese Support: Full UTF-8 support for Chinese content
  • Link Generation: Automatic internal links to related files
  • Code Blocks: Proper syntax highlighting for code examples

Consistency and Quality

  • Standardized Structure: Consistent format across all modules
  • Comprehensive Coverage: All aspects of the module documented
  • Up-to-date Information: Based on current source code
  • Professional Presentation: Clear and developer-friendly documentation

Module Type Detection

The skill automatically identifies module types based on controller names:

  • Chat Modules: AI对话功能
  • Tool Modules: 工具调用功能
  • Image Modules: 图像处理功能
  • RAG Modules: RAG增强功能
  • Advisor Modules: 对话增强功能
  • Stream Modules: 流式处理功能
  • Parallel Modules: 并行处理功能
  • Vector Modules: 向量数据库功能
  • Search Modules: 搜索功能

File Organization

Output Location

  • Default: {module_path}/README.md
  • Custom: User-specified path
  • Backup: Existing README.md is backed up automatically

Integration with Existing Files

  • Preserves: Existing descriptions and custom content
  • Updates: Adds missing sections and updates content
  • Backups: Creates backup of existing README.md before modification

Customization Options

Modify Generation Behavior

Edit scripts/readme_generator.py to customize:

  • Module Type Detection: Add new module type patterns
  • Content Templates: Modify section templates and formats
  • Parameter Extraction: Enhance parameter analysis logic
  • Description Generation: Improve automatic description creation

Extend Functionality

Add support for:

  • Additional File Types: Analyze more configuration files
  • Advanced Documentation: Include more technical details
  • Integration Examples: Add framework-specific examples
  • Testing Automation: Generate automated test scripts

Usage Scenarios

New Module Development

# After creating a new module-generate.md, generate documentation
python .claude/skills/readme-generate/scripts/readme_generator.py basic/new-module-generate.md

Module Updates

# After modifying module-generate.md content, update documentation
python .claude/skills/readme-generate/scripts/readme_generator.py basic/updated-module-generate.md

Batch Documentation

# Generate documentation for multiple modules
for module-generate.md in basic/*; do
  if [ -d "$module" ]; then
    python .claude/skills/readme-generate/scripts/readme_generator.py "$module"
  fi
done

Integration with Development Workflow

Continuous Documentation

  • Synchronization: Keep documentation in sync with code changes
  • Automated Updates: Regenerate documentation after feature changes
  • Quality Assurance: Ensure all modules have consistent documentation

Team Collaboration

  • Onboarding: Helps new developers understand module functionality
  • API Reference: Provides complete API documentation for all team members
  • Testing Guidance: Facilitates testing and quality assurance

Notes

  • The skill automatically creates backups of existing README.md files
  • All generated content uses UTF-8 encoding for international character support
  • Requires Python 3 with no external dependencies
  • Supports complex Spring Boot application structures
  • Preserves custom content while adding missing sections
  • Links automatically to generated HTTP test files when available

Error Handling

Common issues and solutions:

  • No Controllers Found: Ensure module contains REST controller classes
  • Missing Dependencies: Verify Spring Boot and Spring AI dependencies
  • Encoding Issues: All files are processed with UTF-8 encoding
  • File Permissions: Ensure write permissions for target directory
  • Complex Structures: Skill handles nested module structures automatically

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

28.18%
按下载量换算23

OpenCode

22.88%
按下载量换算18

Cursor

17.06%
按下载量换算14

trae

14.1%
按下载量换算11

Antigravity

9.07%
按下载量换算7

kilo

3.58%
按下载量换算3

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills