General
Looks useful but sounds complex. How do I actually get started?
Looks useful but sounds complex. How do I actually get started?
npm install -g @mindfoldhq/trellis@latest, then run trellis init in your project. That’s it — you’re ready to go.-
Claude Code / iFlow users — Open a new session and start working directly. The session start hook automatically injects everything the AI needs (Trellis workflow, recent git history, your latest journal entries, project context). Describe your requirements, the AI creates tasks, generates PRDs, loads relevant specs, and delegates to specialized agents (implement, check, etc.). After you verify the result, use
/trellis:record-sessionto save the journal. You can also run/trellis:startmanually to see the full workflow. -
OpenCode users — Similar to Claude Code. The session start plugin auto-injects context on your first message. Use
/trellis:startto begin, then follow the same workflow: describe needs → AI loads specs → work →/trellis:check-backendor/trellis:check-frontendto self-review →/trellis:record-sessionto save. For full multi-agent pipeline support, install the oh-my-opencode global plugin. -
Cursor users — Run
trellis init --cursorto set up. Cursor doesn’t support hooks yet, so manually trigger/trellis-startat the beginning of each session. The workflow is:/trellis-start→/trellis-before-backend-devor/trellis-before-frontend-devto load specs → do your work →/trellis-check-backendor/trellis-check-frontendto self-review →/trellis-record-sessionto save. Note: Cursor uses-instead of:in command names. -
Codex users — Codex uses skills (
$prefix) instead of slash commands. The workflow is:$start→$before-backend-devor$before-frontend-dev→ work →$check-backendor$check-frontend→$record-session. - Other tools (Trae, Windsurf, etc.) — You can manually create slash commands matching your IDE/CLI format, then follow the same workflow as Cursor.
How do I install? Global vs local? Version switching?
How do I install? Global vs local? Version switching?
npm install -g @mindfoldhq/trellis@latesttrellis update never overwrites .trellis/workspace/, .trellis/tasks/, .trellis/.developer, .trellis/spec/frontend/, .trellis/spec/backend/ — these paths are protected. Every update automatically creates a timestamped backup of all contents under .trellis/, .cursor/, .claude/ etc. in a .trellis/.backup-* directory. No need to worry about destructive updates.Why Trellis instead of Skills?
Why Trellis instead of Skills?
Do I write spec files manually or let AI create them?
Do I write spec files manually or let AI create them?
How is this different from CLAUDE.md / AGENTS.md / .cursorrules?
How is this different from CLAUDE.md / AGENTS.md / .cursorrules?
Will multiple people conflict?
Will multiple people conflict?
.trellis/workspace/{name}/. Your journals are yours. Your teammate’s journals are theirs.Specs are shared, which is the point — everyone follows the same conventions.How does AI remember previous conversations?
How does AI remember previous conversations?
/trellis:record-session to have AI write summaries to journal files. On the next session start, it reads recent journals and git info to restore context.It’s not magic memory. It’s explicit journaling. You control what gets remembered.Does Trellis work with Cursor?
Does Trellis work with Cursor?
trellis init --cursor to set up Cursor-specific commands.Trellis creates .cursor/commands/ with all slash commands (e.g., /trellis-start, /trellis-finish-work). Note that Cursor uses - instead of : in command names.Hooks: Cursor doesn’t support auto-injection hooks yet, so you need to manually trigger /trellis-start at the beginning of each session.Multi-Agent (same dir): Limited support, requires manual coordination.Multi-Session (worktree isolation): Not supported.Specs
How long should specs be?
How long should specs be?
My spec isn't being followed. What's wrong?
My spec isn't being followed. What's wrong?
- Too vague — “Use good error handling” means nothing. Add specific patterns with code examples.
- No examples — Show actual code. AI learns better from examples than descriptions.
- Outdated paths — If you reference files that don’t exist, the spec becomes confusing.
- Conflicting rules — Two specs say different things. Pick one.
Can specs cover non-code things?
Can specs cover non-code things?
Tasks & Workspace
Do I need tasks for everything?
Do I need tasks for everything?
What if I forget to set the current task?
What if I forget to set the current task?
/trellis:start to begin a session.How do JSONL context files work?
How do JSONL context files work?
Multi-agent
How many agents can run at once?
How many agents can run at once?
- API credits (each agent uses tokens)
- Your ability to review output
What if two agents modify the same file?
What if two agents modify the same file?
- Multi-Agent (same dir): Agents share the same directory and can conflict. Plan tasks to avoid file overlap.
- Multi-Session (worktree): Each agent works in an isolated Git worktree. No conflicts during development, resolve when merging PRs.
Troubleshooting
Installed Trellis but nothing seems different
Installed Trellis but nothing seems different
.trellis/directory exists.claude/settings.jsonhas hook configs- Start a session — specs should appear in context
AI is ignoring my specs
AI is ignoring my specs
- Specs not loaded: Check file paths in
.trellis/spec/and JSONL context files - Context too long: AI may “forget” specs in long conversations. Start fresh session or remind it
- Spec clarity: More specific specs work better than vague ones
How do I upgrade?
How do I upgrade?
.trellis/workspace/, .trellis/tasks/, .trellis/.developer, .trellis/spec/frontend/, .trellis/spec/backend/.Automatic backups: Every update creates a timestamped backup of .trellis/, .cursor/, .claude/ etc. at .trellis/.backup-* before any changes. No risk of destructive updates.When there are breaking changes (like directory restructuring), run with --migrate: