360 Secure SkillHub
360 安全技能中心

GitHub README Generator

通过命令行传入项目名称与描述,可选择模板(modern、minimal、detailed、api、cli)、语言、徽章与目录等选项,生成包含标题、徽章、功能列表、安装说明、用法示例等章节的 README.md。frontmatter 声明无需依赖、使用内置模板,仓库内含一个 Bash 脚本。

sunshine-del-ux
sunshine-del-ux
热度 92.34
最近更新 2026-05-17 13:07:46
分类:开发依赖:代码执行 / 读写文件应用场景:模板 / 文案创作

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add github-readme-generator
Metadata
name
github-readme-generator
description
Generate beautiful, professional GitHub README files for your projects. Supports multiple templates, languages, and customization options.
metadata
{"clawdbot":{"emoji":"📝","requires":{},"primaryEnv":""}}

GitHub README Generator

Generate professional GitHub README files for your projects with multiple templates and customization options.

Features

  • 🎨 Multiple templates (Modern, Minimal, Detailed, API-focused)
  • 🌐 Multi-language support
  • 📋 Auto-generated badges
  • 💼 Project type detection (Library, CLI, Web App, etc.)
  • 📊 Auto-generated stats sections

Usage

Basic Generation

# Generate with default template
github-readme-generator "Project Name" "Description"

# Specify template
github-readme-generator "Project Name" "Description" --template modern

# Specify language
github-readme-generator "项目名称" "描述" --lang zh

Available Templates

Template Use Case
modern Most projects (default)
minimal Simple libraries
detailed Complex projects with full documentation
api API/REST services
cli Command-line tools

Options

  • --template, -t : Template name
  • --lang, -l : Language (en, zh, ja, es, ko)
  • --badges, -b : Include badge section (default: true)
  • --toc, -c : Include table of contents (default: false)
  • --output, -o : Output file path

Examples

Python Library

github-readme-generator "my-lib" "A powerful Python library" --template modern

CLI Tool

github-readme-generator "super-cli" "Amazing CLI tool" --template cli

Node.js Package

github-readme-generator "my-package" "NPM package description" --template modern

Installation

# No dependencies required
# Uses built-in templates

How It Works

  1. Detects project type from name/description
  2. Selects appropriate template
  3. Generates sections based on project type
  4. Adds relevant badges
  5. Outputs ready-to-use README.md

Output Example

The generated README includes:

  • Project title and badges
  • Description
  • Features list
  • Installation instructions
  • Usage examples
  • API reference (if applicable)
  • Contributing guidelines
  • License
  • Contact information