whenSunSet

skill-manager

0
0
# Install this skill:
npx skills add whenSunSet/skill-manager

Or install specific skill: npx add-skill https://github.com/whenSunSet/skill-manager

# Description

This skill should be used when the user asks to "create a skill", "write a new skill", "build a custom skill", "make a Claude Code skill", "update a skill", "modify a skill", "edit existing skill", "publish a skill", "share a skill", "release to community", or asks about skill structure, skill development, skill updates, skill publishing, GitHub distribution, or how to make and share skills for Claude Code plugins. Provides complete guidance for creating, updating, publishing, and managing effective Claude Code skills throughout their entire lifecycle.

# SKILL.md


name: skill-manager
description: This skill should be used when the user asks to "create a skill", "write a new skill", "build a custom skill", "make a Claude Code skill", "update a skill", "modify a skill", "edit existing skill", "publish a skill", "share a skill", "release to community", or asks about skill structure, skill development, skill updates, skill publishing, GitHub distribution, or how to make and share skills for Claude Code plugins. Provides complete guidance for creating, updating, publishing, and managing effective Claude Code skills throughout their entire lifecycle.
version: 1.0.0


Skill Manager Guide

This skill provides comprehensive guidance for managing the complete lifecycle of Claude Code skillsโ€”from creation and updates to publishing and community sharing. It actively helps you publish your skills to the community, including automated GitHub publishing, Skills Hub announcements, and claude-plugins.dev optimization.

Skills are modular, self-contained packages that extend Claude's capabilities with specialized knowledge, workflows, and tools.

Key Feature: Community Publishing

Skill Manager goes beyond guidanceโ€”it actively assists with publishing:

  • Automated GitHub publishing - Initializes git, creates commits, and pushes to GitHub
  • Skills Hub announcements - Generates ready-to-post release announcements for Discord and GitHub Discussions
  • README optimization - Creates discoverable READMEs for claude-plugins.dev indexing
  • Topic management - Suggests proper GitHub topics for maximum visibility
  • Complete workflow - From local development to community sharing in one streamlined process

When you're ready to publish, just say: "Help me publish this skill to the community" and Skill Manager will guide you through the entire process.

What is a Skill?

A skill transforms Claude from a general-purpose assistant into a specialized agent equipped with:
- Domain expertise - Specialized knowledge for specific fields
- Workflows - Multi-step procedures for common tasks
- Tools - Instructions for working with specific file formats or APIs
- Resources - Reusable scripts, references, and templates

Skill Structure

Create this directory structure:

skill-name/
โ”œโ”€โ”€ SKILL.md              # Required: Main skill definition
โ”œโ”€โ”€ references/           # Optional: Detailed documentation
โ”‚   โ”œโ”€โ”€ patterns.md       # Detailed patterns and techniques
โ”‚   โ””โ”€โ”€ api-docs.md       # API references
โ”œโ”€โ”€ examples/             # Optional: Working examples
โ”‚   โ””โ”€โ”€ example.py        # Complete, runnable code
โ””โ”€โ”€ scripts/              # Optional: Utility scripts
    โ””โ”€โ”€ validate.sh       # Executable tools

Skill Lifecycle Management

Manage skills through their complete lifecycle: creation, testing, installation, updates, and publishing.

Step 1: Define the Purpose

Identify concrete use cases:
- What problem does this skill solve?
- What will users say to trigger it?
- What resources are needed?

Example questions:
- "What functionality should the skill support?"
- "Can you give examples of how this skill would be used?"
- "What would a user say to trigger this skill?"

Step 2: Create Directory Structure

mkdir -p skill-name/{references,examples,scripts}
cd skill-name
touch SKILL.md

Step 3: Write SKILL.md

Required Frontmatter:

---
name: skill-name
description: This skill should be used when the user asks to "phrase 1", "phrase 2", "another phrase", or discusses "topic area". Provides specific guidance for [domain].
version: 1.0.0
---

Critical Description Rules:
- โœ… Use third person: "This skill should be used when..."
- โœ… Include exact trigger phrases users would say
- โœ… Be specific about the domain
- โŒ Avoid: "Use this skill when..." (second person)
- โŒ Avoid: "Provides help..." (too vague)

SKILL.md Body:

Keep the body lean (1,500-2,000 words ideal). Include:
- Overview of what the skill does
- When to use it (already in description)
- Core procedures and workflows
- References to supporting files

Use imperative/infinitive form (verb-first):

โœ… Correct:

To create a file, use the Write tool.
Validate the input before processing.
Check the configuration.

โŒ Incorrect:

You should create a file using the Write tool.
You need to validate the input.
You must check the configuration.

Step 4: Add Supporting Resources

references/ - Detailed documentation
Load only when Claude needs them. Perfect for:
- API documentation
- Detailed patterns
- Advanced techniques
- Migration guides

examples/ - Working examples
Complete, runnable code that users can copy:
- Sample scripts
- Template files
- Configuration examples

scripts/ - Utility scripts
Executable code for common operations:
- Validation tools
- Testing helpers
- Automation scripts

Make scripts executable: chmod +x scripts/script.sh

Step 5: Reference Resources in SKILL.md

Always tell Claude about additional resources:

## Additional Resources

### Reference Files
For detailed information, consult:
- **`references/advanced-techniques.md`** - Advanced skill creation methods
- **`references/publishing-guide.md`** - Publishing skills to the community

### Examples
Working examples in `examples/`:
- **`simple-skill.md`** - Basic skill template
- **`README-template.md`** - Optimized README for discoverability

### Scripts
Utility scripts in `scripts/`:
- **`validate-skill.sh`** - Validate skill structure
- **`install.sh`** - Install skill to Claude Code
- **`commit-skill-changes.sh`** - Commit skill changes with proper messages
- **`upload-to-github.sh`** - Upload skill to GitHub
- **`generate-skills-hub-release.sh`** - Generate release post for claudecodeplugins.io Skills Hub

Step 6: Validate the Skill

Structure Check:
- [ ] SKILL.md exists with valid YAML frontmatter
- [ ] Frontmatter has name and description
- [ ] Markdown body is present
- [ ] Referenced files exist

Description Quality:
- [ ] Uses third person ("This skill should be used when...")
- [ ] Includes specific trigger phrases
- [ ] Lists concrete scenarios
- [ ] Not vague

Content Quality:
- [ ] Uses imperative/infinitive form (not second person)
- [ ] SKILL.md is lean (1,500-2,000 words ideal)
- [ ] Detailed content in references/
- [ ] Examples are complete and working
- [ ] Scripts are executable

Test the Skill:
- [ ] Skill triggers on expected queries
- [ ] Content is helpful
- [ ] No duplicated information
- [ ] References load correctly

Step 7: Iterate

After using the skill:
1. Note struggles or inefficiencies
2. Identify what should be updated
3. Make changes and test again

Common improvements:
- Strengthen trigger phrases in description
- Move long sections from SKILL.md to references/
- Add missing examples or scripts
- Clarify ambiguous instructions

Quick Templates

Minimal Skill

skill-name/
โ””โ”€โ”€ SKILL.md

Good for: Simple knowledge, no complex resources

skill-name/
โ”œโ”€โ”€ SKILL.md
โ”œโ”€โ”€ references/
โ”‚   โ””โ”€โ”€ detailed-guide.md
โ””โ”€โ”€ examples/
    โ””โ”€โ”€ working-example.py

Good for: Most skills with detailed documentation

Complete Skill

skill-name/
โ”œโ”€โ”€ SKILL.md
โ”œโ”€โ”€ references/
โ”‚   โ”œโ”€โ”€ patterns.md
โ”‚   โ””โ”€โ”€ advanced.md
โ”œโ”€โ”€ examples/
โ”‚   โ”œโ”€โ”€ example1.py
โ”‚   โ””โ”€โ”€ example2.json
โ””โ”€โ”€ scripts/
    โ””โ”€โ”€ validate.sh

Good for: Complex domains with utilities

Best Practices

โœ… DO:
- Use third-person in description
- Include specific trigger phrases
- Keep SKILL.md lean (1,500-2,000 words)
- Use progressive disclosure (details in references/)
- Write in imperative/infinitive form
- Reference supporting files clearly
- Provide working examples
- Create utility scripts for common tasks

โŒ DON'T:
- Use second person anywhere
- Have vague trigger conditions
- Put everything in SKILL.md (>3,000 words)
- Leave resources unreferenced
- Include broken examples
- Skip validation

Progressive Disclosure

Skills use a three-level loading system:

  1. Metadata (name + description) - Always loaded (~100 words)
  2. SKILL.md body - Loaded when skill triggers (<5,000 words)
  3. Bundled resources - Loaded as needed (unlimited)

This keeps context efficient while providing comprehensive resources when needed.

Common Mistakes

Mistake 1: Weak Trigger Description

โŒ Bad:

description: Provides guidance for working with APIs.

โœ… Good:

description: This skill should be used when the user asks to "call the API", "make a request", "authenticate with API", or discusses API integration, endpoints, or HTTP methods.

Mistake 2: Too Much in SKILL.md

โŒ Bad:

SKILL.md (8,000 words - everything)

โœ… Good:

SKILL.md (1,800 words - core)
references/advanced-techniques.md (2,500 words - details)
references/publishing-guide.md (3,700 words - publishing)

Mistake 3: Second Person Writing

โŒ Bad:

You should start by reading the config.
You need to validate the input.

โœ… Good:

Start by reading the config.
Validate the input before processing.

Mistake 4: Unreferenced Resources

โŒ Bad:

# Main content
[No mention of references/ or examples/]

โœ… Good:

# Main content

## Additional Resources
- `references/advanced-techniques.md` - Advanced methods
- `examples/simple-skill.md` - Working example

Installation and Usage

Quick Install for This Skill

To install this skill-creation skill in your Claude Code:

# 1. Find or create your local skills directory
mkdir -p ~/.claude/skills

# 2. Copy this skill to your local directory
cp -r /path/to/skill-creation ~/.claude/skills/

# 3. Verify installation
ls -la ~/.claude/skills/skill-creation/

Installation Methods

Claude Code can load skills from a local directory:

# Create skills directory
mkdir -p ~/.claude/skills

# Copy your skill there
cp -r your-skill ~/.claude/skills/

# Skills are auto-discovered

Verify installation:

# Check skill structure
ls -la ~/.claude/skills/your-skill/

# Validate the skill
cd ~/.claude/skills/your-skill/
./scripts/validate-skill.sh  # if available

Create a plugin to distribute skills:

my-plugin/
โ”œโ”€โ”€ .claude-plugin/
โ”‚   โ””โ”€โ”€ plugin.json          # Plugin metadata
โ””โ”€โ”€ skills/
    โ””โ”€โ”€ my-skill/
        โ””โ”€โ”€ SKILL.md

plugin.json example:

{
  "name": "my-plugin",
  "version": "1.0.0",
  "description": "My custom skills",
  "author": "Your Name",
  "skills": ["skills/my-skill"]
}

Install the plugin:

# Copy to plugins directory
cp -r my-plugin ~/.claude/plugins/

# Or use Claude Code's plugin installer
cc plugin install ./my-plugin

Method 3: GitHub Repository (for Distribution)

  1. Create a GitHub repository with your skill
  2. Use Claude Code's plugin installation from URL
cc plugin install https://github.com/username/skill-repo

Testing Your Installation

After installing, test the skill:

  1. Restart Claude Code or start a new session
  2. Use trigger phrases from the skill's description
  3. Verify the skill activates

Example test for this skill:
- Ask: "How do I create a skill?"
- Ask: "Help me write a new skill"
- Ask: "What's the structure of a skill?"

If the skill loads correctly, you'll see relevant guidance.

Troubleshooting Installation

Skill not activating?

  1. Check the skill location:
# Verify skill exists
ls -la ~/.claude/skills/skill-name/SKILL.md
  1. Validate the skill structure:
cd ~/.claude/skills/skill-name/
# Check for SKILL.md
# Validate YAML frontmatter
# Check description quality
  1. Restart Claude Code to reload skills

  2. Check Claude Code logs for skill loading errors

Common issues:
- Missing SKILL.md file
- Invalid YAML frontmatter
- Skill not in correct directory
- Claude Code hasn't been restarted

Updating Skills

To update an installed skill:

# Navigate to skill directory
cd ~/.claude/skills/skill-name/

# Pull updates (if from git)
git pull

# Or copy new files
cp -r /path/to/updated-skill/* .

# Restart Claude Code

Uninstalling Skills

To remove a skill:

# Remove the skill directory
rm -rf ~/.claude/skills/skill-name/

# Or if part of a plugin
cc plugin uninstall plugin-name

Publishing and Distribution

Publishing to claudecodeplugins.io Skills Hub

claudecodeplugins.io (Skills Hub) is the community-driven platform for discovering and sharing Claude Code skills. Unlike the automated indexing of claude-plugins.dev, this platform requires manual posting but offers direct community engagement.

How It Works

  • Manual submission: Post release announcements yourself
  • Community-driven: Active community feedback and discussion
  • Curated discovery: Skills are reviewed and featured
  • Direct engagement: Interact directly with users and developers

Where to Post

Choose one or both platforms:

  1. Discord
  2. Join the Claude Code community Discord
  3. Find the "New Skill Release" channel or similar
  4. Post your skill announcement

  5. GitHub Discussions

  6. Go to the claudecodeplugins.io repository
  7. Start a new discussion in "New Skill Release" category
  8. Fill in the required information

Release Post Template

Community preference: They favor "composable tool-type skills" over large, comprehensive agents.

Use this template:

Title: [Skill Release] [Skill Name] โ€“ [One-line description of what it does]

What it does:
- [Brief explanation of the core functionality]
- [Key feature 1]
- [Key feature 2]
- [What problem it solves]

Why useful:
- [Specific use case 1]
- [Specific use case 2]
- [Who benefits from this skill]
- [Why it's better than alternatives]

Example usage:
- "Say: [trigger phrase 1]"
- "Say: [trigger phrase 2]"
- "Say: [trigger phrase 3]"

Repo:
- https://github.com/username/skill-name

Tags:
- [relevant-tag-1], [relevant-tag-2]

Best Practices for Skills Hub

โœ… DO:
- Focus on composable, tool-type skills
- Keep descriptions concise and specific
- Provide concrete usage examples
- Mention trigger phrases clearly
- Include GitHub repo link
- Add relevant tags
- Respond to comments and feedback
- Show, don't just tell (screenshots, demos)

โŒ DON'T:
- Post large, comprehensive agent systems
- Write vague descriptions
- Omit the GitHub link
- Forget trigger phrases
- Ignore community feedback
- Over-promote or spam

Example Post

Title: [Skill Release] Code Visualizer โ€“ Transform code into Mermaid diagrams

What it does:
- Automatically generates Mermaid flowcharts from code
- Visualizes function calls, class hierarchies, and data flow
- Works with any programming language Claude understands
- Creates publication-ready diagrams

Why useful:
- Quickly understand legacy code architecture
- Document systems without manual diagramming
- Explain complex logic to teams visually
- Perfect for code reviews and onboarding

Example usage:
- "Visualize the authentication flow in this code"
- "Create a class diagram for these React components"
- "Show me the data flow in this API"

Repo:
- https://github.com/username/code-visualizer

Tags:
- visualization, diagrams, mermaid, documentation

Quick Workflow

To post to Skills Hub:

# 1. Ensure your skill is on GitHub
git push origin main

# 2. Generate release post using the script
cd ~/.claude/skills/skill-manager/
./scripts/generate-skills-hub-release.sh /path/to/your-skill

# 3. Copy the output and post to:
#    - Discord #new-skill-release channel
#    - GitHub Discussions in claudecodeplugins.io repo

# 4. Engage with comments and feedback!

Tips for Maximum Impact

  1. Timing: Post when community is active (weekday mornings)
  2. Visuals: Include screenshots or GIFs if possible
  3. Simplicity: Focus on one clear use case
  4. Honesty: Be transparent about limitations
  5. Engagement: Respond to every comment within 24 hours

Publishing to claude-plugins.dev

claude-plugins.dev is the primary discovery platform for Claude Code plugins and skills. Follow these guidelines to maximize visibility.

Understanding claude-plugins.dev

How it works:
- Automatically indexes public GitHub repositories
- No manual submission required
- README quality determines discoverability
- Uses GitHub's API to find Claude-related content

Key Principle:

The site essentially performs: GitHub โ†’ Auto Index โ†’ Display

No manual "submission" is required, but optimizing for discoverability is essential.

Publication Checklist

โœ… Essential Steps:

  1. Create a public GitHub repository
    bash git init git add SKILL.md git commit -m "Initial skill commit" gh repo create my-skill --public --source=. git push -u origin main

  2. Optimize your README.md

  3. Must include clear identification
  4. Explain what the skill does
  5. Provide installation instructions
  6. Include usage examples

  7. Add GitHub topics/tags

  8. Go to repository Settings โ†’ Topics
  9. Add relevant tags (see recommendations below)

README Optimization

Title/Header:

# My Skill - Claude Code Skill

> A powerful skill for [specific purpose]

Clear Identification:
Add one of these badges or statements:

---
**Claude Code Skill** | **Claude MCP compatible**
---

This is a Claude Code skill that extends Claude with [capability].

Recommended README Structure:

# Skill Name

> Brief description of what this skill does

## About
- What problem does this skill solve?
- Who is this for?
- Key features

## Installation
\`\`\`bash
# Installation instructions
\`\`\`

## Usage
Examples of trigger phrases and use cases

## Requirements
Any dependencies or prerequisites

## Contributing
How others can contribute

GitHub Topics/Tags

Add these topics to your repository (Settings โ†’ Topics):

Essential Tags:
- claude
- claude-code
- claude-skill
- skill

Recommended Tags:
- mcp (Model Context Protocol)
- ai-agent
- anthropic
- claude-ai

Domain-Specific Tags:
- Add tags relevant to your skill's domain
- Examples: visualization, database, api, testing

Speed Up Discovery

While automatic indexing works, these steps accelerate the process:

  1. Star your own repository - Increases initial visibility
  2. Share on social media - Creates backlinks
  3. Add to lists - Submit to relevant plugin lists
  4. Write a blog post - Creates more discoverability signals

Verification

Check if your skill is indexed:

  1. Visit claude-plugins.dev
  2. Search for your skill name
  3. Verify the information displays correctly

If not showing up:
- Ensure repository is public (not private)
- Check that SKILL.md is in the repository
- Verify README has "Claude Code Skill" identifier
- Wait 24-48 hours for indexing
- Check GitHub repository settings

Best Practices for Maximum Discoverability

โœ… DO:
- Use clear, descriptive repository names
- Write comprehensive README with examples
- Add all recommended GitHub topics
- Include "Claude Code Skill" in README
- Provide installation instructions
- Add usage examples and screenshots
- Keep documentation up to date
- Respond to issues and PRs

โŒ DON'T:
- Create private repositories (won't be indexed)
- Use vague repository names like "my-skill"
- Skip the README optimization
- Forget to add topics/tags
- Leave installation instructions unclear
- Ignore issues and questions

Alternative Distribution Methods

Besides claude-plugins.dev:

  1. Direct GitHub sharing
  2. Share repository link directly
  3. Works well for targeted distribution

  4. Plugin marketplaces

  5. npm registry (for node-based plugins)
  6. Other community registries

  7. Community channels

  8. Discord servers
  9. Reddit communities
  10. Twitter/X
  11. Developer forums

Publishing Workflow

Complete this workflow when publishing:

# 1. Prepare your repository
cd /path/to/your-skill

# 2. Create README.md if it doesn't exist
# Follow the template above

# 3. Initialize git (if not already done)
git init
git add .
git commit -m "Initial commit: [skill-name] skill"

# 4. Create public repository on GitHub
gh repo create [skill-name]-skill --public --source=. --remote=origin

# 5. Push to GitHub
git push -u origin main

# 6. Add topics via GitHub web interface
# Go to: https://github.com/username/[skill-name]-skill/settings
# Add: claude, claude-code, skill, mcp, ai-agent

# 7. Verify on claude-plugins.dev after 24-48 hours

Monitoring Your Skill

After publishing:

  • Check analytics - GitHub provides traffic insights
  • Watch for stars/forks - Indicates community interest
  • Monitor issues - User feedback and bug reports
  • Track discussions - Community engagement
  • Update regularly - Keep skill current and maintained

Updating Skills

When users want to update an existing skill, follow this workflow:

Identify the Update Request

Users might say:
- "I want to update a skill"
- "Update my skill"
- "Modify the skill"
- "Change skill content"

Check Current Directory First

Important: Always check if the current directory contains a skill before listing all skills.

# Check if current directory is a skill
if [ -f "SKILL.md" ]; then
    echo "Current directory is a skill: $(pwd)"
    # Ask if user wants to update this skill
else
    # List all available skills
    ls -1 ~/.claude/skills/
fi

Select Skill to Update

  1. If current directory is a skill: Ask if they want to update the current skill or choose a different one
  2. If current directory is not a skill: List all skills from ~/.claude/skills/ and ask them to choose

Understand Update Requirements

Ask what changes they want to make. Examples:
- Add new examples
- Update documentation
- Fix bugs
- Add new features
- Improve descriptions

Make the Changes

Read the relevant skill files, understand the current implementation, and make the requested changes following best practices.

Validate Changes

Run the validation script:

cd ~/.claude/skills/[skill-name]/
./scripts/validate-skill.sh

If validation fails, fix the issues before proceeding.

Show Changes Preview

Display what will be committed:

cd ~/.claude/skills/[skill-name]/
git status
git diff

Commit Changes

Use the commit-skill-changes.sh script:

bash ~/.claude/skills/skill-creation/scripts/commit-skill-changes.sh

Or manually:

git add .
git commit -m "descriptive message"

Update in Claude Code (For Current Directory Skills)

If the skill being updated is in the current directory (not in ~/.claude/skills/):

After committing changes, ask if they want to update the skill in Claude Code:

# Check if skill is already installed in Claude Code
if [ -d "~/.claude/skills/$SKILL_NAME" ]; then
    echo "Skill is already installed in Claude Code"
    read -p "Update it in ~/.claude/skills/? (y/N): "
    if [[ $REPLY =~ ^[Yy]$ ]]; then
        # Copy updated files to Claude Code
        rsync -av --delete '$(pwd)/' ~/.claude/skills/$SKILL_NAME/
        echo "โœ“ Skill updated in Claude Code"
    fi
else
    # Skill not installed, ask if they want to install it
    echo "Skill is not installed in Claude Code yet"
    read -p "Install it to ~/.claude/skills/? (y/N): "
    if [[ $REPLY =~ ^[Yy]$ ]]; then
        mkdir -p ~/.claude/skills
        cp -r $(pwd)/ ~/.claude/skills/$SKILL_NAME/
        echo "โœ“ Skill installed in Claude Code"
    fi
fi

This ensures that updates made in a development directory can be synchronized to Claude Code's skills directory.

Push to GitHub (Optional)

Ask if the user wants to push to GitHub. If yes:

git push

Additional Resources

Reference Files

For advanced techniques and publishing guidance:
- references/publishing-guide.md - Complete guide to publishing skills on claude-plugins.dev
- references/advanced-techniques.md - Advanced skill creation methods

Examples

Study these examples for templates and best practices:
- examples/README-template.md - Optimized README template for maximum discoverability
- examples/simple-skill.md - Basic skill template
- This skill (skill-manager) serves as a comprehensive example

# README.md

Skill Manager - Claude Code Skill

English | ไธญๆ–‡็‰ˆ

The complete toolkit for creating, publishing, and managing Claude Code Skills throughout their entire lifecycle.

ๅฎŒๆ•ด็š„ Claude Code Skills ็”Ÿๅ‘ฝๅ‘จๆœŸ็ฎก็†ๅทฅๅ…ทๅŒ…โ€”โ€”ไปŽๅˆ›ๅปบใ€ๆ›ดๆ–ฐๅˆฐๅ‘ๅธƒๅ’Œ็คพๅŒบๅˆ†ไบซ๏ผ


Claude Code Skill | Model Context Protocol Compatible

This is a comprehensive Claude Code skill that provides complete guidance for managing the entire lifecycle of Claude Code skillsโ€”from creation and updates to publishing and community sharing.

What It Does

Skill Manager helps you:

  • Create Skills - Build well-structured, effective Claude Code skills with best practices
  • Validate Skills - Ensure your skills meet quality standards with automated validation
  • Update Skills - Maintain and improve existing skills with proper workflows
  • Publish Skills - Share your skills with the community via GitHub and Skills Hub
  • Install Skills - Easy installation scripts for skill deployment

Why Useful

  • Beginner-friendly: Step-by-step guidance for creating your first skill
  • Best practices: Learn proven patterns for effective skills
  • Automation: Scripts for validation, installation, and publishing
  • Community-focused: Direct guidance for publishing to Skills Hub and claude-plugins.dev
  • Complete lifecycle: From creation to community sharing, all in one place

Installation

# Clone or download skill-manager
cd skill-manager

# Run the installation script
./scripts/install.sh

The installation script will:
- โœ… Create ~/.claude/skills/ directory if needed
- โœ… Copy skill to the correct location
- โœ… Verify installation success
- โœ… Display next steps

Manual Install

# Create skills directory
mkdir -p ~/.claude/skills

# Copy skill-manager
cp -r skill-manager ~/.claude/skills/

# Verify installation
ls -la ~/.claude/skills/skill-manager/

Usage

After installation, restart Claude Code or start a new session, then ask:

For creating skills:
- "How do I create a skill?"
- "Help me write a new skill"
- "What's the structure of a skill?"

For updating skills:
- "How do I update this skill?"
- "Modify skill content"
- "Improve existing skill"

For publishing skills:
- "How do I publish a skill to the community?"
- "Share skill to GitHub"
- "Publish on claude-plugins.dev"

The skill-manager will automatically activate and provide detailed guidance!

Skill Structure

skill-manager/
โ”œโ”€โ”€ SKILL.md                          # Complete tutorial (24K+ words)
โ”œโ”€โ”€ README.md                         # This file (English)
โ”œโ”€โ”€ README.zh-CN.md                   # Chinese version
โ”œโ”€โ”€ references/
โ”‚   โ””โ”€โ”€ advanced-techniques.md        # Advanced creation methods
โ”œโ”€โ”€ examples/
โ”‚   โ””โ”€โ”€ simple-skill.md               # Basic skill template
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ install.sh                    # Auto-install script โœจ
โ”‚   โ”œโ”€โ”€ validate-skill.sh             # Validation script
โ”‚   โ”œโ”€โ”€ commit-skill-changes.sh       # Commit helper
โ”‚   โ””โ”€โ”€ generate-skills-hub-release.sh # Release post generator
โ””โ”€โ”€ .gitignore                        # Git ignore patterns

Features

Complete Lifecycle Management

  • Creation: Step-by-step guidance from purpose definition to validation
  • Validation: Automated checks for structure, quality, and best practices
  • Updates: Proper workflows for maintaining and improving skills
  • Publishing: Complete guide to GitHub, Skills Hub, and claude-plugins.dev

Best Practices & Patterns

  • Progressive disclosure (metadata โ†’ core โ†’ detailed resources)
  • Imperative/infinitive writing style
  • Third-person descriptions
  • Lean SKILL.md (1,500-2,000 words ideal)
  • Detailed content in references/

Automation Scripts

  • install.sh: One-click installation to Claude Code
  • validate-skill.sh: Comprehensive skill validation
  • commit-skill-changes.sh: Standardized commit messages
  • generate-skills-hub-release.sh: Release post generation for community

Community Publishing

Skill Manager provides complete guidance for publishing to:

  1. GitHub - Public repository creation and optimization
  2. claude-plugins.dev - Automated indexing platform
  3. Skills Hub - Community-driven sharing (Discord & GitHub Discussions)

Skill Creation Workflow

# 1. Create skill structure
mkdir -p my-skill/{references,examples,scripts}

# 2. Write SKILL.md with proper frontmatter
cd my-skill
vim SKILL.md  # Follow templates in skill-manager

# 3. Validate your skill
~/.claude/skills/skill-manager/scripts/validate-skill.sh

# 4. Test installation
./scripts/install.sh

# 5. Publish to GitHub
git init
git add .
git commit -m "Initial skill commit"
git push

# 6. Share with community
~/.claude/skills/skill-manager/scripts/generate-skills-hub-release.sh

Validation

Run the validation script to check any skill's quality:

cd path/to/any-skill/
~/.claude/skills/skill-manager/scripts/validate-skill.sh

Checks:
- โœ… SKILL.md exists with valid YAML frontmatter
- โœ… Third-person description
- โœ… Appropriate word count (1,500-2,000 ideal)
- โœ… Imperative/infinitive form (not second person)
- โœ… Referenced files exist
- โœ… Scripts are executable
- โœ… Clear trigger phrases

Publishing to Community

Skill Manager includes complete publishing guidance:

Skills Hub (claudecodeplugins.io)

Generate release posts for community platforms:

~/.claude/skills/skill-manager/scripts/generate-skills-hub-release.sh /path/to/your-skill

Post to:
- Discord "New Skill Release" channel
- GitHub Discussions (claudecodeplugins.io repo)

claude-plugins.dev

Automated indexing via GitHub:
1. Create public repository
2. Optimize README.md
3. Add GitHub topics (claude, claude-code, skill, mcp)
4. Wait 24-48 hours for indexing

Learning Path

  1. Read SKILL.md - Understand complete lifecycle management
  2. Review examples/ - Study simple skill templates
  3. Check advanced-techniques.md - Master advanced methods
  4. Create your skill - Use validate-skill.sh for quality checks
  5. Install and test - Use install.sh for deployment
  6. Publish to community - Share your skills with the world

Who Is This For?

  • โœ… Users creating their first Claude Code skill
  • โœ… Developers maintaining existing skills
  • โœ… Contributors publishing to the community
  • โœ… Anyone learning the Claude Code plugin ecosystem
  • โœ… Skill maintainers managing complete lifecycles

Scripts Guide

install.sh

Auto-install skill-manager to your Claude Code.

cd skill-manager
./scripts/install.sh

Features:
- Auto-detect and create skills directory
- Detect already-installed skills
- Verify installation integrity
- Display clear next steps

validate-skill.sh

Validate any skill's structure and quality.

cd any-skill-directory/
~/.claude/skills/skill-manager/scripts/validate-skill.sh

Checks:
- โœ… SKILL.md exists and formatted correctly
- โœ… YAML frontmatter complete
- โœ… Third-person description
- โœ… Appropriate word count
- โœ… Imperative language (not second person)
- โœ… Referenced files exist
- โœ… Scripts executable

commit-skill-changes.sh

Commit skill changes with standardized messages.

cd your-skill/
~/.claude/skills/skill-manager/scripts/commit-skill-changes.sh

generate-skills-hub-release.sh

Generate release posts for Skills Hub.

~/.claude/skills/skill-manager/scripts/generate-skills-hub-release.sh /path/to/your-skill

Output: Ready-to-post markdown for Discord and GitHub Discussions

Requirements

  • Claude Code installed
  • Bash (for scripts)
  • Git (for publishing)

Resources

Contributing

Contributions welcome! This skill-manager skill itself serves as a comprehensive example.

  1. Fork the repository
  2. Create your branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

FAQ

Q: Skill not activating?

A:
1. Check installation: ls -la ~/.claude/skills/skill-manager/
2. Restart Claude Code
3. Test with trigger phrases

Q: How to uninstall?

A:

rm -rf ~/.claude/skills/skill-manager

Q: Can I create multiple skills?

A: Yes! Each skill is independent, placed in ~/.claude/skills/ directory.

Q: How to update existing skill?

A:
1. Navigate to skill directory or specify skill to update
2. Use skill-manager's update workflow
3. Commit changes after validation

Q: How to share my skill?

A:
1. Create GitHub repository
2. Optimize README.md
3. Add appropriate GitHub topics
4. Publish to claude-plugins.dev (auto-indexed)
5. Share in community (Skills Hub)

Q: How to contribute improvements?

A:
1. Fork skill-manager repository
2. Create improvement branch
3. Submit Pull Request
4. Help improve the community toolkit

License

MIT License - Free to use and modify!

Topics

claude claude-code claude-skill skill skill-management publishing community mcp developer-tools


Made with Claude Code

Happy Skill Managing! ๐ŸŽ‰

ไธญๆ–‡็‰ˆ (Chinese Version)

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.