perfux-opencode-plugin

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

perfux-opencode-plugin

OpenCode plugin with Context7 MCP, research agent, and debug skill.

Install

cd ~/.opencode && bun add https://pkg.pr.new/perfux/perfux-opencode-plugin@main

Add to opencode.json:

{
  "plugin": ["perfux-opencode-plugin"]
}

Features

Feature Usage
Context7 MCP Auto-injected, use mcp__context7__* tools
Research agent @research <query>
Debug skill /debug - adds removable debug logs

Debug Skill

The debug skill teaches how to add logs with [DEBUG:PERFUX] marker.

Remove all debug logs:

bun .opencode/skill/debug/scripts/remove-debug-logs.ts
bun .opencode/skill/debug/scripts/remove-debug-logs.ts --dry-run