返回排行榜

mindfold-ai/Trellis

TypeScriptdocs.trytrellis.app

The best agent harness.

agentic-codingai-workflowcodexharnessclaudecode
Star 增长趋势
Star
12.9k
Forks
721
周增长
Issues
17
12.8k12.9k
26年1月26年3月26年5月26年7月
制品库npmnpm install trellis
README

Trellis Logo

An out-of-the-box engineering framework for AI coding.
AI writes code fast, but every session it starts from scratch — no memory of your project, your conventions, or your team's requirements. Trellis persists specs, tasks, and memory into your repo, so any coding agent works to your engineering standards.

简体中文DocsQuick StartSupported PlatformsUse Cases

npm version npm downloads license stars docs Discord open issues open PRs Ask DeepWiki Ask ChatGPT

Trellis workflow demo

Why Trellis?

Capability What it changes
Auto-injected specs Write conventions once in .trellis/spec/, then let Trellis inject the relevant context into each session instead of repeating yourself.
Task-centered workflow Keep PRDs, implementation context, review context, and task status in .trellis/tasks/ so AI work stays structured.
Project memory Journals in .trellis/workspace/ preserve what happened last time, so each new session starts with real context.
Team-shared standards Specs live in the repo, so one person's hard-won workflow or rule can benefit the whole team.
Multi-platform setup Bring the same Trellis structure to 17 AI coding platforms instead of rebuilding your workflow per tool.

Prerequisites:

  • Node.js >= 18
  • Python >= 3.9

Quick Start

# 1. Install Trellis
npm install -g @mindfoldhq/trellis@latest

# 2. Initialize in your repo
trellis init -u your-name

# 3. Or initialize with the platforms you actually use
trellis init --cursor --opencode --codex -u your-name

See the Quick Start and Supported Platforms guides for setup details.

How to Use

The workflow is simple:

  1. Describe what you want in natural language.
  2. Brainstorm with the AI one question at a time until the PRD is clear, then implementation begins.
  3. Let it run — the AI calls Trellis Implement and auto-checks the result against specs, lint, type-check, and tests.
  4. Type /trellis:finish-work when the work is done or the session context fills up. Trellis archives the task and updates journals.

How It Works

Trellis runs a 4-phase loop with auto-invoked skills and sub-agents:

  1. Plantrellis-brainstorm walks through requirements one question at a time and writes prd.md. Research-heavy items go to a trellis-research sub-agent. The result is curated specs + research files referenced from implement.jsonl / check.jsonl.
  2. Implement — a trellis-implement sub-agent writes code from the PRD with the curated context auto-injected, no git commit.
  3. Verify — a trellis-check sub-agent reviews the diff against specs and runs lint, type-check, and tests, self-fixing where it can.
  4. Finish — a final check runs, then trellis-update-spec promotes new learnings back into .trellis/spec/ so the next session starts smarter.

Resources

Need Link
Install Trellis in a repo Quick Start
Understand platform differences Supported Platforms
See the workflow in practice Real-World Scenarios
Start from spec templates Spec Templates
Track releases Changelog

FAQ

How is Trellis different from CLAUDE.md, AGENTS.md, or .cursorrules?

Those files are useful entry points, but they tend to become monolithic. Trellis adds scoped specs, task PRDs, workflow gates, workspace memory, and platform-aware generated files around them.

Is Trellis only for Claude Code?

No. Trellis is a project layer that works across multiple coding agents and IDEs.

Is Trellis for solo developers or teams?

Both. Solo developers use it for memory and repeatable workflow. Teams get the larger benefit: shared standards, task boundaries, reviewable context, and platform portability.

Do I have to write every spec file manually?

No. Many teams start by letting AI draft specs from existing code and then tighten the important parts by hand. Trellis works best when you keep the high-signal rules explicit and versioned.

Can teams use this without constant conflicts?

Yes. Personal workspace journals stay separate per developer, while shared specs and tasks stay in the repo where they can be reviewed and improved like any other project artifact.

Star History

Star History Chart

Community & Resources

Official RepositoryAGPL-3.0 License • Built by Mindfold

相关仓库
rtk-ai/rtk

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Rustcrates.ioApache License 2.0agentic-codingai-coding
rtk-ai.app
72.1k4.5k
shanraisshan/claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

HTMLMIT Licenseclaude-aiclaude-code
linkedin.com/in/shanraisshan
63.2k6.3k
hesreallyhim/awesome-claude-code

A hand-picked collection of the finest of resources for the most awesome of agents, Claude Code, the undisputed champion of coding companions, from the unstoppable team at Anthropic PBC. A delectable showcase of top tier skills, ambidextrous agents, scintillating status lines, top notch developer tooling, and also we have plugins

PythonPyPIOtheranthropicanthropic-claude
50.5k4.4k
Yeachan-Heo/oh-my-claudecode

Teams-first Multi-agent orchestration for Claude Code

TypeScriptnpmMIT Licenseagentic-codingai-agents
oh-my-claudecode.dev
37.9k3.4k
HKUDS/DeepCode

"DeepCode: Open Agentic Coding (Paper2Code & Text2Web & Text2Backend)"

PythonPyPIMIT Licenseagentic-codingllm-agent
arxiv.org/abs/2512.07921
16.1k2.1k
travisvn/awesome-claude-skills

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows — particularly Claude Code

awesomeawesome-list
14.2k1.7k
ykdojo/claude-code-tips

40+ tips for getting the most out of Claude Code, from basics to advanced - includes a custom status line script and Claude Code running itself in a container. Also includes the dx plugin: skills for everyday dev workflows.

HTMLOtheragenticagentic-ai
9.4k742
jnMetaCode/superpowers-zh

🦸 AI 编程超能力 · 中文增强版 — superpowers(116k+ ⭐)完整汉化 + 6 个中国原创 skills,让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI 等 16 款 AI 编程工具真正会干活

JavaScriptnpmMIT Licenseai-codingchinese
sp.aiolaola.com
7.1k683
FlorianBruniaux/claude-code-ultimate-guide

The most comprehensive Claude Code guide: agentic workflows, hooks, skills, MCP servers, quizzes, and production-ready templates. 430K+ lines.

PythonPyPICreative Commons Attribution Share Alike 4.0 Internationalagentic-codingai-assistant
cc.bruniaux.com
5.5k725
yvgude/lean-ctx

Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.

Rustcrates.ioApache License 2.0aicursor
leanctx.com
3.3k308
MARKTECHPOST-AI-MEDIA-INC/AI-Agents-Projects-Tutorials

Multi-agent systems, memory, planning, reasoning loops

Jupyter Notebookaiagentsagent-skills
marktechpost.com
2.8k612
teaql/teaql-agent-kit

Deterministic execution for non-deterministic AI.

PythonPyPIMIT Licenseai-codingteaql
teaql.io
2.8k957