Create new AXEL workspace
Creates new AXEL workspace with todo folders under .claude/workspaces/.
/plugin marketplace add ahmetmeral/axel-marketplace/plugin install axel@axel-marketplace<document type="command" entry="cmd:main">
<enforcement>
- Read the `src`, `ref`, or `target` attribute from the document XML to locate referenced files
- ${CLAUDE_PLUGIN_ROOT} resolves to plugin installation directory
- Python is REQUIRED for this command
</enforcement>
<objective>
Create new AXEL workspace structure with todo folders.
Workspaces are created under .claude/workspaces/{workspace}/.
</objective>
<documents name="bootstrap" load="always" mode="context">
<read src="${CLAUDE_PLUGIN_ROOT}/AXEL-Bootstrap.md"/>
<understanding>
!! MANDATORY: READ -> UNDERSTAND -> APPLY !!
Bootstrap provides core AXEL rules.
</understanding>
</documents>
<variables>
<var name="plugin_root" value="${CLAUDE_PLUGIN_ROOT}"/>
<var name="workspace" from="args.0"/>
</variables>
<command id="cmd:main">
<goto when="${workspace} == ''" to="help"/>
<goto to="execute"/>
</command>
<execution flow="staged">
<!-- help: Usage -->
<stage id="help">
<print>
## /axel:workspace
**Usage:**
/axel:workspace {name}
**Example:**
/axel:workspace myapp
**Note:**
- "default" is a reserved workspace name (created by /axel:install)
- Workspace names must be in kebab-case format
</print>
<stop kind="end"/>
</stage>
<!-- execute: Run Python script -->
<stage id="execute">
<print>Creating workspace: ${workspace}...</print>
<bash output="result"><![CDATA[
PYTHONIOENCODING=utf-8 python "${plugin_root}/scripts/axel_workspace.py" --workspace "${workspace}" --plugin-root "${plugin_root}" --cwd "${cwd}"
]]></bash>
<goto to="complete"/>
</stage>
<!-- complete: Report result -->
<stage id="complete">
<print>${result}</print>
<stop kind="end"/>
</stage>
</execution>
<understanding/>
</document>