Skip to main content

Appendix B: Complete Command Cheat Sheet

Slash Commands

Every command below is available on all 14 supported platforms in 0.4.0 GA. The invocation syntax varies per platform (see the next subsection); semantics are identical.
CommandCategoryDescription
startSessionStart development session
parallelSessionMulti-Agent parallel orchestration (Claude Code only — other platforms have no equivalent)
record-sessionSessionRecord session history
onboardSessionNew team member onboarding
before-devPrepDevelopment prep (loads spec layer)
checkQualityCode check
check-cross-layerQualityCross-layer consistency check
finish-workQualityPre-commit finish checklist
brainstormKnowledgeBrainstorming / requirements
break-loopKnowledgeDeep bug analysis
update-specKnowledgeUpdate code-spec
create-commandExtensionCreate custom command
integrate-skillExtensionIntegrate external Skill
That’s 13 commands total. Claude Code / OpenCode / iFlow / Kilo / Factory Droid ship all 13. Other platforms ship 12 (no parallel).

Per-platform Invocation

PlatformInvocation example (for start)Delivery form
Claude Code/trellis:startSlash command under .claude/commands/trellis/
Cursor/trellis-startFlat-named slash command under .cursor/commands/
OpenCode/trellis:startSlash command under .opencode/commands/trellis/
Codex$startSlash prompt; AGENTS.md + .codex/agents/*.toml provide base context
iFlow/trellis:startSlash command under .iflow/commands/trellis/
Gemini CLI/trellis:startTOML command file under .gemini/commands/trellis/
Kilo Code/start.mdWorkflow file under .kilocode/workflows/
Kiro(skill picker) startAgent Skill under .kiro/skills/start/SKILL.md — auto-match or pick from skill list
Qoder(skill picker) startAgent Skill under .qoder/skills/start/SKILL.md — Qoder’s native Custom Commands are left for your own use
GitHub CopilotRun Prompt → trellis-startPrompt file under .github/prompts/trellis-start.prompt.md; always-on prelude via .github/copilot-instructions.md
WindsurfWorkflow picker → trellis-startWorkflow file under .windsurf/workflows/trellis-start.md; always-on rule via .windsurf/rules/trellis.md
CodeBuddy/trellis:startSlash command under .codebuddy/commands/trellis/
AntigravityWorkflow picker → startWorkflow file under .agent/workflows/start.md
Factory Droid/trellis:startSlash command under .factory/commands/trellis/

task.py Subcommands

SubcommandDescriptionUsage
createCreate tasktask.py create "title" [--slug name] [-a assignee] [-p priority]
init-contextInitialize JSONLtask.py init-context "$DIR" <dev_type> [--platform]
add-contextAdd context entrytask.py add-context "$DIR" <target> "<path>" "<reason>"
validateValidate JSONLtask.py validate "$DIR"
list-contextView all entriestask.py list-context "$DIR"
startSet as current tasktask.py start "$DIR"
finishClear current tasktask.py finish
set-branchSet branch nametask.py set-branch "$DIR" "feature/xxx"
set-base-branchSet PR target branchtask.py set-base-branch "$DIR" "main"
set-scopeSet scopetask.py set-scope "$DIR" "auth"
create-prCreate PRtask.py create-pr
archiveArchive tasktask.py archive <name>
listList active taskstask.py list [--mine] [--status <s>]
list-archiveList archived taskstask.py list-archive [YYYY-MM]

Python Scripts

# Context management
./.trellis/scripts/get_context.py           # Get full context
./.trellis/scripts/get_context.py --json    # JSON format
./.trellis/scripts/get_developer.py         # Get developer identity

# Session recording
./.trellis/scripts/add_session.py --title "..." --commit "..." --summary "..."

# Multi-Agent
./.trellis/scripts/multi_agent/plan.py --name "..." --type "..." --requirement "..."
./.trellis/scripts/multi_agent/start.py "$TASK_DIR"
./.trellis/scripts/multi_agent/status.py [--log <name>] [--watch <name>]
./.trellis/scripts/multi_agent/cleanup.py <branch>
./.trellis/scripts/multi_agent/create_pr.py