Token导航 LogoToken导航TokenDH.com
AI 工具权限需确认github未标认证来源可访问clear审计未展示

skill-generator技能生成器

Agent Skill

skill-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,095

周安装

124

GitHub Stars

1,891

下载量

1,002
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:skill-generator(技能生成器)
来源仓库:https://github.com/catlog22/claude-code-workflow
仓库路径:skills/skill-generator
安装命令:
npx skills add https://github.com/catlog22/claude-code-workflow --skill skill-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/catlog22/claude-code-workflow --skill skill-generator

简介

skill-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 AI 宿主中管理代码变更与协作流程。

  • 支持自动化提取仓库状态、跟踪 Issue 进展或协助 PR 审查,提升开发协作效率。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确保有仓库读取权限。
  • 使用前应检查仓库维护状态,避免依赖不稳定或已弃用的功能。
  • 建议结合原始文档了解详细用法,并注意是否会触发文件读写或外部调用。

SKILL.md

Skill Generator

Meta-skill for creating new Claude Code skills with configurable execution modes.

Architecture Overview

┌─────────────────────────────────────────────────────────────────┐
│                    Skill Generator                               │
│                                                                  │
│  Input: User Request (skill name, purpose, mode)                │
│                         ↓                                        │
│  ┌─────────────────────────────────────────────────────────┐    │
│  │  Phase 0-5: Sequential Pipeline                          │    │
│  │  ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐             │    │
│  │  │ P0 │→│ P1 │→│ P2 │→│ P3 │→│ P4 │→│ P5 │             │    │
│  │  │Spec│ │Req │ │Dir │ │Gen │ │Spec│ │Val │             │    │
│  │  └────┘ └────┘ └────┘ └─┬──┘ └────┘ └────┘             │    │
│  │                         │                                │    │
│  │                    ┌────┴────┐                           │    │
│  │                    ↓         ↓                           │    │
│  │              Sequential  Autonomous                      │    │
│  │              (phases/)   (actions/)                      │    │
│  └─────────────────────────────────────────────────────────┘    │
│                         ↓                                        │
│  Output: .claude/skills/{skill-name}/ (complete package)        │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Execution Modes

Mode 1: Sequential (Fixed Order)

Traditional linear execution model, phases execute in numeric prefix order.

Phase 01 -> Phase 02 -> Phase 03 -> ... -> Phase N

Use Cases:

  • Pipeline tasks (collect -> analyze -> generate)
  • Strong dependencies between phases
  • Fixed output structure

Examples: software-manual, copyright-docs

Mode 2: Autonomous (Stateless Auto-Select)

Intelligent routing model, dynamically selects execution path based on context.

---------------------------------------------------
                Orchestrator Agent
   (Read state -> Select Phase -> Execute -> Update)
---------------------------------------------------
                |
    ---------+----------+----------
    |        |          |
  Phase A   Phase B    Phase C
  (standalone)  (standalone)  (standalone)

Use Cases:

  • Interactive tasks (chat, Q&A)
  • No strong dependencies between phases
  • Dynamic user intent response required

Examples: issue-manage, workflow-debug

Key Design Principles

  1. Mode Awareness: Automatically recommend execution mode based on task characteristics
  2. Skeleton Generation: Generate complete directory structure and file skeletons
  3. Standards Compliance: Strictly follow _shared/SKILL-DESIGN-SPEC.md
  4. Extensibility: Generated Skills are easy to extend and modify

Required Prerequisites

IMPORTANT: Before any generation operation, read the following specification documents. Generating without understanding these standards will result in non-conforming output.

Core Specifications (Mandatory Read)

DocumentPurposePriority
../_shared/SKILL-DESIGN-SPEC.mdUniversal design spec - defines structure, naming, quality standards for all SkillsP0 - Critical
specs/reference-docs-spec.mdReference document generation spec - ensures generated Skills have proper phase-based Reference Documents with usage timing guidanceP0 - Critical

Template Files (Read Before Generation)

DocumentPurpose
templates/skill-md.mdSKILL.md entry file template
templates/sequential-phase.mdSequential Phase template
templates/autonomous-orchestrator.mdAutonomous Orchestrator template
templates/autonomous-action.mdAutonomous Action template
templates/code-analysis-action.mdCode Analysis Action template
templates/llm-action.mdLLM Action template
templates/script-template.mdUnified Script Template (Bash + Python)

Specification Documents (Read as Needed)

DocumentPurpose
specs/execution-modes.mdExecution Modes Specification
specs/skill-requirements.mdSkill Requirements Specification
specs/cli-integration.mdCLI Integration Specification
specs/scripting-integration.mdScript Integration Specification

Phase Execution Guides (Reference During Execution)

DocumentPurpose
phases/01-requirements-discovery.mdCollect Skill Requirements
phases/02-structure-generation.mdGenerate Directory Structure
phases/03-phase-generation.mdGenerate Phase Files
phases/04-specs-templates.mdGenerate Specs and Templates
phases/05-validation.mdValidation and Documentation

Execution Flow

Input Parsing:
   └─ Convert user request to structured format (skill-name/purpose/mode)

Phase 0: Specification Study (MANDATORY - Must complete before proceeding)
   - Read specification documents
   - Load: ../_shared/SKILL-DESIGN-SPEC.md
   - Load: All templates/*.md files
   - Understand: Structure rules, naming conventions, quality standards
   - Output: Internalized requirements (in-memory, no file output)
   - Validation: MUST complete before Phase 1

Phase 1: Requirements Discovery
   - Gather skill requirements via user interaction
   - Tool: AskUserQuestion
   - Collect: Skill name, purpose, execution mode
   - Collect: Phase/Action definition
   - Collect: Tool dependencies, output format
   - Process: Generate configuration object
   - Output: skill-config.json
   - Contains: skill_name, execution_mode, phases/actions, allowed_tools

Phase 2: Structure Generation
   - Create directory structure and entry file
   - Input: skill-config.json (from Phase 1)
   - Tool: Bash
   - Execute: mkdir -p .claude/skills/{skill-name}/{phases,specs,templates,scripts}
   - Tool: Write
   - Generate: SKILL.md (entry point with architecture diagram)
   - Output: Complete directory structure

Phase 3: Phase/Action Generation
   - Decision (execution_mode check):
   - IF execution_mode === "sequential": Generate Sequential Phases
   - Read template: templates/sequential-phase.md
   - Loop: For each phase in config.sequential_config.phases
   - Generate: phases/{phase-id}.md
   - Link: Previous phase output -> Current phase input
   - Write: phases/_orchestrator.md
   - Write: workflow.json
   - Output: phases/01-{name}.md, phases/02-{name}.md, ...

   - ELSE IF execution_mode === "autonomous": Generate Orchestrator + Actions
   - Read template: templates/autonomous-orchestrator.md
   - Write: phases/state-schema.md
   - Write: phases/orchestrator.md
   - Write: specs/action-catalog.md
   - Loop: For each action in config.autonomous_config.actions
   - Read template: templates/autonomous-action.md
   - Generate: phases/actions/{action-id}.md
   - Output: phases/orchestrator.md, phases/actions/*.md

Phase 4: Specs & Templates
   - Generate domain specifications and templates
   - Input: skill-config.json (domain context)
   - Reference: [specs/reference-docs-spec.md](specs/reference-docs-spec.md) for document organization
   - Tool: Write
   - Generate: specs/{domain}-requirements.md
   - Generate: specs/quality-standards.md
   - Generate: templates/agent-base.md (if needed)
   - Output: Domain-specific documentation

Phase 5: Validation & Documentation
   - Verify completeness and generate usage guide
   - Input: All generated files from previous phases
   - Tool: Glob + Read
   - Check: Required files exist and contain proper structure
   - Tool: Write
   - Generate: README.md (usage instructions)
   - Generate: validation-report.json (completeness check)
   - Output: Final documentation

Execution Protocol:

// Phase 0: Read specifications (in-memory)
Read('.claude/skills/_shared/SKILL-DESIGN-SPEC.md');
Read('.claude/skills/skill-generator/templates/*.md'); // All templates

// Phase 1: Gather requirements
const answers = AskUserQuestion({
  questions: [
    { question: "Skill name?", header: "Name", options: [...] },
    { question: "Execution mode?", header: "Mode", options: ["Sequential", "Autonomous"] }
  ]
});

const config = generateConfig(answers);
const workDir = `.workflow/.scratchpad/skill-gen-${timestamp}`;
Write(`${workDir}/skill-config.json`, JSON.stringify(config));

// Phase 2: Create structure
const skillDir = `.claude/skills/${config.skill_name}`;
Bash(`mkdir -p "${skillDir}/phases" "${skillDir}/specs" "${skillDir}/templates"`);
Write(`${skillDir}/SKILL.md`, generateSkillEntry(config));

// Phase 3: Generate phases (mode-dependent)
if (config.execution_mode === 'sequential') {
  Write(`${skillDir}/phases/_orchestrator.md`, generateOrchestrator(config));
  Write(`${skillDir}/workflow.json`, generateWorkflowDef(config));
  config.sequential_config.phases.forEach(phase => {
    Write(`${skillDir}/phases/${phase.id}.md`, generatePhase(phase, config));
  });
} else {
  Write(`${skillDir}/phases/orchestrator.md`, generateAutonomousOrchestrator(config));
  Write(`${skillDir}/phases/state-schema.md`, generateStateSchema(config));
  config.autonomous_config.actions.forEach(action => {
    Write(`${skillDir}/phases/actions/${action.id}.md`, generateAction(action, config));
  });
}

// Phase 4: Generate specs
Write(`${skillDir}/specs/${config.skill_name}-requirements.md`, generateRequirements(config));
Write(`${skillDir}/specs/quality-standards.md`, generateQualityStandards(config));

// Phase 5: Validate & Document
const validation = validateStructure(skillDir);
Write(`${skillDir}/validation-report.json`, JSON.stringify(validation));
Write(`${skillDir}/README.md`, generateReadme(config, validation));

Reference Documents by Phase

IMPORTANT: This section demonstrates how skill-generator organizes its own reference documentation. This is the pattern that all generated Skills should emulate. See specs/reference-docs-spec.md for details.

Phase 0: Specification Study (Mandatory Prerequisites)

Specification documents that must be read before any generation operation

DocumentPurposeWhen to Use
../_shared/SKILL-DESIGN-SPEC.mdUniversal Skill design specificationUnderstand Skill structure and naming conventions - REQUIRED
specs/reference-docs-spec.mdReference document generation specificationEnsure Reference Documents have proper phase-based organization - REQUIRED

Phase 1: Requirements Discovery

Collect Skill requirements and configuration

DocumentPurposeWhen to Use
phases/01-requirements-discovery.mdPhase 1 execution guideUnderstand how to collect user requirements and generate configuration
specs/skill-requirements.mdSkill requirements specificationUnderstand what information a Skill should contain

Phase 2: Structure Generation

Generate directory structure and entry file

DocumentPurposeWhen to Use
phases/02-structure-generation.mdPhase 2 execution guideUnderstand how to generate directory structure
templates/skill-md.mdSKILL.md templateLearn how to generate the entry file

Phase 3: Phase/Action Generation

Generate specific phase or action files based on execution mode

DocumentPurposeWhen to Use
phases/03-phase-generation.mdPhase 3 execution guideUnderstand Sequential vs Autonomous generation logic
templates/sequential-phase.mdSequential Phase templateGenerate phase files for Sequential mode
templates/autonomous-orchestrator.mdOrchestrator templateGenerate orchestrator for Autonomous mode
templates/autonomous-action.mdAction templateGenerate action files for Autonomous mode

Phase 4: Specs & Templates

Generate domain-specific specifications and templates

DocumentPurposeWhen to Use
phases/04-specs-templates.mdPhase 4 execution guideUnderstand how to generate domain-specific documentation
specs/reference-docs-spec.mdReference document specificationIMPORTANT: Follow this spec when generating Specs

Phase 5: Validation & Documentation

Verify results and generate final documentation

DocumentPurposeWhen to Use
phases/05-validation.mdPhase 5 execution guideUnderstand how to verify generated Skill completeness

Debugging & Troubleshooting

Reference documents when encountering issues

IssueSolution Document
Generated Skill missing Reference Documentsspecs/reference-docs-spec.md - verify phase-based organization is followed
Reference document organization unclearspecs/reference-docs-spec.md - Core Principles section
Generated documentation does not meet quality standards../_shared/SKILL-DESIGN-SPEC.md

Reference & Background

Documents for deep learning and design decisions

DocumentPurposeNotes
specs/execution-modes.mdDetailed execution modes specificationComparison and use cases for Sequential vs Autonomous
specs/cli-integration.mdCLI integration specificationHow generated Skills integrate with CLI
specs/scripting-integration.mdScript integration specificationHow to use scripts in Phases
templates/script-template.mdScript templateUnified Bash + Python template

Output Structure

Sequential Mode

.claude/skills/{skill-name}/
├── SKILL.md                        # Entry file
├── phases/
│   ├── _orchestrator.md            # Declarative orchestrator
│   ├── workflow.json               # Workflow definition
│   ├── 01-{step-one}.md           # Phase 1
│   ├── 02-{step-two}.md           # Phase 2
│   └── 03-{step-three}.md         # Phase 3
├── specs/
│   ├── {skill-name}-requirements.md
│   └── quality-standards.md
├── templates/
│   └── agent-base.md
├── scripts/
└── README.md

Autonomous Mode

.claude/skills/{skill-name}/
├── SKILL.md                        # Entry file
├── phases/
│   ├── orchestrator.md             # Orchestrator (state-driven)
│   ├── state-schema.md             # State schema definition
│   └── actions/
│       ├── action-init.md
│       ├── action-create.md
│       └── action-list.md
├── specs/
│   ├── {skill-name}-requirements.md
│   ├── action-catalog.md
│   └── quality-standards.md
├── templates/
│   ├── orchestrator-base.md
│   └── action-base.md
├── scripts/
└── README.md

Reference Documents by Phase

IMPORTANT: This section demonstrates how skill-generator organizes its own reference documentation. This is the pattern that all generated Skills should emulate. See specs/reference-docs-spec.md for details.

Phase 0: Specification Study (Mandatory Prerequisites)

Specification documents that must be read before any generation operation

DocumentPurposeWhen to Use
../_shared/SKILL-DESIGN-SPEC.mdUniversal Skill design specificationUnderstand Skill structure and naming conventions - REQUIRED
specs/reference-docs-spec.mdReference document generation specificationEnsure Reference Documents have proper phase-based organization - REQUIRED

Phase 1: Requirements Discovery

Collect Skill requirements and configuration

DocumentPurposeWhen to Use
phases/01-requirements-discovery.mdPhase 1 execution guideUnderstand how to collect user requirements and generate configuration
specs/skill-requirements.mdSkill requirements specificationUnderstand what information a Skill should contain

Phase 2: Structure Generation

Generate directory structure and entry file

DocumentPurposeWhen to Use
phases/02-structure-generation.mdPhase 2 execution guideUnderstand how to generate directory structure
templates/skill-md.mdSKILL.md templateLearn how to generate the entry file

Phase 3: Phase/Action Generation

Generate specific phase or action files based on execution mode

DocumentPurposeWhen to Use
phases/03-phase-generation.mdPhase 3 execution guideUnderstand Sequential vs Autonomous generation logic
templates/sequential-phase.mdSequential Phase templateGenerate phase files for Sequential mode
templates/autonomous-orchestrator.mdOrchestrator templateGenerate orchestrator for Autonomous mode
templates/autonomous-action.mdAction templateGenerate action files for Autonomous mode

Phase 4: Specs & Templates

Generate domain-specific specifications and templates

DocumentPurposeWhen to Use
phases/04-specs-templates.mdPhase 4 execution guideUnderstand how to generate domain-specific documentation
specs/reference-docs-spec.mdReference document specificationIMPORTANT: Follow this spec when generating Specs

Phase 5: Validation & Documentation

Verify results and generate final documentation

DocumentPurposeWhen to Use
phases/05-validation.mdPhase 5 execution guideUnderstand how to verify generated Skill completeness

Debugging & Troubleshooting

Reference documents when encountering issues

IssueSolution Document
Generated Skill missing Reference Documentsspecs/reference-docs-spec.md - verify phase-based organization is followed
Reference document organization unclearspecs/reference-docs-spec.md - Core Principles section
Generated documentation does not meet quality standards../_shared/SKILL-DESIGN-SPEC.md

Reference & Background

Documents for deep learning and design decisions

DocumentPurposeNotes
specs/execution-modes.mdDetailed execution modes specificationComparison and use cases for Sequential vs Autonomous
specs/cli-integration.mdCLI integration specificationHow generated Skills integrate with CLI
specs/scripting-integration.mdScript integration specificationHow to use scripts in Phases
templates/script-template.mdScript templateUnified Bash + Python template

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude Code

27.81%
按下载量换算279

OpenCode

24.74%
按下载量换算248

Cursor

19.4%
按下载量换算194

Codex

13.05%
按下载量换算131

windsurf

7.21%
按下载量换算72

trae

3.81%
按下载量换算38

安全审计

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

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills