원클릭으로
sync-slay-skill
Read CLI command source files and regenerate the slay SKILL.md + init.ts command reference to match
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read CLI command source files and regenerate the slay SKILL.md + init.ts command reference to match
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Full CLI reference for slay — orchestrates all slay domain skills
Manage tasks, subtasks, tags, and templates via the slay CLI
Automatically title tasks based on conversation context
Commit the changes that has been worked on in this session
Manage task assets (files, folders) via the slay CLI
Create and manage automations via the slay CLI
| name | sync-slay-skill |
| description | Read CLI command source files and regenerate the slay SKILL.md + init.ts command reference to match |
| trigger | none |
Synchronize the slay CLI reference documentation with the actual CLI source code.
The CLI reference lives in one place:
.claude/skills/slay/SKILL.md — dev-facing, includes --dev reminder and environment variables tableRead these files in full to extract the command tree:
packages/apps/cli/src/index.ts — root program, global flagspackages/apps/cli/src/commands/tasks.ts — tasks, subtasks, tag; nests browser + assetspackages/apps/cli/src/commands/browser.ts — browser subcommands (nested under tasks)packages/apps/cli/src/commands/projects.tspackages/apps/cli/src/commands/tags.tspackages/apps/cli/src/commands/templates.tspackages/apps/cli/src/commands/automations.tspackages/apps/cli/src/commands/processes.tspackages/apps/cli/src/commands/pty.tspackages/apps/cli/src/commands/panels.tsSkip completions.ts and init.ts — internal/meta commands, not documented.
Also read both targets to understand current state:
.claude/skills/slay/SKILL.mdpackages/apps/cli/src/commands/init.tsParse Commander.js patterns to build the full command tree:
| Pattern | Meaning |
|---|---|
.command('name <req> [opt]') | Command with positional args |
.description('text') | Command description |
.option('--flag', 'desc') | Optional boolean flag |
.option('--name <value>', 'desc') | Optional value option |
.option('-s, --long <value>', 'desc') | Short + long option |
.requiredOption('--name <value>', 'desc') | Required option |
Nesting to track:
browserCommand() is added to tasks via cmd.addCommand(browserCommand())assetsSubcommand() is added to tasks via cmd.addCommand(assetsSubcommand())--panel <state> on browser) are inherited by all subcommands — include them on each subcommand lineGroup commands into these categories (preserve this ordering):
| Section | Commands from |
|---|---|
| Task lifecycle | tasks view, tasks update, tasks done, tasks create |
| Subtasks | tasks subtasks, tasks subtask-add |
| Task management | tasks list, tasks search, tasks open, tasks archive, tasks delete |
| Tags | tasks tag (all variants), tags list, tags create, tags delete |
| Templates | all templates subcommands |
| Browser panel | all tasks browser subcommands |
| Assets | all tasks assets subcommands |
| Projects | all projects subcommands |
| Automations | all automations subcommands |
| Processes | all processes subcommands |
| PTY sessions | all pty subcommands |
| Web panels | all panels subcommands |
Format each line as:
- `slay <command-path> <positional-args> <required-opts> [optional-opts]` — <description>
Rules:
.requiredOption): bare syntax --project <name>.option): bracket syntax [--json], [--limit <n>]-o, -n, -s)tasks tag: document as multiple lines — one per usage pattern (show, --set, --add, --remove, --clear)In .claude/skills/slay/SKILL.md, replace ONLY the content between ## Commands and ## Notes.
Preserve verbatim:
--dev reminder)## Global flags section## Environment variables table## Notes section (unless a note references a removed command — update it)After updating, summarize:
Tell user to review with git diff.
index.ts but not in the file list above → read it, ask user which category heading to use.description() → use command name as placeholder, flag for review.option())