元提示生成 AI 指令、代理、技能和提示
概览
该仓库包含 AI 编码助手定制文件,旨在复制到你自己的仓库,中心是 meta agent ai-builder。支持使用 GitHub Copilot、Claude Code、Codex、OpenCode 及其他使用相同文件夹结构的服务商。 这些自定义文件可在多个AI编码助手提供商间使用。复制到适合你环境的文件夹: 内部结构(代理/、技能/、提示/、指令/)在所有提供者中都是相同的。 1. 将.github文件夹复制(或重命名到你的服务商文件夹)到你的仓库中。2. 在VS Code中打开你的仓库。3. 打开Copilot聊天视图。4. 从代理选择器中选择代理AI构建器,或在聊天中输入“@ai-builder”。5. 请求帮助创建或维护AI助手定制。 示例请求:- 创建一个新的代理用于数据库模式设计。- 验证我的代理和技能文件。- 生成当前代理的文档。- 帮我理解代理、提示和指令是什么。
概述(AI 翻译)
该仓库包含 AI 编码助手定制文件,旨在复制到你自己的仓库,中心为 meta agent ai-builder。支持使用 GitHub Copilot、Claude Code、Codex、OpenCode 及其他提供服务,使用相同的文件夹结构。
提供者文件夹结构
这些自定义文件可在多个AI编码助手提供商间使用。复制到适合你环境的文件夹:
| 提供者 | 基础文件夹 |
|---|---|
| GitHub 副驾驶 | .github/ |
| 克劳德代码 | .claude/ |
| 法典 | .codex/ |
| 开放代码 | .config/opencode/ |
内部结构(agents/、skills/、prompts/、instructions/)在所有提供者之间是相同的。
在VS Code中使用元代理
- 将
.github文件夹复制(或重命名到你的提供者文件夹)到你的仓库中。 - 在VS Code中打开你的仓库。
- 打开副驾驶聊天视图。
- 从代理选择器中选择代理人
ai-builder,或在聊天中输入@ai-builder。 - 寻求帮助创建或维护AI助理定制。
示例请求:
- 创建一个新的数据库模式设计代理。
- 验证我的经纪人和技能档案。
- 为当前代理生成文档。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MetaPrompts
This repo contains AI coding assistant customization files meant to be copied into your own repo, centered on the meta agent ai-builder. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers using the same folder structure.
Provider Folder Structure
These customization files work across multiple AI coding assistant providers. Copy to the appropriate folder for your environment:
| Provider | Base Folder |
|---|---|
| GitHub Copilot | .github/ |
| Claude Code | .claude/ |
| Codex | .codex/ |
| OpenCode | .config/opencode/ |
The internal structure (agents/, skills/, prompts/, instructions/) is the same across all providers.
Use the meta agent in VS Code
- Copy the
.githubfolder (or rename to your provider’s folder) into your repo. - Open your repo in VS Code.
- Open the Copilot Chat view.
- Select the agent
ai-builderfrom the agent picker, or type @ai-builder in the chat. - Ask for help creating or maintaining AI assistant customizations.
Example requests:
- Create a new agent for database schema design.
- Validate my agent and skill files.
- Generate documentation for the current agents.
- Help me understand what agents, prompts, and instructions are.
Meta agent capabilities
The ai-builder agent can:
- Design and create agents, skills, prompts, and instructions.
- Recommend the right customization type for a request (agent vs prompt vs instructions vs workflow).
- Build multi-agent workflows with handoffs and review points (following Requirements → Due Diligence → Plan → Implement → Review pattern).
- Create sub-agents with proper naming (
*.subagent.agent.md) anduser-invokable: false. - Explain the framework to users unfamiliar with agents, prompts, skills, and instructions.
- Validate and troubleshoot customization files for format issues.
- Analyze overlaps and redundancies across agents, skills, prompts, and instructions.
- Generate documentation and usage guides for your customizations.
What to copy
Replace `` with your provider’s folder (.github, .claude, .codex, .config/opencode):
/agents/ai-builder.md— the meta agent definition/skills/— reusable procedures referenced by agents/prompts/— reusable prompt templates/instructions/— auto-applied instructions by file pattern
Folder structure
/ # .github/, .claude/, .codex/, etc.
├── agents/
│ ├── my-agent.agent.md # User-facing agent
│ └── helper.subagent.agent.md # Sub-agent (workflow component)
├── skills/
│ └── skill-name/
│ └── SKILL.md # Skill definition
├── prompts/
│ └── my-prompt.prompt.md # Prompt template
└── instructions/
└── coding.instructions.md # Auto-applied instructions
Notes
- Keep reusable procedures in skills and reference them from agents.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add jburlison/metaprompts