Initializes an AI development session by reading workflow guides, developer identity, git status, active tasks, and project guidelines from .trellis/. Classifies incoming tasks and routes to brainstorm, direct edit, or task workflow. Use when beginning a new coding session, resuming work, starting a new task, or re-establishing project context.
Initialize a Trellis-managed development session. This platform has no session-start hook, so manually load the equivalent compact context by following these steps.
Identity, git status, current task, active tasks, journal location.
python3 ./.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.
Compact Phase Index, request triage rules, planning artifact contract, and the step-detail command.
python3 ./.trellis/scripts/get_context.py --mode phaseFull guide in .trellis/workflow.md (read on demand).
Discover packages + spec layers, then read each relevant index file.
python3 ./.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.
From Step 1 you know the current task and status. Check the task directory:
planning + no prd.md → Phase 1.1. Load the trellis-brainstorm skill.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.in_progress → Phase 2 step 2.1. Load the step detail:
python3 ./.trellis/scripts/get_context.py --mode phase --step 2.1 --platform codex| 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.
e77ae89
Also appears in
since Sep 10, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.