원클릭으로
new-command
Scaffold a new Discord slash command following project patterns
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new Discord slash command following project patterns
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use after implementing any new feature or modifying existing features — audits and updates all related docs, landing pages, help categories, steering docs, changelog, and i18n before declaring work complete
Scaffold a new landing site page following i18n patterns (shared component + EN/VI wrappers + translation keys)
SPEC methodology workflow - bridging product requirements and technical implementation. Use when users want to create, plan, discuss, or manage feature specifications. Triggers on /spec commands or requests like "create a spec for X", "plan feature Y", "discuss requirements".
SOC 직업 분류 기준
| name | new-command |
| description | Scaffold a new Discord slash command following project patterns |
Create a new Discord slash command in src/commands/slash/.
The user will provide:
All commands in this project follow this structure:
import {
ChatInputCommandInteraction,
EmbedBuilder,
SlashCommandBuilder,
} from "discord.js";
import Reply from "../../util/decorator/reply";
export default {
data: new SlashCommandBuilder()
.setName("command-name")
.setDescription("Command description"),
async execute(interaction: ChatInputCommandInteraction) {
const embed = new EmbedBuilder().setColor("Random").setTimestamp();
// Command logic here
return Reply.embed(interaction, embed);
},
};
src/commands/slash/{name}.tsChatInputCommandInteraction (not CommandInteraction)Reply utility from ../../util/decorator/reply for responsesEmbedBuilder for rich responsesawait interaction.deferReply() then Reply.embedEdit()(true) to getString() / getInteger() for required options to get non-null typesif (!(interaction.channel as TextChannel)?.nsfw).addSubcommand()src/loaders/commands.ts auto-discovers it