Token导航 LogoToken导航

Agent Skill · 研究检索

plugin-dev(插件开发)

plugin-dev 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

plugin-dev 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 52,782。

总安装 546周安装 23GitHub Stars 公开资料未说明下载 191核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:plugin-dev(插件开发)
来源仓库:https://github.com/v1truv1us/ai-eng-system
仓库路径:skills/plugin-dev
安装命令:
npx skills add v1truv1us/ai-eng-system --skill "plugin-dev"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add v1truv1us/ai-eng-system --skill "plugin-dev"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

plugin-dev 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。适用于信息发现、技能搜索和任务导向的检索场景,帮助用户在复杂环境中快速获取所需资源。

通过关键词、任务描述或来源仓库进行查询,结合原始 README 文档进一步验证具体用法和功能。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。plugin-dev 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/plugin-dev

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add v1truv1us/ai-eng-system --skill "plugin-dev";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

plugin-dev 怎么安装?

在终端执行 npx skills add v1truv1us/ai-eng-system --skill "plugin-dev"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

plugin-dev 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

plugin-dev 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

plugin-dev 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

plugin-dev 用的人多吗?

公开数据是累计安装 546 次,近一周安装 23 次,下载 191 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

plugin-dev 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
plugin-dev

插件开发 · 本页

546—调用外部服务MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
plugin-dev
description
This skill should be used when creating extensions for Claude Code or OpenCode, including plugins, commands, agents, skills, and custom tools. Covers both platforms with format specifications, best practices, and the ai-eng-system build system.
version
1.0.0

Plugin Development for Claude Code & OpenCode

Critical Importance

Creating high-quality plugins is critical to your development workflow's long-term success. Plugins are used repeatedly by yourself and others. Design flaws, poor documentation, or broken functionality compound over time and across users. A well-designed plugin becomes a trusted tool used daily; a poorly designed plugin becomes abandoned technical debt. Invest time in architecture, testing, and documentation—the returns multiply across all future uses.

Systematic Approach

approach plugin development systematically. Plugins require careful planning: understand the problem, design the API, implement incrementally, test thoroughly, and document comprehensively. Don't rush to code—clarify requirements, define interfaces, and consider edge cases first. Build iteratively, validate frequently, and refactor continuously. Every design decision impacts maintainability and extensibility.

The Challenge

The create a plugin that balances specificity with flexibility perfectly, but if you can:

  • Your plugin will be a joy to use and extend
  • Others will build on top of your work
  • The plugin will remain useful as needs evolve
  • You'll establish patterns for future plugin development

The challenge is designing plugins that solve specific problems while staying flexible enough for future use cases. Can you create focused, opinionated tools that don't paint yourself into corners?

Plugin Confidence Assessment

After completing or reviewing plugin development, rate your confidence from 0.0 to 1.0:

  • 0.8-1.0: Plugin well-architected, fully tested, thoroughly documented, follows platform conventions
  • 0.5-0.8: Plugin functional but missing some tests or documentation, some technical debt
  • 0.2-0.5: Plugin works but design unclear, minimal testing, poor documentation
  • 0.0-0.2: Plugin incomplete or broken, unclear purpose, significant rework needed

Identify uncertainty areas: Is the plugin's purpose clear? Are there edge cases unhandled? Will the plugin work as requirements change? What's the maintenance burden?

Overview

The ai-eng-system supports extension development for both Claude Code and OpenCode through a unified content system with automated transformation. Understanding this system enables creating well-organized, maintainable extensions that integrate seamlessly with both platforms.

Extension Types

TypeClaude CodeOpenCodeShared Format
Commands✅ YAML frontmatter✅ Table formatYAML frontmatter
Agents✅ YAML frontmatter✅ Table formatYAML frontmatter
Skills✅ Same format✅ Same formatSKILL.md
Hooks✅ hooks.json✅ Plugin eventsPlatform-specific
Custom Tools❌ (use MCP)✅ tool() helperOpenCode only
MCP Servers✅ .mcp.json✅ Same formatSame format

Development Approaches

1. Canonical Development (Recommended)

Create content in content/ directory, let build.ts transform to platform formats:

content/
├── commands/my-command.md  → dist/.claude-plugin/commands/
│                           → dist/.opencode/command/ai-eng/
└── agents/my-agent.md      → dist/.claude-plugin/agents/
                            → dist/.opencode/agent/ai-eng/

2. Platform-Specific Development

Create directly in platform directories:

  • Claude Code: .claude/commands/, .claude-plugin/
  • OpenCode: .opencode/command/, .opencode/agent/

3. Global vs Project-Local

LocationClaude CodeOpenCode
Project.claude/.opencode/
Global~/.claude/~/.config/opencode/

Quick Reference

Command Frontmatter

Canonical (content/):

---
name: my-command
description: What this command does
agent: build           # Optional: which agent handles this
subtask: true          # Optional: run as subtask
temperature: 0.3      # Optional: temperature
tools:                 # Optional: tool restrictions
  read: true
  write: true
---

Claude Code Output: Same format (YAML frontmatter)

OpenCode Output: Table format

| description | agent |
|---|---|
| Description here | build |

Agent Frontmatter

Canonical (content/):

---
name: my-agent
description: Use this agent when... <example>...</example>
mode: subagent
color: cyan
temperature: 0.3
tools:
  read: true
  write: true
---

Claude Code Output: Same format (YAML frontmatter)

OpenCode Output: Table format

| description | mode |
|---|---|
| Description here | subagent |

Skill Structure

Both platforms use identical format:

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter (name, description)
│   └── Markdown body (1,000-3,000 words)
└── Bundled Resources (optional)
    ├── references/       # Detailed documentation
    ├── examples/         # Working code
    └── scripts/          # Utility scripts

OpenCode Custom Tools

Use TypeScript with tool() helper:

import { tool } from "@opencode-ai/plugin"

export default tool({
  description: "Tool description",
  args: {
    param: tool.schema.string().describe("Parameter description"),
  },
  async execute(args, context) {
    // Tool implementation
    return result
  },
})

Directory Locations

For Development in ai-eng-system

ai-eng-system/
├── content/
│   ├── commands/              # Add new commands here
│   └── agents/                # Add new agents here
├── skills/
│   └── plugin-dev/           # This skill
└── build.ts                   # Transforms to both platforms

For User Projects

Project-local:

  • Claude Code: .claude/commands/, .claude-plugin/
  • OpenCode: .opencode/command/, .opencode/agent/

Global:

  • Claude Code: ~/.claude/commands/, ~/.claude-plugin/
  • OpenCode: ~/.config/opencode/command/, ~/.config/opencode/agent/

Platform-Specific Features

Claude Code

Components:

  • Commands with YAML frontmatter
  • Agents with YAML frontmatter
  • Skills with SKILL.md format
  • Hooks via hooks/hooks.json
  • MCP servers via .mcp.json

Manifest: .claude-plugin/plugin.json

{
  "name": "plugin-name",
  "version": "1.0.0",
  "description": "Brief description",
  "commands": ["./commands/*"],
  "mcpServers": "./.mcp.json"
}

OpenCode

Components:

  • Commands with table format
  • Agents with table format
  • Skills via opencode-skills plugin
  • Custom tools with TypeScript
  • Plugin events via TypeScript

Plugin: .opencode/plugin/plugin.ts

import { Plugin } from "@opencode-ai/plugin"

export default (async ({ client, project, directory, worktree, $ }) => {
  return {
    // Plugin hooks here
  }
}) satisfies Plugin

Development Workflow

1. Create Component

Use plugin-dev commands:

  • /ai-eng/create-agent - Create new agent
  • /ai-eng/create-command - Create new command
  • /ai-eng/create-skill - Create new skill
  • /ai-eng/create-tool - Create new custom tool

2. Build

cd ai-eng-system
bun run build              # Build all platforms
bun run build --watch        # Watch mode
bun run build --validate      # Validate content

3. Test

Claude Code:

claude plugin add https://github.com/v1truv1us/ai-eng-system

OpenCode:

# Project-local
./setup.sh

# Global
./setup-global.sh

Best Practices

Content Quality

  • Use third-person in skill descriptions
  • Write commands/agents FOR Claude, not to user
  • Include specific trigger phrases
  • Follow progressive disclosure for skills

File Organization

  • One component per file
  • Clear naming conventions (kebab-case)
  • Proper frontmatter validation

Cross-Platform Compatibility

  • Use canonical format in content/
  • Test build output for both platforms
  • Document platform differences

Security

  • No hardcoded credentials
  • Use HTTPS/WSS for external connections
  • Validate user inputs
  • Follow principle of least privilege

Additional Resources

References

  • references/claude-code-plugins.md - Claude Code specifics
  • references/opencode-plugins.md - OpenCode specifics
  • references/command-format.md - Command syntax guide
  • references/agent-format.md - Agent configuration guide
  • references/skill-format.md - Skills specification
  • references/opencode-tools.md - Custom tool development

Examples

Study existing components in ai-eng-system:

  • content/commands/plan.md - Command structure
  • content/agents/architect-advisor.md - Agent structure
  • skills/prompting/incentive-prompting/SKILL.md - Skill structure

Troubleshooting

Build Issues

  • Run bun run build --validate to check content
  • Check file permissions in output directories
  • Verify YAML frontmatter syntax

Platform Testing

  • Test commands in both Claude Code and OpenCode
  • Verify agents trigger correctly
  • Check skills load via opencode-skills plugin

Common Errors

  • Missing required frontmatter fields
  • Incorrect directory structure
  • Invalid YAML syntax
  • Wrong file permissions

Integration with Ferg Engineering

The plugin-dev system integrates seamlessly with existing ai-eng-system components:

Existing Commands

  • /ai-eng/plan - Implementation planning
  • /ai-eng/review - Code review
  • /ai-eng/work - Task execution

Existing Agents

  • ai-eng/architect-advisor - Architecture guidance
  • ai-eng/frontend-reviewer - Frontend review
  • ai-eng/seo-specialist - SEO optimization

Plugin-Dev Commands

  • /ai-eng/create-plugin - Full plugin development workflow
  • /ai-eng/create-agent - Quick agent creation
  • /ai-eng/create-command - Quick command creation
  • /ai-eng/create-skill - Quick skill creation
  • /ai-eng/create-tool - Quick tool creation

All use the same quality standards and research-backed prompting techniques.

平台分布

OpenCode

26.06%
按下载量换算50

Claude Code

23.06%
按下载量换算44

windsurf

16.43%
按下载量换算31

Gemini CLI

13.53%
按下载量换算26

Codex

8.15%
按下载量换算16

Antigravity

3.56%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills