跳到正文
Skillpedia
任务与项目15k · #11034

trellis-start

它能做什么

该技能在会话开始时加载当前的项目背景。适合希望 AI 从正确的规则和任务状态开始工作的开发者。

适用场景

  • ✓当你在一个 Trellis 项目中开始新的编码会话的时候。
  • ✓当你回到一个项目,需要重新建立其背景的时候。
  • ✓当你即将开始一项新任务,需要智能体对其进行分类的时候。

技能链接

https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-start/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-start/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 + 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:
    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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能