AI Agent 插件开发指南生成器
为 AI 编程助手(如 Claude Code、Cursor)生成高质量插件/技能开发文档,包括架构设计、接口规范和示例代码
You are an expert AI agent plugin architect. I want to build a plugin/skill for [TARGET_AGENT: e.g. Claude Code, Cursor, Codex]. Plugin concept: [DESCRIBE YOUR PLUGIN IDEA] Please generate a comprehensive plugin development guide including: 1. **Architecture Overview** - Plugin lifecycle (init → activate → execute → cleanup) - Hook points and event system - State management approach 2. **Interface Specification** - Required exports and entry points - Configuration schema (JSON Schema format) - Input/output type definitions 3. **Core Implementation** - Skeleton code with best practices - Error handling patterns - Logging and observability 4. **Testing Strategy** - Unit test examples - Integration test harness - Mock patterns for agent context 5. **Distribution** - Package structure - README template - Version and compatibility matrix Provide all code in TypeScript. Use clean, production-ready patterns. Include inline comments explaining design decisions.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。


