mathodology-skill-authoring
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMathodology Skill Authoring
Mathodology Skill 编写指南
Write reusable guidance around decisions, evidence and useful outputs. Explain
when a method helps, how to recognize failure and when a simpler approach is
better. Avoid mandatory phases, handoff schemas, arbitrary scores and prose
that merely repeats another skill. Link the owning skill instead.
Every skill has SKILL.md frontmatter with a equal to its directory and
a trigger-focused starting with . Its agents/openai.yaml
contains display_name, short_description and a default_prompt mentioning the
matching . These metadata files are discovery interfaces, not a
workflow engine. Use concise role definitions; inherit the host's model choice.
namedescriptionUse when$skill-namePut detailed figure recipes, source provenance and examples in references or
examples directories within the owning skill. Keep the entry point short and
load only the references relevant to the task. Preserve third-party licensing;
never execute downloaded source snapshots as an installation step.
Small scripts are appropriate when they perform concrete work such as plotting,
backup or rendering. Keep them optional, declare dependencies, and verify the
behavior they actually promise. Do not create a framework to enforce prompts.
Update all affected entry points, role skill lists, metadata and English/Chinese
documentation. Keep each language natural; heading or code-block counts need
not match. Check that commands, capabilities and links agree. Use
maintenance for mechanical checks.
围绕决策、依据和有效输出编写可复用的指导内容。说明某种方法的适用场景、失效识别方式,以及何时更适合采用更简单的方案。避免设置强制阶段、交接流程、任意评分,以及单纯重复其他skill的冗余表述,改为链接至对应的所属skill。
每个skill的SKILL.md frontmatter中,字段需与所在目录名一致,以触发场景为核心的字段需以开头。其agents/openai.yaml文件包含display_name、short_description,以及提及对应的default_prompt。这些元数据文件是发现接口,而非工作流引擎。角色定义需简洁;继承宿主的模型选择。
namedescriptionUse when$skill-name将详细的图表制作方法、来源出处和示例放在所属skill下的references或examples目录中。保持入口点简洁,仅加载与任务相关的参考资料。保留第三方许可协议;严禁将下载的源码快照作为安装步骤执行。
小型脚本适用于执行绘图、备份或渲染等具体工作。需将其设为可选,声明依赖项,并验证其实际承诺的功能。不要创建用于强制约束提示词的框架。
更新所有受影响的入口点、角色skill列表、元数据以及中英文文档。保持各语言表述自然;标题或代码块的数量无需完全一致。检查命令、功能说明和链接是否一致。使用maintenance进行机械化检查。