← Files TrellisARCHIVED FILE
README.md
8.36 KB · Dec 1, 2026 · 06:14 UTC
# Trellis
**Keep the guidance agents need close to the work they do.**
Trellis keeps the working method for an area of work in a handbook beside that work. The area's files hold its drafts, notes, plans, and records; its handbook, the `handbook/` folder inside the area, holds how that work is approached, carried out, and reviewed. A handbook helps the next contributor or agent find the methods a task depends on, understand what to check, and judge what the evidence supports. As work exposes recurring problems, you can refine that guidance for future tasks.
A handbook holds three kinds of guidance:
- **Practices:** guidance for approaching work and making recurring decisions consistently.
- **Checks:** expectations to assess whenever they apply, with guidance on how to verify them.
- **Playbooks:** instructions for recurring tasks, including when to use them, the decisions involved, and how to check the result, with any starter files and scripts the task uses.
Trellis provides two skills, sets of instructions that your agent follows:
| Skill | Use it to |
| --- | --- |
| [Shape Handbook](skills/shape-handbook/SKILL.md) (`shape-handbook`) | Set up, adopt, change, or review a handbook, keeping its contents consistent. |
| [Learn From Work](skills/learn-from-work/SKILL.md) (`learn-from-work`) | Examine experience you select and propose handbook improvements for you to choose. |
## Using the skills
Use your agent host's skill selector or normal invocation syntax. Namespaces and command prefixes are host-specific; these are the portable skill names.
Each skill's `SKILL.md` is sufficient on its own. The methodology explains the method and the reasons for its rules, and each skill reads it before it acts. Each skill folder includes a complete copy of the methodology and the license, so both remain available when the skill is copied on its own.
Shape Handbook follows your requested outcome. A request to review returns findings and changes nothing. A request to create or improve authorizes the corresponding handbook changes, and you can ask for an improvement without deciding which kinds of guidance it needs. A Playbook is created only when you ask to preserve that procedure or choose a proposal that contains it. Asking for a template, such as an outline for status updates, is such a request: the result is a Playbook that explains when and how to use the template, with the starter file inside.
Learn From Work returns proposals you can choose, edit, or ignore. A lesson may fit a Practice, a Check, a Playbook, or a refinement of existing guidance. The skill uses the current conversation, specific sessions you select, or accounts of work and files you explicitly supply. It never searches unselected history, writes files, or invokes Shape Handbook: it returns each proposal as a request you can edit, and you choose a proposal by giving that request to Shape Handbook.
Both skills inspect the selected material before asking questions. They ask when your answer would change a working rule or proposed lesson: for example, whether an unconfirmed date may appear in a client update. You supply missing local decisions and context; the skills handle analysis, organization, and the requested result. Clear requests need no interview. An unknown answer stays an explicit limitation.
After a write, Shape Handbook reports first what remains for you to do, then what changed, what it checked and what it did not, and where it acted. When it has written nothing because it needs your answer, it says so first. Learn From Work explains what could change next time, why, and what remains uncertain, then supplies proposals you can choose. Neither promises a new file or lesson when existing guidance already serves the need.
For example:
- “Help a teammate pick up this project without another briefing. Put the working guidance they need in a handbook.”
- “Help us catch unclear claims before sharing client updates. Add guidance and checks to this folder’s handbook.”
- “Help the next organizer prepare a workshop without missed arrangements. Save our preparation routine as a playbook.”
- “Help contributors find the guidance that applies to their work. Review these handbooks for confusing or conflicting advice.”
- “Learn from these review notes so we can avoid the same rework. Suggest handbook improvements for me to choose.”
## Start with an area
Ask Shape Handbook to set up a handbook for the workspace, the project folder you are working in, or for a particular area of it:
> Set up a handbook for research/. Use this project folder as the workspace.
The skill creates `research/handbook/README.md` and only the additional folders the request needs. It returns a short passage for `AGENTS.md`, the instruction file agents read in a project, pointing agents to the handbook; it never edits that file. If the project has no established pointer to the handbook, adding the returned passage is your remaining step for helping future agents find it. If your agent reads a different instruction file instead (ask it which file it reads), add a line there such as “Read `AGENTS.md` and follow it.” A usable handbook, a discovery route, and observed successful use are separate accomplishments.
You can include specific Practices or Checks in the same request when their purpose is clear. Different areas can maintain their own handbooks and reference shared Practices.
Every handbook's README explains how to use the available guidance. People and agents can use it without Trellis installed: start with the README, follow the material relevant to the task, and perform the applicable Checks. Their ordinary task permissions still apply.
## What a handbook contains
```text
research/handbook/
README.md
practices/
checks/
playbooks/
summarize-research/
playbook-summarize-research.md
scripts/ optional
references/ optional
assets/ optional
```
A handbook can be useful with only some of these; an empty category needs no filler.
Checks apply even when no Playbook exists. Reading a Check does not perform its verification. Completing a starter's headings does not establish substantive quality. Review the resulting meaning and keep unresolved questions explicit.
## File and execution boundaries
Trellis writes only inside the selected handbook. A review writes nothing unless you also ask for fixes or a saved report, and Learn From Work never writes. The skills may read the surrounding work to understand its method, but recommend needed changes outside the handbook instead of applying them. Your existing request authorizes the corresponding handbook edits; the skills ask only about unresolved choices that materially affect scope, meaning, or effects.
A recommendation does not authorize its own adoption. Creating a Playbook does not carry it out. During ordinary work, you and your agents apply the handbook within what that task is already permitted to do.
Scripts are optional and live with their Playbook, in any suitable language. The Playbook lists each in a scripts table with its command, what it reads and writes, and its modes. By default, a script written by Shape Handbook only inspects and reports; it writes only when run with an explicit flag that asks for the change. Its effects stay inside the workspace unless the Playbook declares what else it reaches, such as another folder or a web service, and a declaration grants nothing: the task that runs the script must already be allowed that reach. Before a script runs, read its row in the Playbook's scripts table and run it first without its write flag, so that it only reports; a script Shape Handbook did not write or change may have no row and may write without any flag, so treat it as one that writes. If you are not sure your agent is limited to the workspace, treat it as not limited: do not let it run a script in its write mode, or one that reaches outside. Run a script in its write mode only where your agent host limits it to the workspace, and one that reaches outside only in a task that is allowed that reach; a folder location or a path check is not a sandbox.
No Trellis runtime, service, account, or dependency installation is required for text-only use.
Read the [methodology](METHODOLOGY.md) for the reasoning, the [contract](CONTRACT.md) for the exact specification, and [privacy](PRIVACY.md) and [terms](TERMS.md) for the package's data and distribution policies.
SHA-256: c9ededdf6487661e664d0a6645586a25ec0dae207eff6103ffbaf0cdb9d61efb