github-generate

Convert GitHub repositories into modular Claude Code skills with SKILL.md files.

45|6|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/ZhangHanDong/cowork-skills --skill github-generate
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-generate
Source: https://github.com/ZhangHanDong/cowork-skills/tree/main/cli/builtin-skills/github-generate
Command: npx skills add https://github.com/ZhangHanDong/cowork-skills --skill github-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically converts GitHub repositories into modular Claude Code skills.

Core Features & Use Cases

  • Extract APIs, documentation, and code structure from a GitHub repo to form discrete skills.
  • Generate per-module SKILL.md files and an llms.txt catalog for easy review and deployment.
  • Convert a wide range of languages and project structures into ready-to-use skills for Claude Code.

Quick Start

Use the GitHub-to-Skills generator to convert a repository into skills with a single command: cowork generate user/repo Or customize languages and targets: cowork generate user/repo --lang rust --a claude-code

Frequently Asked Questions about github-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a GitHub repository into modular Claude Code skills?▼

You convert a GitHub repository into Claude Code skills by running the cowork generate command on a target repository, which analyzes the code structure and extracts APIs, documentation, and runnable modules to produce ready-to-use SKILL.md files.

What does generating Claude Code skills from a GitHub repo actually produce?▼

Generating Claude Code skills from a GitHub repo produces per-module SKILL.md files alongside an llms.txt catalog, organizing the extracted APIs, documentation, and code structure into discrete, deployable skill modules for easy review.

Can I customize the target platform and programming language when generating skills from GitHub repos?▼

You can customize the target platform and programming language when generating skills from GitHub repos by passing specific flags like --lang and --a in the cowork generate command, allowing you to adapt the output for environments like Rust and claude-code.

What is the best way to extract APIs and documentation from existing GitHub code for LLM use?▼

The best way to extract APIs and documentation from GitHub code for LLM use is to automate the code analysis process using a generation workflow that parses the repository structure and outputs an llms.txt catalog with modular skill files.

Do I need any external dependencies or components to generate skills from a GitHub repository?▼

You do not need any external dependencies or components to generate skills from a GitHub repository, as the generation workflow operates independently without requiring additional installed packages or component libraries to parse the code structure.