Skip to main content

plugin-creator

Create OpenCode plugins and know where to load them.

소스 정보

저장소
different-ai/the-factory
최근 소스 활동
2026년 1월 27일 01:15
감지된 SKILL.md 언어
영어
스타
73
포크
10

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
plugin-creator
description
Create OpenCode plugins and know where to load them.
## Quick Usage (Already Configured) ### Where plugins live - Project plugins: `.opencode/plugins/*.js` or `.opencode/plugins/*.ts` - Global plugins: `~/.config/opencode/plugins/*.js` or `.ts` ### Load from npm Add npm plugin packages in `opencode.json`: ```json { "$schema": "https://opencode.ai/config.json", "plugin": ["opencode-helicone-session", "opencode-wakatime"] } ``` ## Minimal plugin template ```ts export const MyPlugin = async ({ project, client, $, directory, worktree }) => { return { // Hook implementations go here } } ``` ## Notes from OpenCode docs - Plugins are JS/TS modules exporting one or more plugin functions. - Local plugins are loaded directly from the plugin directory. - NPM plugins are installed via Bun at startup and cached in `~/.cache/opencode/node_modules/`. - Load order: global config → project config → global plugins → project plugins. ## Reference Follow the official OpenCode plugin docs: https://opencode.ai/docs/plugins/ Use the docs as the escape hatch when unsure.
GitHub에서 보기