Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Claude Plugins to OpenCode Skills

This repository contains OpenCode Skills converted from official Claude Code plugins.

Structure

.
├── README.md              # This file
├── AGENTS.md             # OpenCode agent instructions with skill triggers
├── docs/                 # Documentation
│   └── INTEGRATION.md    # Integration guide
└── skills/               # Skill definitions
    ├── code-simplifier/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── code-review/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── security-guidance/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── feature-dev/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── frontend-design/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── git-workflow/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── test-generation/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── error-diagnosis/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── documentation/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── project-init/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── skill-creator/
    │   ├── SKILL.md
    │   └── LICENSE
    ├── explanatory-output-style/
    │   ├── SKILL.md
    │   └── LICENSE
    └── learning-output-style/
        ├── SKILL.md
        └── LICENSE

Available Skills

Phase 1 (Core)

Skill Category Status Description
code-simplifier code-quality ✅ Ready Simplifies and refines code for clarity and maintainability
code-review code-quality ✅ Ready Automated code review for pull requests
git-workflow utility ✅ Ready Smart commits, PR creation, branch cleanup
test-generation testing ✅ Ready Generate comprehensive tests and analyze coverage

Phase 2 (Extended)

Skill Category Status Description
error-diagnosis code-quality ✅ Ready Identify silent failures and inadequate error handling
documentation documentation ✅ Ready Generate and analyze code documentation
project-init utility ✅ Ready Initialize projects with proper structure
feature-dev development ✅ Ready 7-phase feature development workflow

Phase 3 (Specialized)

Skill Category Status Description
frontend-design frontend ✅ Ready Frontend UI/UX design assistant
security-guidance security ⚠️ Partial Security vulnerability detection (hooks not supported)
skill-creator utility ✅ Ready Create, improve, and evaluate skills
explanatory-output-style utility ✅ Ready Educational insights about implementation choices
learning-output-style utility ✅ Ready Interactive learning mode with hands-on participation

Quick Start

For Users

  1. Install OpenCode (if not already installed)

  2. Choose installation method:

    Option A: Copy AGENTS.md (recommended for automatic activation)

    cp AGENTS.md /path/to/your/project/

    Option B: Install individual skills

    mkdir -p ~/.config/opencode/skills
    cp -r skills/code-simplifier ~/.config/opencode/skills/
    cp -r skills/code-review ~/.config/opencode/skills/
    # ... add more as needed
  3. Start using:

    • "Simplify this code" → code-simplifier activates
    • "Review this PR" → code-review activates
    • "Create a commit" → git-workflow activates
    • "Generate tests" → test-generation activates
    • "Build a landing page" → frontend-design activates

For Contributors

  1. Fork the repository
  2. Create a new skill in the skills/ directory
  3. Follow the existing SKILL.md structure
  4. Add skill triggers to AGENTS.md
  5. Test thoroughly
  6. Submit a pull request

Installation Methods

Method 1: Install Individual Skills

Copy the desired skill directory to your OpenCode skills folder:

# Global installation (available in all projects)
cp -r skills/code-simplifier ~/.config/opencode/skills/

# Project-specific installation
cp -r skills/code-simplifier /path/to/your/project/.opencode/skills/

Method 2: Use AGENTS.md

Copy the AGENTS.md file from this repository to your project root:

cp AGENTS.md /path/to/your/project/

This will enable automatic skill activation based on trigger conditions.

Usage

Once installed, skills activate automatically when trigger conditions are met:

  • code-simplifier: Activates when you mention simplifying, refactoring, or improving code
  • code-review: Activates when you request a code review or PR review
  • git-workflow: Activates when you mention commits, PRs, or branch cleanup
  • test-generation: Activates when you mention tests, coverage, or TDD
  • error-diagnosis: Activates when you mention error handling or silent failures
  • documentation: Activates when you mention docs, comments, or README
  • project-init: Activates when you mention creating or initializing projects
  • feature-dev: Activates when you ask to implement a new feature
  • frontend-design: Activates when you ask to create UI components or pages
  • security-guidance: Activates when you mention security vulnerabilities or audits

Or invoke manually:

skill(name="code-simplifier", user_message="Simplify this function: ...")

Requirements

  • OpenCode v0.1.x or later
  • GitHub CLI (gh) for code-review and git-workflow skills (optional)

Documentation

Skill Categories

Code Quality

  • code-simplifier - Simplify and refactor code
  • code-review - Automated PR reviews
  • error-diagnosis - Find silent failures and error handling issues

Development Workflow

  • git-workflow - Smart commits and branch management
  • feature-dev - 7-phase feature development
  • project-init - Project scaffolding

Testing

  • test-generation - Generate tests and analyze coverage

Documentation

  • documentation - Generate docs and analyze comments

Specialized

  • frontend-design - UI/UX design
  • security-guidance - Security analysis

skill-creator - Skill development and evaluation explanatory-output-style - Educational explanations learning-output-style - Interactive learning mode

License

Each skill maintains the license of its original Claude plugin. See individual skill directories for LICENSE files.

Contributing

This is a conversion of official Claude plugins. For the original plugins, see: https://github.com/anthropics/claude-plugins-official

See docs/INTEGRATION.md for detailed contribution guidelines.

Roadmap

Phase 1 (Core) ✅

  • code-simplifier
  • code-review
  • git-workflow
  • test-generation

Phase 2 (Extended) ✅

  • error-diagnosis
  • documentation
  • project-init
  • feature-dev

Phase 3 (Specialized) 🚧

  • frontend-design
  • security-guidance

About

Translating Anthropic's official catalog of high-quality Claude Code plugins into OpenCode skills

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors