Meta-Skill Creator by caizongyuan/efficientcc
npx skills add https://github.com/caizongyuan/efficientcc --skill 'Meta-Skill Creator'此技能是主要的编排器(架构师)和用户的唯一交互点。负责整个文档到技能的自动化工作流程。采用渐进式披露:智能体首先读取描述以确定触发;如果相关,则加载主要指令;为复杂步骤调用子智能体。
temp-skills/temp-jsons 以存储生成的 all-analyses.json 和 meta-blueprint.json.md 原始文档文件,使用 cp 命令复制到 temp-skills/references 目录all-analyses.json(包含摘要、目录、关键 API 等的汇总 JSON)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
mv 命令将临时目录 temp-skills/ 重命名为:[new-skill-name]/(使用用户最终确认的技能名称)all-analyses.json 摘要基于用户选择的计划,收集详细配置:
生成 meta-blueprint.json(蓝图 JSON)
用户通常不会直接查看 JSON 文件,因此生成摘要供用户确认;如果用户不满意,提示进行迭代
示例 meta-blueprint.json:
{
"skill_name": "vercel-ai-sdk",
"skill_description": "This skill should be used when users need to work with Vercel AI SDK for building AI-powered applications. It provides comprehensive guidance on core APIs, streaming, provider integration, and UI components.",
"output_directory": "skills/vercel-ai-sdk/",
"modules": {
"core": { "source_docs": ["core.md"] },
"ui": { "source_docs": ["ui.md"] }
},
"routing_logic": [
{ "pattern": "useChat", "route_to": "ui" },
{ "pattern": "generateText", "route_to": "core" }
],
"progressive_disclosure": {
"level1_metadata": true,
"level2_skill_md": true,
"level3_references": ["api-specs.md", "examples.md"]
}
}
调用 <skill_synthesizer_agent>,传递 meta-blueprint.json、all-analyses.json 和 original_docs
接收文件列表(例如,[{path: 'SKILL.md', content: '...'} 等])
在指定目录中创建精简的技能结构:
skills/[skill-name]/
├── SKILL.md
└── references/
[skill-name]/ 目录中生成精简文件:
scripts/ 或 assets/ 目录references/ 中,不重新生成内容,节省上下文---
name: skill-name-here
description: This skill should be used when [specific scenario]. It provides [key functionality] for [user goal].
---
---
name: [skill-name-here]
description: This skill should be used when [specific scenario]. It provides [key functionality] for [user goal].
---
# [技能名称]
## 核心功能
[2-3 句话总结技能提供的主要功能]
## 何时使用
[重用描述中的内容,保持一致性]
## 工作流程
1. [第一步具体操作]
2. [第二步具体操作]
3. [何时参考 references/ 中的原始文档]
## 资源参考
- 详细文档:`references/[original-doc-name].md`
- 引导用户阅读原始文档获取详细信息,避免重新生成内容
[skill-name]/cp 复制到 references/ 目录每周安装次数
0
代码仓库
GitHub 星标数
1
首次出现时间
Jan 1, 1970
安全审计
This skill is the main orchestrator (Architect) and the user's sole interaction point. Responsible for the entire document-to-skill automation workflow. Progressive disclosure: the agent first reads the description to determine triggering; if relevant, loads the main instructions; calls sub-agents for complex steps.
temp-skills/temp-jsons to store the generated all-analyses.json and meta-blueprint.json.md original documentation files, use cp to copy to temp-skills/references directoryall-analyses.json (summary JSON including summary, toc, key_apis, etc.)mv to rename the temporary directory temp-skills/ to: [new-skill-name]/ (using the user's final confirmed skill name)all-analyses.json summary to the userBased on user-selected plan, collect detailed configuration:
Generate meta-blueprint.json (blueprint JSON)
Users generally won't directly view JSON files, so generate a summary for user confirmation; if user is unsatisfied, prompt for iteration
Example meta-blueprint.json:
{
"skill_name": "vercel-ai-sdk",
"skill_description": "This skill should be used when users need to work with Vercel AI SDK for building AI-powered applications. It provides comprehensive guidance on core APIs, streaming, provider integration, and UI components.",
"output_directory": "skills/vercel-ai-sdk/",
"modules": {
"core": { "source_docs": ["core.md"] },
"ui": { "source_docs": ["ui.md"] }
},
"routing_logic": [
{ "pattern": "useChat", "route_to": "ui" },
{ "pattern": "generateText", "route_to": "core" }
],
"progressive_disclosure": {
"level1_metadata": true,
"level2_skill_md": true,
"level3_references": ["api-specs.md", "examples.md"]
}
}
Call <skill_synthesizer_agent>, passing meta-blueprint.json, all-analyses.json and original_docs
Receive file list (e.g., [{path: 'SKILL.md', content: '...'} etc.])
Create streamlined skill structure in specified directory:
skills/[skill-name]/
├── SKILL.md
└── references/
[skill-name]/ directory:
scripts/ or assets/ directories when needed and with explicit user consentreferences/, do not regenerate content, save context---
name: skill-name-here
description: This skill should be used when [specific scenario]. It provides [key functionality] for [user goal].
---
---
name: [skill-name-here]
description: This skill should be used when [specific scenario]. It provides [key functionality] for [user goal].
---
# [Skill Name]
## Core Functionality
[2-3 sentences summarizing the main functionality provided by the skill]
## When to Use
[Reuse content from description, maintain consistency]
## Workflow
1. [First step specific operation]
2. [Second step specific operation]
3. [When to reference original documents in references/]
## Resource References
- For detailed documentation: `references/[original-doc-name].md`
- Guide users to read original documents for detailed information, avoid regenerating content
[skill-name]/cpWeekly Installs
0
Repository
GitHub Stars
1
First Seen
Jan 1, 1970
Security Audits
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
60,400 周安装