trellis-start
它能做什么
该技能在会话开始时加载当前的项目背景。适合希望 AI 从正确的规则和任务状态开始工作的开发者。
适用场景
- ✓当你在一个 Trellis 项目中开始新的编码会话的时候。
- ✓当你回到一个项目,需要重新建立其背景的时候。
- ✓当你即将开始一项新任务,需要智能体对其进行分类的时候。
技能链接
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-start/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为这个项目开始一次会话,并告诉我哪个任务处于活动状态,以及适用哪些规则。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会运行 Trellis 的上下文命令,阅读精简的工作流概览和指南索引,然后决定下一步,例如为新任务进行头脑风暴,或继续进行中的任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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+ noprd.md→ Phase 1.1. Load thetrellis-brainstormskill. - Active task status
planning+prd.mdexists → stay in Phase 1. Lightweight tasks can be PRD-only; complex tasks needdesign.md+implement.md. Load the relevant Phase 1 step detail beforetask.py start. - Active task status
in_progress→ Phase 2 step 2.1. Load the step detail:python3 ./.trellis/scripts/get_context.py --mode phase --step 2.1 --platform codex - No active task → classify first. For simple conversation / small task, ask only whether this turn should create a Trellis task. For complex work, ask whether you may create a Trellis task and enter planning. If the user says no, skip Trellis for this session.
Skill routing (quick reference)
| 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.
常见问题
它首先显示什么?
你的身份、git 状态、当前任务、活动任务,以及日记的保存位置。
它会自动开始编码吗?
不会。它决定下一步,任务只有在你确认后才会开始。
为什么在某些平台上需要它?
有些平台没有会话开始钩子,因此该技能需要手动加载相同的上下文。
详情
作者的原始描述
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.
repo: mindfold-ai/Trellis
热度
- GitHub 星标
- 15k
- 排名
- #11034
- 许可证
- AGPL-3.0
- 更新时间
- 2026/9/29
评论
- …
同一仓库的更多技能
first-principles-thinking
15k帮你的智能体把计划或设计拆解为基本事实,再由此向上推理来检验它,而不是依赖习惯或惯例。
python-design
15k帮你的智能体编写和审阅 Python 命令行脚本,使其模块清晰、接口简单,并减少隐藏的复杂性。
trellis-before-dev
15k帮你的智能体在开始编写代码之前,阅读项目的编码指南和任务说明,使其遵循团队的惯例。
trellis-brainstorm
15k帮你的智能体每次提出一个有价值的问题、检查代码并就狭窄的范围达成一致,从而厘清新功能或不明确的任务。