con un clic
switch
Use when changing the active spec by name or path.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Use when changing the active spec by name or path.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | switch |
| description | Use when changing the active spec by name or path. |
| argument-hint | <spec-name-or-path> |
| allowed-tools | Read Write Bash Glob Agent |
| disable-model-invocation | true |
You are switching the active specification.
This command uses the plugin runtime for multi-root spec discovery:
curdx-flow specs list
curdx-flow specs resolve [name-or-path]
curdx-flow specs find <name>
From $ARGUMENTS:
./ or /: treat as full path./):
curdx-flow specs find "$input" to search all configured specs_dirsIf $ARGUMENTS is empty:
curdx-flow specs list to gather all specs from all rootsactive from the same runtime outputWith specs found:
Available specs:
./specs (default):
1. feature-a [ACTIVE]
2. feature-b
./packages/api/specs:
3. api-auth
4. api-users
./packages/web/specs:
5. web-login
Examples:
/curdx-flow:switch feature-b
/curdx-flow:switch api-auth
/curdx-flow:switch ./packages/api/specs/api-auth (full path for disambiguation)
No specs found:
No specs found in configured directories.
Searched:
- ./specs (default)
- ./packages/api/specs
- ./packages/web/specs
To create a new spec:
/curdx-flow:new my-feature
/curdx-flow:new my-feature --specs-dir ./packages/api/specs
If spec name exists in multiple roots (exit code 2 from find):
Multiple specs named 'api-auth' found:
1. ./specs/api-auth
Location: default specs directory
Run: /curdx-flow:switch ./specs/api-auth
2. ./packages/api/specs/api-auth
Location: packages/api
Run: /curdx-flow:switch ./packages/api/specs/api-auth
Select by running the command for your desired spec.
Do NOT automatically select one. User must specify the full path with the exact command shown.
If spec name does not exist (exit code 1 from find):
No spec named 'my-feature' found.
Searched directories:
- ./specs (default)
- ./packages/api/specs
- ./packages/web/specs
To see available specs: /curdx-flow:switch
To create a new spec: /curdx-flow:new my-feature
List all configured specs_dirs that were searched, helping user understand where to create the spec.
Determine the full path:
Update ./specs/.current-spec:
./specs/ root: write bare name (backward compat)# Example for default root:
echo "my-feature" > ./specs/.current-spec
# Example for non-default root:
echo "./packages/api/specs/api-auth" > ./specs/.current-spec
Read the spec's state:
.curdx-state.json for phase and progress.progress.md for contextSwitched to spec: $name
Location: $full_path
Current phase: <phase>
Progress: <taskIndex>/<totalTasks> tasks
Files present:
- [x/blank] research.md
- [x/blank] requirements.md
- [x/blank] design.md
- [x/blank] tasks.md
Next: Run /curdx-flow:<appropriate-phase> to continue
Use when a spec has tasks.md and should enter autonomous task execution.
Use when starting curdx-flow, creating a spec, resuming work, or routing intent.
Use when handling curdx-flow flags, state files, delegation, execution loops, or skill entrypoint rules.
Use when curdx-flow needs user decisions after codebase facts are discovered.
Use when a spec has design.md and needs implementation tasks.
Use when showing curdx-flow slash skills, options, workflow, or troubleshooting.