跳到主要内容

trellis-start

12.9k12.9k2026.07.20

@mindfold-ai/trellis-start初始化 Trellis 开发会话:读取 workflow、开发者身份、git 状态、活跃任务与项目规范,并对新请求做分流。

开发工具开发者: Mindfold AI
技能元信息 · 译文
nametrellis-start
description初始化 Trellis 开发会话:读取 workflow、开发者身份、git 状态、活跃任务与项目规范,并对新请求做分流。

会话启动

trellis-start

初始化 Trellis 开发会话:读取 workflow、开发者身份、git 状态、活跃任务与项目规范,并对新请求做分流。

核心说明

以下为上游 SKILL.md 摘要(英文原文结构保留要点):

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.

python3 ./.trellis/scripts/get_context.py

If 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.

python3 ./.trellis/scripts/get_context.py --mode phase

Full guide in .trellis/workflow.md (read on demand).

Step 3: Guideline indexes

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 layer

Index 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: ```bash python3 ./.trellis/scripts/get_context.py --mode phase --step 2.1 --platform codex ```
  • No active task → classify first. For simple conversation

安装

随 Trellis 一并分发。执行 trellis init 后可在 .agents/skills/trellis-start/(及各平台 skill 目录)使用。

npm install -g @mindfoldhq/trellis@latest
trellis init -u your-name

来源:mindfold-ai/Trellis · .agents/skills/trellis-start