General
Why Trellis instead of Skills?
Why Trellis instead of Skills?
Skills are optional — the AI might skip them, leading to inconsistent quality. Trellis enforces
specifications through injection. Every session gets the specs whether the AI “feels like it” or
not.
Do I write spec files manually or let AI create them?
Do I write spec files manually or let AI create them?
AI typically generates specs from your instructions. But you should contribute when you have
architectural insights that AI can’t figure out on its own — things like “we always use this error
format because of X legacy reason” or “this pattern exists because of Y constraint.”
How is this different from CLAUDE.md / AGENTS.md / .cursorrules?
How is this different from CLAUDE.md / AGENTS.md / .cursorrules?
Those formats load all content every time. If you have 50 pages of specs, every session reads all 50 pages.Trellis uses layered architecture with context compression. JSONL files specify which specs to load for which task. Your auth feature loads auth specs. Your UI component loads frontend specs. Less noise, more signal.
Will multiple people conflict?
Will multiple people conflict?
No. Each team member has an isolated workspace at
.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?
Use
/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?
The core systems (specs, tasks, workspace) work. You read spec files and follow them.Hooks: Cursor now supports hooks natively, but Trellis hasn’t implemented Cursor hook support yet (planned for future). For now, you’ll need to manually reference spec files at session start.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?
Short enough to skim in 30 seconds. If it takes longer, split into multiple files.The AI reads the whole spec but pays less attention to each part when specs are long.
My spec isn't being followed. What's wrong?
My spec isn't being followed. What's wrong?
Common causes:
- 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?
Yes. Documentation style, commit message format, PR templates, API design patterns — anything you
want consistent.
Tasks & Workspace
Do I need tasks for everything?
Do I need tasks for everything?
No. Tasks help when you need tracking and context isolation. Quick fixes don’t need a task.
Multi-day features benefit from one.
What if I forget to set the current task?
What if I forget to set the current task?
Session runs without task-specific context. Specs still load from defaults, but the AI won’t know your PRD or task-specific files.For task-specific work, use
/trellis:start to begin a session.How do JSONL context files work?
How do JSONL context files work?
Each line specifies a file to include:Different agents get different files. Implement agent might need more context than check agent.
Multi-agent
How many agents can run at once?
How many agents can run at once?
No hard limit, but practically:
- 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?
Depends on the mode:
- 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 works in the background. No UI changes.Verify:
.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
Several possible causes:
- 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?
Update the CLI:Then update your project:This only touches unmodified files. Your customizations stay intact. A timestamped backup is created automatically at This executes file migrations — renames and deletes old files to match the new structure. Modified files prompt for confirmation before migrating.
.trellis/.backup-{timestamp}/ before any changes.When there are breaking changes (like directory restructuring), run with --migrate: