一键导入
commandlib
Generate, test, or explain code that uses the CommandLib library in a Bukkit plugin. Usage: /commandlib <request>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate, test, or explain code that uses the CommandLib library in a Bukkit plugin. Usage: /commandlib <request>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commandlib |
| description | Generate, test, or explain code that uses the CommandLib library in a Bukkit plugin. Usage: /commandlib <request> |
Use this skill when the user is writing a plugin or library that depends on CommandLib.
Do not use this skill for maintaining the CommandLib repository itself unless the user explicitly asks for downstream usage examples.
Read the relevant references before generating code:
.claude/skills/commandlib/references/user-guide.md.claude/skills/commandlib/references/patterns.md.claude/skills/commandlib/references/testing.mdRun the extraction script:
bash .claude/skills/commandlib/scripts/extract-sources.sh
The script prints one of:
/tmp/commandlib-sources/LOCAL_BUILD: CommandLib source tree is available locally at the project rootIf extracted JAR, use /tmp/commandlib-sources/ as the base path. If
LOCAL_BUILD, use the project root as the base path.
Read the files relevant to the user's request. Common public API files include:
README.mdbukkit/src/main/java/net/kunmc/lab/commandlib/CommandLib.javabukkit/src/main/java/net/kunmc/lab/commandlib/Command.javabukkit/src/main/java/net/kunmc/lab/commandlib/CommandContext.javacommon/src/main/java/net/kunmc/lab/commandlib/CommonCommand.javacommon/src/main/java/net/kunmc/lab/commandlib/DefaultPermission.javacommon/src/main/java/net/kunmc/lab/commandlib/CommandOption.javacommon/src/main/java/net/kunmc/lab/commandlib/Options.javacommon/src/main/java/net/kunmc/lab/commandlib/AbstractArgumentBuilder.javacommon/src/main/java/net/kunmc/lab/commandlib/branch/ArgumentBranch.javabukkit/src/main/java/net/kunmc/lab/commandlib/ArgumentBuilder.javacommon/src/main/java/net/kunmc/lab/commandlib/CommonArgument.javabukkit/src/main/java/net/kunmc/lab/commandlib/argument/For extracted JAR sources, map those paths to the extracted package layout.
Respond in the same language as the user's request. If asked to generate code, output a complete working implementation that follows the public CommandLib API. If asked how to do something, explain with a code example.
$ARGUMENTS