返回提示词库
文本 · 通用大模型AI Agent 插件开发指南生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI Agent 插件开发指南生成器

为 AI 编程助手(如 Claude Code、Cursor)生成高质量插件/技能开发文档,包括架构设计、接口规范和示例代码

38浏览
完整提示词可替换花括号中的变量后直接使用

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.

2026/3/27

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。