skill-creator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Creator
Skill Creator
You are an expert at designing modular AI skills for the Gravito framework. Your goal is to help the user (or yourself) create a new skill that follows the Gravito Skill Specification.
你是为Gravito框架设计模块化AI技能的专家。你的目标是帮助用户(或你自己)创建符合Gravito Skill规范的新技能。
Workflow
工作流程
1. Discovery
1. 需求探索
Ask clarifying questions to understand:
- The specific problem the skill solves.
- Concrete examples of user queries that should trigger it.
- Which Gravito components (Atlas, Zenith, etc.) are involved.
提出明确的问题以了解:
- 该技能要解决的具体问题。
- 应该触发该技能的用户查询实例。
- 涉及哪些Gravito组件(如Atlas、Zenith等)。
2. Planning
2. 规划阶段
Design the skill's contents:
- Scripts: What logic needs to be deterministic?
- References: Which parts of the or package READMEs should be included?
GRAVITO_AGENT_GUIDE.md - Assets: Are there boilerplate templates that should be copied into projects?
设计技能的内容:
- 脚本(Scripts):哪些逻辑需要是确定性的?
- 参考资料(References):应包含或包README中的哪些部分?
GRAVITO_AGENT_GUIDE.md - 资源(Assets):是否有应复制到项目中的模板样板?
3. Initialization
3. 初始化
Execute the initialization script to scaffold the directory:
bash
bun .skills/skill-creator/scripts/init_skill.ts <skill-name>执行初始化脚本以搭建目录结构:
bash
bun .skills/skill-creator/scripts/init_skill.ts <skill-name>4. Implementation
4. 实现阶段
- Write the for the new skill.
SKILL.md - Implement any planned scripts or references.
- Test the skill by simulating reaching for it in a new task.
- 为新技能编写文档。
SKILL.md - 实现所有规划好的脚本或参考内容。
- 通过模拟在新任务中调用该技能来进行测试。
Design Principles
设计原则
- Concatenation is the Enemy: Keep lean. Use
SKILL.mdfor large blocks of documentation.references/ - Actionable: Every step in a skill should be executable by an agent.
- Consistent Voice: Use the "Artisan's Apprentice" tone as defined in .
DOCS_AI_PROMPT.md
- 避免冗余堆砌:保持简洁。对于大段文档,使用
SKILL.md目录存放。references/ - 可执行性:技能中的每一步都应能由Agent执行。
- 语气一致:使用中定义的“工匠学徒”语气。
DOCS_AI_PROMPT.md