Skip to content

DCRcoder/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Skills Collection

A collection of Agent Skills for Claude Code, designed to extend Claude's capabilities and provide domain-specific expertise.

中文文档

🎯 What are Skills?

Skills are Markdown files that teach Claude how to perform specific tasks. They are model-invoked: Claude automatically applies relevant Skills when your request matches a Skill's description, without requiring explicit invocation.

According to the Claude Code official documentation, Skills provide a powerful way to:

  • Customize Claude's behavior to match your team standards
  • Teach Claude to use specific tools and frameworks
  • Automate common development workflows
  • Share best practices across projects and teams

📦 Available Skills

ffmpeg-media-processor

FFmpeg Multimedia Processing Expert - Professional tool for audio/video conversion, editing, analysis, and optimization using FFmpeg.

Features:

  • ✅ Video/audio format conversion (MP4, WebM, MP3, AAC, etc.)
  • ✅ Video editing (trimming, merging, resolution/frame rate adjustment)
  • ✅ Filters and effects (watermark, subtitles, stabilization, picture-in-picture)
  • ✅ Streaming (HLS/DASH, RTMP/RTSP streaming)
  • ✅ Media analysis (ffprobe info extraction, thumbnail generation)
  • ✅ Quality optimization (H.264/H.265/VP9/AV1 encoding)
  • ✅ Hardware acceleration and batch processing support

Use Cases:

  • Convert video/audio formats
  • Compress video files
  • Extract audio or subtitles
  • Add watermarks and filter effects
  • Generate live streams
  • Analyze media file properties

Documentation:

generate-openapi-docs

OpenAPI 3.0 Documentation Generation Expert - Analyzes backend code and generates structurally rigorous OpenAPI 3.0 YAML documentation.

Features:

  • ✅ Generate OpenAPI 3.0 YAML from Controllers, Routes, Serializers
  • ✅ Fully compatible with Redoc rendering
  • ✅ Automatically infer HTTP methods, parameters, and response structures
  • ✅ Support component reuse and reference integrity
  • ✅ Minimal changes principle (only update changed sections)
  • ✅ Built-in preview and HTML export guide

Use Cases:

  • Need to document API endpoints
  • Create Swagger/Redoc-compatible specifications
  • Extract API documentation from existing codebase

Documentation:

🚀 Installation and Usage

Personal Use (Available Across All Projects)

Copy Skills to your personal Skills directory:

# Copy all skills
cp -r ./ffmpeg-media-processor ~/.claude/skills/
cp -r ./generate-openapi-docs ~/.claude/skills/

# Or copy specific skill only
cp -r ./ffmpeg-media-processor ~/.claude/skills/ffmpeg-media-processor
cp -r ./generate-openapi-docs ~/.claude/skills/generate-openapi-docs

Project Use (Team Sharing)

Create .claude/skills directory in your project and copy Skills:

# In project root
mkdir -p .claude/skills
cp -r ./ffmpeg-media-processor .claude/skills/
cp -r ./generate-openapi-docs .claude/skills/

# Commit to version control
git add .claude/skills
git commit -m "Add FFmpeg and OpenAPI skills"

Verify Installation

Start Claude Code and ask:

What Skills are available?

You should see ffmpeg-media-processor and generate-openapi-docs appear in the list.

💡 Usage Examples

Process Videos with FFmpeg

Please help me convert input.mp4 to WebM format and compress it to a reasonable size

Or:

Extract audio from video.mp4 and save as MP3 format

Claude will automatically recognize your request and apply the ffmpeg-media-processor Skill to generate optimized FFmpeg commands.

Generate OpenAPI Documentation

Please analyze my FastAPI controllers and generate OpenAPI 3.0 documentation.

Or:

Create Swagger docs for the API endpoints in src/routes/

Claude will automatically recognize your request and apply the generate-openapi-docs Skill to generate compliant YAML documentation.

Preview Generated Documentation

After generating documentation, use these commands to preview:

# Online preview (recommended)
npx @redocly/cli preview-docs docs/openapi.yaml

# Generate static HTML
npx @redocly/cli build-docs docs/openapi.yaml -o docs/index.html

Adding a New Skill

  1. Create a new Skill directory in the project root:
mkdir -p ./my-new-skill
  1. Create SKILL.md file with YAML front matter and instructions

  2. (Optional) Create SKILL_CN.md for Chinese version

  3. Test the Skill:

cp -r ./my-new-skill ~/.claude/skills/
# Test in Claude Code
  1. Submit a Pull Request

Key Points for Writing Good Skills

Based on official best practices:

  • Clear description - Include specific features and trigger keywords
  • Specific instructions - Provide clear steps and examples
  • Use examples - Show expected inputs and outputs
  • Handle edge cases - Explain limitations and error handling
  • Stay focused - One Skill does one thing well

📖 Related Resources

📄 License

[MIT]

🐛 Issues and Feedback

If you encounter issues or have suggestions for improvements:

  1. Check the Troubleshooting Guide
  2. Submit an Issue

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors