Trellis trellis-bootstrap
Initialize Trellis AI workflow system in a project. Use when user mentions "Trellis", "初始化 Trellis", "setup Trellis", "install Trellis", or wants to add AI-assisted development workflow to their project. This is a one-time setup skill.
git clone https://github.com/mindfold-ai/Trellis
T=$(mktemp -d) && git clone --depth=1 https://github.com/mindfold-ai/Trellis "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.trellis/tasks/archive/2026-01/01-19-readme-redesign-taosu/bootstrap-skill" ~/.claude/skills/mindfold-ai-trellis-trellis-bootstrap && rm -rf "$T"
.trellis/tasks/archive/2026-01/01-19-readme-redesign-taosu/bootstrap-skill/SKILL.mdTrellis Bootstrap
One-time setup for Trellis - the AI workflow system that helps your AI assistant remember project context across sessions.
What is Trellis?
Trellis provides:
- Structure - Store coding guidelines in
that AI follows.trellis/structure/ - Memory - Track session history in
.trellis/agent-traces/ - Automation - Slash commands like
,/start
,/parallel/finish-work
Prerequisites Check
Before starting, verify:
# Check Node.js (required: v18+) node --version # Check npm npm --version
If Node.js is not installed, ask the user to install it first.
Installation Steps
Step 1: Install Trellis CLI
npm install -g @mindfoldhq/trellis@latest
Verify installation:
trellis --version
Step 2: Get Developer Name
Ask the user for their name/username. This will be used for tracking their sessions.
Example question: "What name should I use for your developer profile? (e.g., your GitHub username)"
Step 3: Initialize in Project
Run in the project root:
trellis init -u <developer-name>
This creates:
.trellis/ ├── workflow.md # Start here ├── structure/ # Development guidelines │ ├── frontend/ │ └── backend/ ├── agent-traces/<name>/ # Your session history └── scripts/ # Automation scripts .claude/ ├── commands/ # 13 slash commands ├── agents/ # 6 agent definitions └── hooks/ # Automation hooks .cursor/ └── commands/ # 12 slash commands AGENTS.md # AI reads this first
Step 4: Verify Setup
# Check created files ls -la .trellis/ ls -la .claude/commands/
Post-Setup Instructions
Tell the user:
- Start using Trellis - Run
at the beginning of each session/start - Add guidelines - Edit files in
to customize AI behavior.trellis/structure/ - Track progress - Run
at the end of sessions/record-agent-flow
Quick Reference
| Command | When to Use |
|---|---|
| Beginning of every session |
| Complex features (multi-agent pipeline) |
| Before frontend coding |
| Before backend coding |
| Before committing |
| End of session |
Success Criteria
Setup is complete when:
-
shows version numbertrellis --version -
directory exists with.trellis/workflow.md -
contains slash command files.claude/commands/ -
exists in project rootAGENTS.md
After successful setup, this skill is no longer needed. The user should use
/start to begin working with Trellis.
Note: This is a bootstrap skill. Once Trellis is initialized, use the built-in
/start command instead of this skill.