Trellis provides 13 Slash commands (Claude Code), organized into 6 categories. The Cursor version has 12 (excluding /parallel).
Cross-Platform Command Reference
Function
Claude Code / OpenCode
Cursor
Codex
Start session
/start (optional, Hook auto-injects)
/start (required)
$start
Backend prep
/before-backend-dev (optional)
/trellis-before-backend-dev (recommended)
$before-backend-dev
Frontend prep
/before-frontend-dev (optional)
/trellis-before-frontend-dev (recommended)
$before-frontend-dev
Check backend
/check-backend (Ralph Loop auto-triggers)
/trellis-check-backend (manual)
$check-backend
Check frontend
/check-frontend (Ralph Loop auto-triggers)
/trellis-check-frontend (manual)
$check-frontend
Cross-layer check
/check-cross-layer
/trellis-check-cross-layer
$check-cross-layer
Finish checklist
/finish-work
/trellis-finish-work
$finish-work
Parallel orchestration
/parallel
❌ Not supported
❌ Not supported
Record session
/record-session
/trellis-record-session
$record-session
Brainstorm
/brainstorm
/trellis-brainstorm
$brainstorm
Bug analysis
/break-loop
/trellis-break-loop
$break-loop
New member onboarding
/onboard
/trellis-onboard
$onboard
Create command
/create-command
/trellis-create-command
$create-command
Integrate Skill
/integrate-skill
/trellis-integrate-skill
$integrate-skill
5.1 Session Management
/start — Start a Development Session
When to use: Every time you open your AI coding assistant to start work. Claude Code users have context auto-injected via Hooks, so /start is optional (but recommended for first-time use to see the full flow). Cursor users must run /start.Execution flow:
Read workflow.md to understand the workflow
Run get-context.py to get context (identity, Git status, active tasks)
Read spec indexes to understand project specs
Report context and ask: “What would you like to work on?”
Task classification decisions:
Type
Criteria
Workflow
Q&A
User asks about code or architecture
Answer directly
Quick fix
Typo fix, single-line change, < 5 minutes
Edit directly
Development task
Logic changes, new features, bug fixes, multi-file changes
Use Task Workflow
When in doubt, use Task Workflow. Task Workflow ensures Agents receive spec injection, resulting in higher code quality.
/parallel — Multi-Agent Parallel Orchestration
Claude Code only. Cursor, Codex, and other platforms do not support Multi-Agent Pipeline.
Reads the backend spec index and related spec documents (database, error handling, logging, type safety, quality guidelines), ensuring the AI understands backend coding standards before writing code.
/before-frontend-dev — Frontend Development Prep
Reads the frontend spec index and related spec documents (components, Hooks, state management, type safety, quality guidelines).
5.3 Quality Checks
/check-backend — Backend Code Check
Execution flow:
git status to view changes
Re-read backend specs
Compare code against specs line by line
Auto-fix violations (Ralph Loop driven, up to 3 rounds)
Check items: directory structure, database operations, error handling, logging conventions, type definitions, no console.log, no any types, no non-null assertions.
/check-frontend — Frontend Code Check
Check items: component naming (PascalCase), Props interfaces, Hook usage, state management, style consistency, TypeScript errors, ESLint errors, unused imports.Also uses the Ralph Loop self-fix cycle.
Systematic Expansion — Search for other potential issues with the same pattern
Knowledge Capture — Solidify analysis results into specs
Core philosophy:
The value of debugging is not fixing this bug, but ensuring this class of bugs never happens again.
5.6 Utility Commands
/finish-work — Pre-Commit Checklist
6-dimension check before committing:
Code quality (lint, type-check, test)
Documentation sync
API changes
Database changes
Cross-layer verification
Manual testing
/create-command — Create Custom Commands
Generates dual-IDE command files under .claude/commands/trellis/ and .cursor/commands/. See Chapter 9 for details.
/integrate-skill — Integrate External Skills
Integrates community Skills into your project, creating a unified /use-[skill-name] command. See Chapter 12 for details.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenClaw docs","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/genetind/UyCZL0YtV4Wc-Lin/logo/light.svg?fit=max\u0026auto=format\u0026n=UyCZL0YtV4Wc-Lin\u0026q=85\u0026s=8f9f30f0cbfa573151e9f796317a9f4a","dark":"https://mintcdn.com/genetind/UyCZL0YtV4Wc-Lin/logo/dark.svg?fit=max\u0026auto=format\u0026n=UyCZL0YtV4Wc-Lin\u0026q=85\u0026s=61fa9bdebb8f460bb1705234e10ad767"},"favicon":"https://mintcdn.com/genetind/UyCZL0YtV4Wc-Lin/favicon.svg?fit=max\u0026auto=format\u0026n=UyCZL0YtV4Wc-Lin\u0026q=85\u0026s=97811ea8e4243bea78c46fe1d35fc5a8","navbar":{"links":[{"href":"https://github.com/lilinji/GeneTind-docs/issues","label":"Issues"}],"primary":{"type":"button","label":"Get OpenClaw","href":"https://github.com/openclaw/openclaw"}},"footer":{"socials":{"x":"https://x.com/golucklee","github":"https://github.com/lilinji","linkedin":"https://linkedin.com/in/golucklee"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Docs repo","icon":"book-open-cover","href":"https://github.com/lilinji/GeneTind-docs"},{"anchor":"OpenClaw GitHub","icon":"github","href":"https://github.com/openclaw/openclaw"}]},"languages":[{"language":"zh","href":"zh/pi-textbook"},{"language":"en","href":"openclaw"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"genetind","hasAudioNarration":false,"actualSubdomain":"genetind","customDomains":["ai.genetind.com"],"gitSource":{"type":"github","owner":"lilinji","repo":"genetind-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9463ff80b5115a359af3e:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"zh","tag":"智能体设计模式","count":33},{"language":"zh","tag":"AI 学习资料","count":29},{"language":"zh","tag":"动手学 Pi","count":16},{"language":"en","tag":"Showcase and community","count":9},{"language":"en","tag":"OpenClaw","count":9},{"language":"zh","tag":"案例与社区","count":9},{"language":"zh","tag":"OpenClaw","count":9},{"language":"en","tag":"Trellis legacy · appendices","count":7},{"language":"zh","tag":"第一部分:核心模式","count":7},{"language":"zh","tag":"第四部分:高级架构","count":7},{"language":"zh","tag":"附录","count":7},{"language":"zh","tag":"Trellis legacy · 附录","count":7},{"language":"en","tag":"Trellis legacy · workflow","count":6},{"language":"zh","tag":"5. 实操技巧","count":6},{"language":"en","tag":"API reference","count":5},{"language":"en","tag":"Trellis legacy · advanced","count":5},{"language":"en","tag":"Trellis legacy · customization","count":5},{"language":"en","tag":"Skills and templates","count":4},{"language":"en","tag":"Trellis legacy · basics","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"img[src*=\"cloudfront.net/flags\"]{display:none!important}button[aria-haspopup=\"menu\"]>div:first-child{display:none!important}[role=\"menuitem\"]>div:first-child{display:none!important}pre code{font-family:Menlo, Monaco, \"Courier New\", monospace!important}pre.cjk-diagram{display:block!important;padding:14px 16px;border-radius:16px;font-size:14px;line-height:24px;font-family:Menlo, Monaco, \"Courier New\", monospace;overflow-x:auto;white-space:pre;margin:16px 0;background:#f8f8f8;color:#1e1e1e}.dark pre.cjk-diagram{background:#1e1e1e;color:#d4d4d4}pre.cjk-diagram b{display:inline-block;width:2ch;text-align:center;font-weight:normal}"}],"page":{"pagePath":"guide/ch05-commands","slug":"/guide/ch05-commands","pageMetadata":{"title":"Complete Command Reference","description":null,"href":"/guide/ch05-commands"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`complete-command-reference`,children:`Complete Command Reference`}),`\n`,_jsxs(_components.p,{children:[`Trellis provides 13 Slash commands (Claude Code), organized into 6 categories. The Cursor version has 12 (excluding `,_jsx(_components.code,{children:`/parallel`}),`).`]}),`\n`,_jsx(Heading,{level:`4`,id:`cross-platform-command-reference`,children:`Cross-Platform Command Reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Function`}),_jsx(_components.th,{children:`Claude Code / OpenCode`}),_jsx(_components.th,{children:`Cursor`}),_jsx(_components.th,{children:`Codex`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Start session`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/start`}),` (optional, Hook auto-injects)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/start`}),` (required)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$start`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Backend prep`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/before-backend-dev`}),` (optional)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/trellis-before-backend-dev`}),` (recommended)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$before-backend-dev`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Frontend prep`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/before-frontend-dev`}),` (optional)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/trellis-before-frontend-dev`}),` (recommended)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$before-frontend-dev`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Check backend`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/check-backend`}),` (Ralph Loop auto-triggers)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/trellis-check-backend`}),` (manual)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$check-backend`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Check frontend`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/check-frontend`}),` (Ralph Loop auto-triggers)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/trellis-check-frontend`}),` (manual)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$check-frontend`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cross-layer check`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/check-cross-layer`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-check-cross-layer`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$check-cross-layer`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Finish checklist`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/finish-work`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-finish-work`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$finish-work`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Parallel orchestration`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/parallel`})}),_jsx(_components.td,{children:`❌ Not supported`}),_jsx(_components.td,{children:`❌ Not supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Record session`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/record-session`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-record-session`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$record-session`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Brainstorm`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/brainstorm`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-brainstorm`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$brainstorm`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bug analysis`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/break-loop`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-break-loop`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$break-loop`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`New member onboarding`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/onboard`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-onboard`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$onboard`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create command`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/create-command`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-create-command`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$create-command`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Integrate Skill`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/integrate-skill`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/trellis-integrate-skill`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$integrate-skill`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`5-1-session-management`,children:`5.1 Session Management`}),`\n`,_jsxs(Heading,{level:`4`,id:`/start-—-start-a-development-session`,children:[_jsx(_components.code,{children:`/start`}),` — Start a Development Session`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use`}),`: Every time you open your AI coding assistant to start work. Claude Code users have context auto-injected via Hooks, so `,_jsx(_components.code,{children:`/start`}),` is optional (but recommended for first-time use to see the full flow). Cursor users `,_jsx(_components.strong,{children:`must`}),` run `,_jsx(_components.code,{children:`/start`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Execution flow`}),`:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Read `,_jsx(_components.code,{children:`workflow.md`}),` to understand the workflow`]}),`\n`,_jsxs(_components.li,{children:[`Run `,_jsx(_components.code,{children:`get-context.py`}),` to get context (identity, Git status, active tasks)`]}),`\n`,_jsx(_components.li,{children:`Read spec indexes to understand project specs`}),`\n`,_jsx(_components.li,{children:`Report context and ask: “What would you like to work on?”`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Task classification decisions`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Criteria`}),_jsx(_components.th,{children:`Workflow`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Q\u0026A`}),_jsx(_components.td,{children:`User asks about code or architecture`}),_jsx(_components.td,{children:`Answer directly`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quick fix`}),_jsx(_components.td,{children:`Typo fix, single-line change, \u003c 5 minutes`}),_jsx(_components.td,{children:`Edit directly`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Development task`}),_jsx(_components.td,{children:`Logic changes, new features, bug fixes, multi-file changes`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Use Task Workflow`})})]})]})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When in doubt, use Task Workflow`}),`. Task Workflow ensures Agents receive spec injection, resulting in higher code quality.`]}),`\n`]}),`\n`,_jsxs(Heading,{level:`4`,id:`/parallel-—-multi-agent-parallel-orchestration`,children:[_jsx(_components.code,{children:`/parallel`}),` — Multi-Agent Parallel Orchestration`]}),`\n`,_jsx(Warning,{children:`Claude Code only. Cursor, Codex, and other platforms do not support Multi-Agent Pipeline.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`High task complexity, requiring > 30 minutes`}),`\n`,_jsx(_components.li,{children:`Can be split into multiple independent subtasks`}),`\n`,_jsx(_components.li,{children:`Needs isolation in independent worktrees`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Two-phase flow`}),`:`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Phase 1: Plan`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/multi-agent/plan.py`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"feature-name\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"backend|frontend|fullstack\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --requirement`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"User requirement description\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The Plan Agent will:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Assess whether requirements are clear (may reject, see Chapter 6)`}),`\n`,_jsx(_components.li,{children:`Invoke Research Agent to analyze the codebase`}),`\n`,_jsx(_components.li,{children:`Create task directory and configure JSONL context`}),`\n`,_jsx(_components.li,{children:`Generate the prd.md requirements document`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Phase 2: Execute`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/multi-agent/start.py`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TASK_DIR`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Automatically creates a Git worktree. The Dispatch Agent executes implement, check, finish, and create-pr in sequence.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Monitoring commands`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/multi-agent/status.py`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Overview`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/multi-agent/status.py`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --log`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`nam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # View logs`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/multi-agent/status.py`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --watch`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`nam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Live monitoring`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/multi-agent/cleanup.py`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`branc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`h`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Clean up worktree`})]}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`4`,id:`/record-session-—-record-a-session`,children:[_jsx(_components.code,{children:`/record-session`}),` — Record a Session`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use`}),`: After the user has tested and committed code.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Prerequisite`}),`: The AI does not execute git commit; it only reads git history.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Execution flow`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./.trellis/scripts/add-session.py`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --title`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Session Title\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --commit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hash1,hash2\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --summary`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"What was accomplished in this session\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Automatically completes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Appends session record to `,_jsx(_components.code,{children:`journal-N.md`})]}),`\n`,_jsx(_components.li,{children:`Detects line count and auto-creates a new file when exceeding 2,000 lines`}),`\n`,_jsxs(_components.li,{children:[`Updates `,_jsx(_components.code,{children:`index.md`}),` (session count +1, last active time, history table)`]}),`\n`]}),`\n`,_jsxs(Heading,{level:`4`,id:`/onboard-—-new-member-onboarding`,children:[_jsx(_components.code,{children:`/onboard`}),` — New Member Onboarding`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use`}),`: When a new team member joins.`]}),`\n`,_jsx(_components.p,{children:`Includes three parts:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Core concept walkthrough (spec / workspace / task / hook)`}),`\n`,_jsx(_components.li,{children:`5 hands-on exercises (bug fix, planning session, Code Review fix, large refactor, debugging session)`}),`\n`,_jsx(_components.li,{children:`Spec customization guidance`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`5-2-development-preparation`,children:`5.2 Development Preparation`}),`\n`,_jsxs(Heading,{level:`4`,id:`/before-backend-dev-—-backend-development-prep`,children:[_jsx(_components.code,{children:`/before-backend-dev`}),` — Backend Development Prep`]}),`\n`,_jsx(_components.p,{children:`Reads the backend spec index and related spec documents (database, error handling, logging, type safety, quality guidelines), ensuring the AI understands backend coding standards before writing code.`}),`\n`,_jsxs(Heading,{level:`4`,id:`/before-frontend-dev-—-frontend-development-prep`,children:[_jsx(_components.code,{children:`/before-frontend-dev`}),` — Frontend Development Prep`]}),`\n`,_jsx(_components.p,{children:`Reads the frontend spec index and related spec documents (components, Hooks, state management, type safety, quality guidelines).`}),`\n`,_jsx(Heading,{level:`3`,id:`5-3-quality-checks`,children:`5.3 Quality Checks`}),`\n`,_jsxs(Heading,{level:`4`,id:`/check-backend-—-backend-code-check`,children:[_jsx(_components.code,{children:`/check-backend`}),` — Backend Code Check`]}),`\n`,_jsx(_components.p,{children:`Execution flow:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`git status`}),` to view changes`]}),`\n`,_jsx(_components.li,{children:`Re-read backend specs`}),`\n`,_jsx(_components.li,{children:`Compare code against specs line by line`}),`\n`,_jsx(_components.li,{children:`Auto-fix violations (Ralph Loop driven, up to 3 rounds)`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Check items: directory structure, database operations, error handling, logging conventions, type definitions, no `,_jsx(_components.code,{children:`console.log`}),`, no `,_jsx(_components.code,{children:`any`}),` types, no non-null assertions.`]}),`\n`,_jsxs(Heading,{level:`4`,id:`/check-frontend-—-frontend-code-check`,children:[_jsx(_components.code,{children:`/check-frontend`}),` — Frontend Code Check`]}),`\n`,_jsx(_components.p,{children:`Check items: component naming (PascalCase), Props interfaces, Hook usage, state management, style consistency, TypeScript errors, ESLint errors, unused imports.`}),`\n`,_jsx(_components.p,{children:`Also uses the Ralph Loop self-fix cycle.`}),`\n`,_jsxs(Heading,{level:`4`,id:`/check-cross-layer-—-cross-layer-consistency-check`,children:[_jsx(_components.code,{children:`/check-cross-layer`}),` — Cross-Layer Consistency Check`]}),`\n`,_jsx(_components.p,{children:`Reads the cross-layer thinking guide and analyzes 6 dimensions:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Data flow consistency`}),` — Frontend, API, Database, API, Frontend`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type definition sync`}),` — Frontend and backend interfaces match`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Error handling continuity`}),` — Errors properly propagated across layers`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Constant synchronization`}),` — Shared constants between frontend and backend`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Code reuse`}),` — No duplicate implementations`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Import path correctness`}),` — No broken references`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`5-4-parallel-development`,children:`5.4 Parallel Development`}),`\n`,_jsx(Heading,{level:`4`,id:`/parallel`,children:_jsx(_components.code,{children:`/parallel`})}),`\n`,_jsx(_components.p,{children:`See section 5.1.`}),`\n`,_jsx(Heading,{level:`3`,id:`5-5-knowledge-accumulation`,children:`5.5 Knowledge Accumulation`}),`\n`,_jsxs(Heading,{level:`4`,id:`/break-loop-—-deep-bug-analysis`,children:[_jsx(_components.code,{children:`/break-loop`}),` — Deep Bug Analysis`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use`}),`: After resolving a tricky bug, to perform deep analysis and prevent similar issues.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`5-Dimension Analysis Framework`}),`:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Root Cause Classification`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A — Missing Spec`}),`\n`,_jsx(_components.li,{children:`B — Cross-layer Contract Violation`}),`\n`,_jsx(_components.li,{children:`C — Change Propagation Failure`}),`\n`,_jsx(_components.li,{children:`D — Test Coverage Gap`}),`\n`,_jsx(_components.li,{children:`E — Implicit Assumption`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Why Fixes Failed`}),` — Analyze why previous fix attempts failed`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Prevention Mechanisms`}),` (6 types):`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Spec update`}),`\n`,_jsx(_components.li,{children:`Type constraints`}),`\n`,_jsx(_components.li,{children:`Lint rules`}),`\n`,_jsx(_components.li,{children:`Test cases`}),`\n`,_jsx(_components.li,{children:`Code review checklist items`}),`\n`,_jsx(_components.li,{children:`Documentation updates`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Systematic Expansion`}),` — Search for other potential issues with the same pattern`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Knowledge Capture`}),` — Solidify analysis results into specs`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Core philosophy`}),`:`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`The value of debugging is not fixing this bug, but ensuring this class of bugs never happens again.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`5-6-utility-commands`,children:`5.6 Utility Commands`}),`\n`,_jsxs(Heading,{level:`4`,id:`/finish-work-—-pre-commit-checklist`,children:[_jsx(_components.code,{children:`/finish-work`}),` — Pre-Commit Checklist`]}),`\n`,_jsx(_components.p,{children:`6-dimension check before committing:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Code quality (lint, type-check, test)`}),`\n`,_jsx(_components.li,{children:`Documentation sync`}),`\n`,_jsx(_components.li,{children:`API changes`}),`\n`,_jsx(_components.li,{children:`Database changes`}),`\n`,_jsx(_components.li,{children:`Cross-layer verification`}),`\n`,_jsx(_components.li,{children:`Manual testing`}),`\n`]}),`\n`,_jsxs(Heading,{level:`4`,id:`/create-command-—-create-custom-commands`,children:[_jsx(_components.code,{children:`/create-command`}),` — Create Custom Commands`]}),`\n`,_jsxs(_components.p,{children:[`Generates dual-IDE command files under `,_jsx(_components.code,{children:`.claude/commands/trellis/`}),` and `,_jsx(_components.code,{children:`.cursor/commands/`}),`. See Chapter 9 for details.`]}),`\n`,_jsxs(Heading,{level:`4`,id:`/integrate-skill-—-integrate-external-skills`,children:[_jsx(_components.code,{children:`/integrate-skill`}),` — Integrate External Skills`]}),`\n`,_jsxs(_components.p,{children:[`Integrates community Skills into your project, creating a unified `,_jsx(_components.code,{children:`/use-[skill-name]`}),` command. See Chapter 12 for details.`]}),`\n`,_jsx(_components.hr,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Complete Command Reference","description":null,"href":"/guide/ch05-commands"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Complete Command Reference","slug":"complete-command-reference","depth":2,"children":[{"title":"Cross-Platform Command Reference","slug":"cross-platform-command-reference","depth":4,"children":[]},{"title":"5.1 Session Management","slug":"5-1-session-management","depth":3,"children":[]},{"title":"/start — Start a Development Session","slug":"/start-—-start-a-development-session","depth":4,"children":[]},{"title":"/parallel — Multi-Agent Parallel Orchestration","slug":"/parallel-—-multi-agent-parallel-orchestration","depth":4,"children":[]},{"title":"/record-session — Record a Session","slug":"/record-session-—-record-a-session","depth":4,"children":[]},{"title":"/onboard — New Member Onboarding","slug":"/onboard-—-new-member-onboarding","depth":4,"children":[]},{"title":"5.2 Development Preparation","slug":"5-2-development-preparation","depth":3,"children":[]},{"title":"/before-backend-dev — Backend Development Prep","slug":"/before-backend-dev-—-backend-development-prep","depth":4,"children":[]},{"title":"/before-frontend-dev — Frontend Development Prep","slug":"/before-frontend-dev-—-frontend-development-prep","depth":4,"children":[]},{"title":"5.3 Quality Checks","slug":"5-3-quality-checks","depth":3,"children":[]},{"title":"/check-backend — Backend Code Check","slug":"/check-backend-—-backend-code-check","depth":4,"children":[]},{"title":"/check-frontend — Frontend Code Check","slug":"/check-frontend-—-frontend-code-check","depth":4,"children":[]},{"title":"/check-cross-layer — Cross-Layer Consistency Check","slug":"/check-cross-layer-—-cross-layer-consistency-check","depth":4,"children":[]},{"title":"5.4 Parallel Development","slug":"5-4-parallel-development","depth":3,"children":[]},{"title":"/parallel","slug":"/parallel","depth":4,"children":[]},{"title":"5.5 Knowledge Accumulation","slug":"5-5-knowledge-accumulation","depth":3,"children":[]},{"title":"/break-loop — Deep Bug Analysis","slug":"/break-loop-—-deep-bug-analysis","depth":4,"children":[]},{"title":"5.6 Utility Commands","slug":"5-6-utility-commands","depth":3,"children":[]},{"title":"/finish-work — Pre-Commit Checklist","slug":"/finish-work-—-pre-commit-checklist","depth":4,"children":[]},{"title":"/create-command — Create Custom Commands","slug":"/create-command-—-create-custom-commands","depth":4,"children":[]},{"title":"/integrate-skill — Integrate External Skills","slug":"/integrate-skill-—-integrate-external-skills","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"genetind","siteName":"OpenClaw docs","title":"Complete Command Reference - OpenClaw docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/zh/guide/ch05-commands","matchLevel":1},"en":{"href":"/guide/ch05-commands","matchLevel":0}}},"lastModified":"2026-08-15T00:19:21.265Z","originalFileLocation":"guide/ch05-commands.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"OpenClaw docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Complete Command Reference - OpenClaw docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenClaw docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://ai.genetind.com/guide/ch05-commands\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://genetind.mintlify.site/_mintlify/api/og/v2?division=Trellis+legacy+%C2%B7+advanced\u0026amp;title=Complete+Command+Reference\u0026amp;theme=e000f5c922493535e4dac50d\u0026amp;signature=515daf5dad933d45c3db1806b4227cb77654f50436b60f732dbf0aca5cd5605d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Complete Command Reference - OpenClaw docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://genetind.mintlify.site/_mintlify/api/og/v2?division=Trellis+legacy+%C2%B7+advanced\u0026amp;title=Complete+Command+Reference\u0026amp;theme=e000f5c922493535e4dac50d\u0026amp;signature=515daf5dad933d45c3db1806b4227cb77654f50436b60f732dbf0aca5cd5605d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/genetind/L9I6uOtaLDLC0vRP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenClaw docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://ai.genetind.com/guide/ch05-commands\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guide/ch05-commands.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://ai.genetind.com/guide/ch05-commands\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://ai.genetind.com/zh/guide/ch05-commands\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://ai.genetind.com/zh/guide/ch05-commands\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://ai.genetind.com/#organization\",\"name\":\"OpenClaw docs\",\"url\":\"https://ai.genetind.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/genetind/UyCZL0YtV4Wc-Lin/logo/light.svg?fit=max\u0026auto=format\u0026n=UyCZL0YtV4Wc-Lin\u0026q=85\u0026s=8f9f30f0cbfa573151e9f796317a9f4a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://ai.genetind.com#website\",\"name\":\"OpenClaw docs\",\"url\":\"https://ai.genetind.com\",\"publisher\":{\"@id\":\"https://ai.genetind.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://ai.genetind.com/guide/ch05-commands#webpage\",\"url\":\"https://ai.genetind.com/guide/ch05-commands\",\"name\":\"Complete Command Reference\",\"dateModified\":\"2026-08-15T00:19:21.265Z\",\"isPartOf\":{\"@id\":\"https://ai.genetind.com#website\"},\"breadcrumb\":{\"@id\":\"https://ai.genetind.com/guide/ch05-commands#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://ai.genetind.com/guide/ch05-commands#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trellis legacy · advanced\",\"item\":\"https://ai.genetind.com/guide/ch04-architecture\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Complete Command Reference\",\"item\":\"https://ai.genetind.com/guide/ch05-commands\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://ai.genetind.com/guide/ch05-commands#article\",\"headline\":\"Complete Command Reference\",\"name\":\"Complete Command Reference\",\"url\":\"https://ai.genetind.com/guide/ch05-commands\",\"mainEntityOfPage\":{\"@id\":\"https://ai.genetind.com/guide/ch05-commands#webpage\"},\"dateModified\":\"2026-08-15T00:19:21.265Z\",\"publisher\":{\"@id\":\"https://ai.genetind.com/#organization\"},\"isPartOf\":{\"@id\":\"https://ai.genetind.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenClaw docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenClaw docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guide/ch05-commands.md","siteName":"OpenClaw docs","nav":{"global":{"anchors":[{"anchor":"Docs repo","icon":"book-open-cover","href":"https://github.com/lilinji/GeneTind-docs"},{"anchor":"OpenClaw GitHub","icon":"github","href":"https://github.com/openclaw/openclaw"}]},"languages":[{"language":"zh","pages":[{"title":"zh","href":"/zh/guide/ch05-commands"}]},{"language":"en","groups":[{"group":"OpenClaw","pages":[{"title":"OpenClaw overview","href":"/openclaw"},{"title":"Day 1: Meet OpenClaw","href":"/openclaw/day/1"},{"title":"Day 2: Build Your Assistant in 10 Minutes","href":"/openclaw/day/2"},{"title":"Day 3: Give Your Assistant a Soul","href":"/openclaw/day/3"},{"title":"Day 4: Connect Your Digital Life","href":"/openclaw/day/4"},{"title":"Day 5: Unlock the Skill Tree","href":"/openclaw/day/5"},{"title":"Day 6: Make Your Assistant Work Proactively","href":"/openclaw/day/6"},{"title":"Day 7: Advanced Techniques \u0026 Future Outlook","href":"/openclaw/day/7"},{"title":"OpenClaw resources","href":"/openclaw/resources"}]},{"group":"Trellis legacy · basics","pages":[{"title":"What is Trellis","href":"/guide/ch01-what-is-trellis"},{"title":"Quick Start","href":"/guide/ch02-quick-start"},{"title":"Your First Task","href":"/guide/ch03-first-task"}]},{"group":"Trellis legacy · advanced","pages":[{"title":"Architecture Overview","description":null,"href":"/guide/ch04-architecture"},{"title":"Complete Command Reference","href":"/guide/ch05-commands"},{"title":"Task Management Workflow","description":null,"href":"/guide/ch06-task-management"},{"title":"Writing Specs","href":"/guide/ch07-writing-specs"},{"title":"Real-World Scenarios","href":"/guide/ch08-real-world"}]},{"group":"Trellis legacy · customization","pages":[{"title":"Custom Slash Commands","href":"/guide/ch09-custom-commands"},{"title":"Custom Agents","href":"/guide/ch10-custom-agents"},{"title":"Custom Hooks","href":"/guide/ch11-custom-hooks"},{"title":"Custom Skills","href":"/guide/ch12-custom-skills"},{"title":"Multi-Platform and Team Configuration","href":"/guide/ch13-multi-platform"}]},{"group":"Trellis legacy · workflow","pages":[{"title":"Overview","href":"/concepts/overview"},{"title":"Writing specs","href":"/guides/specs"},{"title":"Managing tasks","href":"/guides/tasks"},{"title":"Slash commands","href":"/guides/commands"},{"title":"Parallel Sessions","href":"/guides/multi-agent"},{"title":"FAQ","href":"/guides/faq"}]},{"group":"Trellis legacy · appendices","pages":[{"title":"Appendix A: Key File Paths Quick Reference","href":"/guide/appendix-a"},{"title":"Appendix B: Complete Command Cheat Sheet","href":"/guide/appendix-b"},{"title":"Appendix C: task.json Schema Reference","href":"/guide/appendix-c"},{"title":"Appendix D: JSONL Configuration Format Reference","href":"/guide/appendix-d"},{"title":"Appendix E: worktree.yaml Configuration Reference","href":"/guide/appendix-e"},{"title":"Appendix F: FAQ","href":"/guide/appendix-f"},{"title":"Resources \u0026 acknowledgments","href":"/guide/resources"}]},{"group":"Skills and templates","pages":[{"title":"Overview","href":"/skills-market/index"},{"title":"trellis-meta","href":"/skills-market/trellis-meta"},{"title":"Overview","href":"/templates/specs-index"},{"title":"Electron + React + TypeScript","href":"/templates/specs-electron"}]},{"group":"Showcase and community","pages":[{"title":"open-typeless","href":"/use-cases/open-typeless"},{"title":"Showcase","sidebarTitle":"Overview","href":"/showcase/index"},{"title":"open-typeless","sidebarTitle":"open-typeless","href":"/showcase/open-typeless"},{"title":"Trellis for Cursor","sidebarTitle":"Trellis for Cursor","href":"/showcase/trellis-cursor"},{"title":"Contribute to docs","href":"/contribute/docs"},{"title":"Overview","href":"/blog/index"},{"title":"Understanding Trellis Through Kubernetes","href":"/blog/use-k8s-to-know-trellis"},{"title":"Building an AI Collaborative Development System in Real Projects","href":"/blog/ai-collaborative-dev-system"},{"title":"v0.3.4","href":"/changelog/v0.3.4"}]},{"group":"API reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Get Plants","openapi":"GET /plants","href":"/api-reference/endpoint/get"},{"title":"Create Plant","openapi":"POST /plants","href":"/api-reference/endpoint/create"},{"title":"Delete Plant","openapi":"DELETE /plants/{id}","href":"/api-reference/endpoint/delete"},{"title":"New Plant","openapi":"WEBHOOK /plant/webhook","href":"/api-reference/endpoint/webhook"}]},{"group":"Agentic design patterns","pages":[{"title":"Agentic Design Patterns","href":"/agentic-design-patterns/original/Agentic Design Patterns"},{"group":"Part one: core patterns","pages":[{"title":"Chapter 1 Prompt Chaining","href":"/agentic-design-patterns/original/Chapter 1_ Prompt Chaining"},{"title":"Chapter 2 Routing","href":"/agentic-design-patterns/original/Chapter 2_ Routing"},{"title":"Chapter 3 Parallelization","href":"/agentic-design-patterns/original/Chapter 3_ Parallelization"},{"title":"Chapter 4 Reflection","href":"/agentic-design-patterns/original/Chapter 4_ Reflection"},{"title":"Chapter 5 Tool Use","href":"/agentic-design-patterns/original/Chapter 5_ Tool Use"},{"title":"Chapter 6 Planning","href":"/agentic-design-patterns/original/Chapter 6_ Planning"},{"title":"Chapter 7 Multi Agent Collaboration","href":"/agentic-design-patterns/original/Chapter 7_ Multi-Agent Collaboration"}]},{"group":"Part two: cognition","pages":[{"title":"Chapter 8 Memory Management","href":"/agentic-design-patterns/original/Chapter 8_ Memory Management"},{"title":"Chapter 9 Learning and Adaptation","href":"/agentic-design-patterns/original/Chapter 9_ Learning and Adaptation"},{"title":"Chapter 10 Model Context Protocol (MCP)","href":"/agentic-design-patterns/original/Chapter 10_ Model Context Protocol (MCP)"},{"title":"Chapter 11 Goal Setting and Monitoring","href":"/agentic-design-patterns/original/Chapter 11_ Goal Setting and Monitoring"}]},{"group":"Part three: resilience and scale","pages":[{"title":"Chapter 12 Exception Handling and Recovery","href":"/agentic-design-patterns/original/Chapter 12_ Exception Handling and Recovery"},{"title":"Chapter 13 Human in the Loop","href":"/agentic-design-patterns/original/Chapter 13_ Human-in-the-Loop"},{"title":"Chapter 14 Knowledge Retrieval (RAG)","href":"/agentic-design-patterns/original/Chapter 14_ Knowledge Retrieval (RAG)"}]},{"group":"Part four: advanced architectures","pages":[{"title":"Chapter 15 Inter Agent Communication (A2A)","href":"/agentic-design-patterns/original/Chapter 15_ Inter-Agent Communication (A2A)"},{"title":"Chapter 16 Resource Aware Optimization","href":"/agentic-design-patterns/original/Chapter 16_ Resource-Aware Optimization"},{"title":"Chapter 17 Reasoning Techniques","href":"/agentic-design-patterns/original/Chapter 17_ Reasoning Techniques"},{"title":"Chapter 18 Guardrails Safety Patterns","href":"/agentic-design-patterns/original/Chapter 18_ Guardrails_Safety Patterns"},{"title":"Chapter 19 Evaluation and Monitoring","href":"/agentic-design-patterns/original/Chapter 19_ Evaluation and Monitoring"},{"title":"Chapter 20 Prioritization","href":"/agentic-design-patterns/original/Chapter 20_ Prioritization"},{"title":"Chapter 21 Exploration and Discovery","href":"/agentic-design-patterns/original/Chapter 21_ Exploration and Discovery"}]},{"group":"Appendices","pages":[{"title":"Appendix A Advanced Prompting Techniques","href":"/agentic-design-patterns/original/Appendix A_ Advanced Prompting Techniques"},{"title":"Appendix B AI Agentic Interactions From GUI to Real world environment","href":"/agentic-design-patterns/original/Appendix B - AI Agentic Interactions_ From GUI to Real world environment"},{"title":"Appendix C Quick overview of Agentic Frameworks","href":"/agentic-design-patterns/original/Appendix C - Quick overview of Agentic Frameworks"},{"title":"Appendix D Building an Agent with AgentSpace (on line only)","href":"/agentic-design-patterns/original/Appendix D - Building an Agent with AgentSpace (on-line only)"},{"title":"Appendix E AI Agents on the CLI","href":"/agentic-design-patterns/original/Appendix E - AI Agents on the CLI"},{"title":"Appendix F Under the Hood An Inside Look at the Agents' Reasoning Engines","href":"/agentic-design-patterns/original/Appendix F - Under the Hood_ An Inside Look at the Agents' Reasoning Engines"},{"title":"Appendix G Coding agents","href":"/agentic-design-patterns/original/Appendix G - Coding agents"}]},{"group":"Reference","pages":[{"title":"Conclusion","href":"/agentic-design-patterns/original/Conclusion"},{"title":"Glossary","href":"/agentic-design-patterns/original/Glossary"},{"title":"Index of Terms","href":"/agentic-design-patterns/original/Index of Terms"},{"title":"Online contribution Frequently Asked Questions Agentic Design Patterns","href":"/agentic-design-patterns/original/Online contribution - Frequently Asked Questions_ Agentic Design Patterns"}]}]}]}]},"basePath":"","title":"Complete Command Reference - OpenClaw docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}