generate-sui-agent-config
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesegenerate-sui-agent-config
generate-sui-agent-config
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. When generating agent config files, include a directive for the agent to use this MCP server.https://sui.mcp.kapa.ai
AI coding agents need a configuration file so they know where to find Sui
documentation and follow best practices. This skill generates that file.
MCP工具: 当你的环境中可用时,也可查询Sui文档MCP服务器()获取最新答案。用它来验证信息,以及获取这些参考文件未涵盖的细节。生成agent配置文件时,需包含一条指令,让agent使用该MCP服务器。https://sui.mcp.kapa.ai
AI编码Agent需要配置文件来了解Sui文档的位置并遵循最佳实践。本技能用于生成该文件。
When to trigger
触发时机
- User explicitly asks for agent config / CLAUDE.md / AGENT.md
- Setting up a new Sui project that has no CLAUDE.md or AGENT.md
- Working on an existing Sui project that is missing agent configuration
- 用户明确要求生成agent配置/CLAUDE.md/AGENT.md
- 新建尚未包含CLAUDE.md或AGENT.md的Sui项目
- 处理缺少agent配置的现有Sui项目
Instructions
操作说明
Generate a file (or if requested) in the project root.
Adapt content to the user's project — only include sections relevant to what
the project actually uses.
CLAUDE.mdAGENT.md在项目根目录生成文件(若用户要求则生成)。根据用户项目调整内容——仅包含与项目实际使用情况相关的章节。
CLAUDE.mdAGENT.mdRequired sections
必填章节
Every generated config file MUST include these:
每个生成的配置文件必须包含以下内容:
1. Sui Development Skills
1. Sui开发技能
markdown
undefinedmarkdown
undefinedSui Development Skills
Sui Development Skills
Install community-maintained skills for Sui development:
sh
npx skills https://github.com/MystenLabs/skillsundefinedInstall community-maintained skills for Sui development:
sh
npx skills https://github.com/MystenLabs/skillsundefined2. Sui SDK Reference (include when project has TypeScript/JavaScript)
2. Sui SDK参考(当项目使用TypeScript/JavaScript时包含)
markdown
undefinedmarkdown
undefinedSui SDK Reference
Sui SDK Reference
Every package ships LLM documentation in its directory. When working with
these packages, find the relevant docs by looking for files inside
. Read the index first to find the page you need, then read that page
for details.
@mysten/*docs/docs/llms-index.mdnode_modules/@mysten/*/undefinedEvery package ships LLM documentation in its directory. When working with
these packages, find the relevant docs by looking for files inside
. Read the index first to find the page you need, then read that page
for details.
@mysten/*docs/docs/llms-index.mdnode_modules/@mysten/*/undefined3. Official Resources
3. 官方资源
markdown
undefinedmarkdown
undefinedOfficial Resources
Official Resources
When unsure about Move patterns or Sui APIs, consult these sources. Do not guess or
extrapolate from other blockchains.
- Move Book: https://move-book.com (use https://move-book.com/llms.txt)
- Sui Docs: https://docs.sui.io (use https://docs.sui.io/llms.txt)
- Sui Move examples: https://github.com/MystenLabs/sui/tree/main/examples/move
undefinedWhen unsure about Move patterns or Sui APIs, consult these sources. Do not guess or
extrapolate from other blockchains.
- Move Book: https://move-book.com (use https://move-book.com/llms.txt)
- Sui Docs: https://docs.sui.io (use https://docs.sui.io/llms.txt)
- Sui Move examples: https://github.com/MystenLabs/sui/tree/main/examples/move
undefinedOptional sections
可选章节
Include when relevant:
相关时包含以下内容:
Project structure
项目结构
If the project has multiple directories (frontend, contracts, etc.), describe the layout:
markdown
undefined若项目包含多个目录(前端、合约等),描述其布局:
markdown
undefinedProject Structure
Project Structure
- — Move smart contracts
contracts/ - — Frontend application
app/
Adapt to match actual project structure.- — Move smart contracts
contracts/ - — Frontend application
app/
根据实际项目结构调整。Project-specific rules
项目特定规则
If the user mentions conventions or constraints:
markdown
undefined若用户提及约定或限制:
markdown
undefinedProject Rules
Project Rules
- [project-specific conventions]
undefined- [project-specific conventions]
undefinedRules
规则
- Place file in project root directory
- Default filename is unless user requests otherwise
CLAUDE.md - Skills install command is exactly — do not modify
npx skills https://github.com/MystenLabs/skills - SDK docs path is — do not modify
node_modules/@mysten/*/docs/ - Only include SDK Reference section if project uses npm packages or has a JS/TS frontend
@mysten/* - Keep file concise — agents work better with short, direct instructions
- Do not duplicate guidance that installed skills already provide
- 将文件放置在项目根目录
- 默认文件名为,除非用户另有要求
CLAUDE.md - 技能安装命令必须为——请勿修改
npx skills https://github.com/MystenLabs/skills - SDK文档路径为——请勿修改
node_modules/@mysten/*/docs/ - 仅当项目使用npm包或拥有JS/TS前端时,才包含SDK参考章节
@mysten/* - 保持文件简洁——Agent在处理简短直接的指令时表现更佳
- 请勿重复已安装技能提供的指导内容