/start
Initialize a Trellis-managed development session. This platform has no session-start hook, so manually load the equivalent compact context by following these steps.
$ npx -y skills add mindfold-ai/trellis --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/start
Context preview
What this command does when you run it.
Initialize a Trellis-managed development session. This platform has no session-start hook, so manually load the equivalent compact context by following these steps.
Command definition
start.mdStart Session
Initialize a Trellis-managed development session. This platform has no session-start hook, so manually load the equivalent compact context by following these steps.
---
Step 1: Current state
Identity, git status, current task, active tasks, journal location.
{{PYTHON_CMD}} ./.trellis/scripts/get_context.pyIf this output includes a line beginning `Trellis update available:`, copy the full line verbatim when summarizing session context. Do not shorten operational command hints.
Step 2: Workflow overview
Compact Phase Index, request triage rules, planning artifact contract, and the step-detail command.
{{PYTHON_CMD}} ./.trellis/scripts/get_context.py --mode phaseFull guide in `.trellis/workflow.md` (read on demand).
Step 3: Guideline indexes
Discover packages + spec layers, then read each relevant index file.
{{PYTHON_CMD}} ./.trellis/scripts/get_context.py --mode packages
cat .trellis/spec/guides/index.md
cat .trellis/spec/<package>/<layer>/index.md # for each relevant layerIndex files list the specific guideline docs to read when you actually start coding.
Step 4: Decide next action
From Step 1 you know the current task and status. Check the task directory:
- **Active task status `planning` + no `prd.md`** → Phase 1.1. Load the `trellis-brainstorm` skill.
- **Active task status `planning` + `prd.md` exists** → stay in Phase 1. Lightweight tasks can be PRD-only; complex tasks need `design.md` + `implement.md`. Load the relevant Phase 1 step detail before `task.py start`.
- **Active task status `in_progress`** → Phase 2 step 2.1. Load the step detail:
{{PYTHON_CMD}} ./.trellis/scripts/get_context.py --mode phase --step 2.1 --platform {{CLI_FLAG}}- **No active task** → classify first. For simple conversation / small task, ask only whether this turn should create a Trellis task. For complex work, ask whether you may create a Trellis task and enter planning. If the user says no, skip Trellis for this session.
---
Skill routing (quick reference)
| User intent | Skill | |---|---| | New feature / unclear requirements | `trellis-brainstorm` | | About to write code | `trellis-before-dev` | | Done coding / quality check | `trellis-check` | | Stuck / fixed same bug multiple times | `trellis-break-loop` | | Learned something worth capturing | `trellis-update-spec` |
Full rules + anti-rationalization table in `.trellis/workflow.md`.
Read more
Start Session
Initialize a Trellis-managed development session. This platform has no session-start hook, so manually load the equivalent compact context by following these steps.
---
Step 1: Current state
Identity, git status, current task, active tasks, journal location.
{{PYTHON_CMD}} ./.trellis/scripts/get_context.pyIf this output includes a line beginning `Trellis update available:`, copy the full line verbatim when summarizing session context. Do not shorten operational command hints.
Step 2: Workflow overview
Compact Phase Index, request triage rules, planning artifact contract, and the step-detail command.
{{PYTHON_CMD}} ./.trellis/scripts/get_context.py --mode phaseFull guide in `.trellis/workflow.md` (read on demand).
Step 3: Guideline indexes
Discover packages + spec layers, then read each relevant index file.
{{PYTHON_CMD}} ./.trellis/scripts/get_context.py --mode packages
cat .trellis/spec/guides/index.md
cat .trellis/spec/<package>/<layer>/index.md # for each relevant layerIndex files list the specific guideline docs to read when you actually start coding.
Step 4: Decide next action
From Step 1 you know the current task and status. Check the task directory:
- **Active task status `planning` + no `prd.md`** → Phase 1.1. Load the `trellis-brainstorm` skill.
- **Active task status `planning` + `prd.md` exists** → stay in Phase 1. Lightweight tasks can be PRD-only; complex tasks need `design.md` + `implement.md`. Load the relevant Phase 1 step detail before `task.py start`.
- **Active task status `in_progress`** → Phase 2 step 2.1. Load the step detail:
{{PYTHON_CMD}} ./.trellis/scripts/get_context.py --mode phase --step 2.1 --platform {{CLI_FLAG}}- **No active task** → classify first. For simple conversation / small task, ask only whether this turn should create a Trellis task. For complex work, ask whether you may create a Trellis task and enter planning. If the user says no, skip Trellis for this session.
---
Skill routing (quick reference)
| User intent | Skill | |---|---| | New feature / unclear requirements | `trellis-brainstorm` | | About to write code | `trellis-before-dev` | | Done coding / quality check | `trellis-check` | | Stuck / fixed same bug multiple times | `trellis-break-loop` | | Learned something worth capturing | `trellis-update-spec` |
Full rules + anti-rationalization table in `.trellis/workflow.md`.
Repo: mindfold-ai/trellis
Other commands on trellis.
- /continue
Resume work on the current task — pick up at the right phase/step in `.trellis/workflow.md`.
Open command - /create-manifest
Create a migration manifest for a new patch, beta, rc, or minor release based on commits since the previous release.
Open command - /finish-work
Wrap up the current session: archive the active task (and any other completed-but-unarchived tasks the user wants to clean up) and record the session journal. Code commits are NOT done here — those happen in workflow Phase 3.4 before you invoke this command.
Open command - /improve-ut
Use this command to improve test coverage after code changes.
Open command - /publish-skill
Sync a marketplace skill to the documentation site. Creates skill detail pages (EN/ZH), updates the marketplace index, and updates docs.json navigation.
Open command

