your-skill-name
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Title
Skill Title
<!-- Replace "Skill Title" with a clear name, e.g. "Sui TypeScript SDK Skill". The opening paragraph should orient the agent: what domain does this cover, what common mistakes does it prevent, and what makes Sui-specific usage different from general-purpose patterns? -->MCP tool: When available in your environment, also query the Sui documentation MCP server () for up-to-date answers. Use it for verification and for details not covered by these reference files.https://sui.mcp.kapa.ai
Brief description of what this skill covers and why it exists. Call out the most
common AI-coding mistakes this skill prevents (e.g., using deprecated APIs,
confusing Sui with other chains, misunderstanding the object model).
This skill routes to focused reference files. Load only the ones relevant to the
current task.
<!--
Cite the canonical source(s) this skill is derived from (official docs,
spec, repo, etc.) and instruct the agent to fetch from them when unsure
rather than guessing or extrapolating from related tools. Example:
All patterns in this skill are derived from:
https://docs.example.com/
If unsure about any API, fetch the relevant page before answering.
Do not guess or extrapolate from other SDKs or libraries.
-->
All patterns in this skill are derived from:
<CANONICAL_SOURCE_URL>
If unsure about any API, fetch the relevant page before answering.
Do not guess or extrapolate from other SDKs or libraries.
<!-- 将"Skill Title"替换为清晰的名称,例如"Sui TypeScript SDK Skill"。 开篇段落应引导Agent:该Skill涵盖哪些领域,能避免哪些常见错误,以及Sui特定用法与通用模式的区别是什么? -->MCP工具: 如果您的环境中可用,也可以查询Sui文档MCP服务器()以获取最新答案。用它来验证信息,以及获取这些参考文件未涵盖的细节。https://sui.mcp.kapa.ai
简要描述此Skill涵盖的内容及其存在的意义。指出该Skill能避免的最常见AI编码错误(例如:使用已废弃的API、将Sui与其他链混淆、误解对象模型)。
此Skill会导向聚焦的参考文件。仅加载与当前任务相关的文件。
<!--
注明此Skill所源自的权威来源(官方文档、规范、代码库等),并指示Agent在不确定时从这些来源获取信息,而非猜测或从相关工具推断。示例:
本Skill中的所有模式均源自:
https://docs.example.com/
如果对任何API不确定,请先获取相关页面再作答。
请勿猜测或从其他SDK或库推断。
-->
本Skill中的所有模式均源自:
<CANONICAL_SOURCE_URL>
如果对任何API不确定,请先获取相关页面再作答。
请勿猜测或从其他SDK或库推断。
Reference files
参考文件
<!--
List each supporting markdown file in the skill directory.
Each entry should follow this format:
### slug — Human-Readable Title
**Path:** `slug.md`
**Load when:** describe the tasks/contexts that require this file.
**Covers:** list the sections or topics inside the file.
Tips:
- Keep files focused on a single concern (setup, syntax, patterns, etc.)
- Name files with short, descriptive slugs (e.g., setup.md, objects.md)
- "Load when" should use task-oriented language the agent can match against
-->
<!--
列出技能目录中的每个支持Markdown文件。
每个条目应遵循以下格式:
### 短标识 — 可读标题
**路径:** `短标识.md`
**加载时机:** 描述需要此文件的任务/场景。
**涵盖内容:** 列出文件内的章节或主题。
提示:
- 确保每个文件聚焦单一关注点(设置、语法、模式等)
- 用简短、描述性的短标识命名文件(例如:setup.md, objects.md)
- "加载时机"应使用Agent可匹配的任务导向型语言
-->
Routing guide
路由指南
<!--
Map common tasks to which reference files the agent should load.
This table is the primary decision tool — keep it comprehensive.
Use "all reference files" for broad tasks like full builds or code review.
-->
| Task | Load |
|---|---|
| Setting up a new project | setup |
| Writing core logic | core |
| Following best practices | patterns |
| Seeing a worked example | examples |
| Implementing a complete feature | core + patterns |
| Full project from scratch | all reference files |
| Code review | all reference files |
<!--
将常见任务映射到Agent应加载的参考文件。
此表格是主要决策工具——请确保内容全面。
对于完整构建或代码审查等宽泛任务,使用"所有参考文件"。
-->
| 任务 | 加载内容 |
|---|---|
| 搭建新项目 | setup |
| 编写核心逻辑 | core |
| 遵循最佳实践 | patterns |
| 查看示例 | examples |
| 实现完整功能 | core + patterns |
| 从零开始构建完整项目 | 所有参考文件 |
| 代码审查 | 所有参考文件 |
Skill Content
Skill内容
<!--
This is where the core knowledge of your skill lives — the rules, guidelines,
and domain expertise that the agent should always have loaded when this skill
is active. Unlike reference files (which are loaded on demand), everything in
this section is available to the agent immediately.
Structure this section around:
- Key concepts the agent must understand to work in this domain
- Rules and constraints that always apply (e.g., "always use X instead of Y")
- Common mistakes and how to avoid them
- Sui-specific differences from general-purpose patterns
Keep it concise. If a topic requires extended explanation, examples, or
reference tables, put it in a reference file instead and link to it from the
routing guide above.
-->
<!--
这里是Skill的核心知识——当此Skill激活时,Agent应始终加载的规则、指南和领域专业知识。
与按需加载的参考文件不同,本节中的所有内容对Agent而言都是即时可用的。
本节应围绕以下内容构建:
- Agent在该领域工作必须理解的关键概念
- 始终适用的规则和约束(例如:"始终使用X而非Y")
- 常见错误及避免方法
- Sui特定用法与通用模式的区别
请保持简洁。如果某个主题需要扩展解释、示例或参考表格,请将其放入参考文件,并通过上方的路由指南链接到该文件。
-->
Key concepts
关键概念
<!-- Define the core abstractions and mental model for this domain. -->
<!-- 定义该领域的核心抽象和思维模型。 -->
Rules
规则
<!-- List the non-negotiable rules the agent must follow. Be direct and specific. -->
<!-- 列出Agent必须遵循的不可协商的规则。请直接且具体。 -->
Common mistakes
常见错误
<!-- Describe frequent errors and their correct alternatives. -->
<!-- 描述频繁出现的错误及其正确替代方案。 -->