trellis-meta
◉ 12.9k↓ 12.9k↺ 2026.07.20@mindfold-ai/trellis-meta理解并定制用户项目内的 Trellis 架构:.trellis、平台 hooks、agents、skills、channel 与 mem。
| name | trellis-meta |
|---|---|
| description | 理解并定制用户项目内的 Trellis 架构:.trellis、平台 hooks、agents、skills、channel 与 mem。 |
本地架构与定制
trellis-meta
理解并定制用户项目内的 Trellis 架构:.trellis、平台 hooks、agents、skills、channel 与 mem。
核心说明
以下为上游 SKILL.md 摘要(英文原文结构保留要点):
Trellis Meta
This skill is for local Trellis users who have already run trellis init in a project. After reading it, an AI should understand the Trellis architecture, operating model, and customization entry points inside that user project, then modify the generated .trellis/ and platform directory files according to the user's request.
Trellis v0.6 adds three architectural surfaces on top of the pre-v0.6 workflow / persistence / platform model. First, a multi-agent collaboration runtime: trellis channel coordinates multiple AI worker processes through project-scoped JSONL event logs at ~/.trellis/channels/<project>/<channel>/events.jsonl, with worker OOM guard, forum/thread channels, durable idempotency keys, and bundled .trellis/agents/{check,implement}.md runtime definitions. Second, cross-session memory: trellis mem list | search | context | extract | projects reads raw Claude Code, Codex, and Pi Agent JSONL already on disk, slices by --phase brainstorm|implement|all, and never uploads anything. Third, a dual-package npm release: @mindfoldhq/trellis (CLI) and @mindfoldhq/trellis-core (SDK with /channel, /task, /mem, /testing subpaths) ship in lockstep on one version. Treat these as first-class customization surfaces alongside the per-platform integration files.
The default operating scope is local files in the user project:
.trellis/: workflow, config, tasks, spec, workspace, scripts, bundled runtime agents, and runtime state.- Platform directories:
.claude/,.codex/,.cursor/,.opencode/,.kiro/,.gemini/,.qoder/,.codebuddy/,.github/,.factory/,.pi/,.reasonix/,.kilocode/,.agent/,.devin/, and similar directories. Pi additionally exposes a nativetrellis_subagenttool withsingle/ `parall
安装
随 Trellis 一并分发。执行 trellis init 后可在 .agents/skills/trellis-meta/(及各平台 skill 目录)使用。
npm install -g @mindfoldhq/trellis@latest
trellis init -u your-name