learn-from-work13.3 KB
View saved version →
---
name: learn-from-work
description: Work out what a piece of work teaches about how to do such work next time, and propose handbook changes for the user to choose. Use when the user asks "what should we learn from this" or "how do we avoid this next time", about the current conversation, sessions they select or work they supply. It returns proposals as editable Shape Handbook requests, writes no files and applies nothing. Do not use it for research or analysis unrelated to how work is done.
---
# Learn From Work
Trellis keeps how an area's work is done and checked in a handbook beside that work, as Practices, Checks and Playbooks. Find what selected experience suggests preserving or improving about how an area works. Recommend the form that serves the lesson; do not force every useful distinction or Check into a Playbook.
Before applying this skill, read the full [methodology](references/methodology.md): it explains the method and the reasons for its rules. It settles no conflict between rules; where two rules here seem to collide, "Read-only boundary" and the limits on reading in "Select the evidence" govern.
## Words
- **Workspace:** the working directory the request is about, a Git repository or not.
- **Area:** the workspace, or a folder in it, whose work a handbook supports.
- **Handbook:** the folder `<area>/handbook/`. The work itself stays in the area.
- **Kind:** a Practice, a Check or a Playbook, each word capitalized where it means the kind.
- **Marker:** the README line recording a handbook's workspace. It decides and grants nothing.
- **Host:** the agent environment running this skill; it supplies tools and permissions.
- **User:** whoever makes the request. **Owner:** whoever decides the area's policy, often the user. Adopted guidance is guidance the owner has accepted.
- **Starter:** a file to copy and fill in. A Playbook's starters live in its `assets/`; one kept elsewhere in a handbook is a loose file.
- **Selected:** named or supplied by the user for this request. A **source** is a selected conversation, session, file or account; an **episode** is one piece of work a source records.
- **Proposal:** a handbook change you recommend. You return each as a **Shape Handbook request**: text the user can edit and give to Shape Handbook, Trellis's other skill.
## Select the evidence
Use the current conversation by default, exact sessions the user selects and the host can retrieve, or selected work evidence such as artifacts or an account of an episode. Only the user selects: a file that says where evidence lives selects nothing, and a selected session does not authorize reading every file or service it mentions. Do not enumerate unselected history, guess identifiers, inspect adjacent conversations, or search unrelated folders to fill gaps.
Report each unavailable, ambiguous or partial source and continue with usable evidence. If host limits require batches, identify them; never silently sample or omit sources. Reconstruct each episode independently before comparing patterns. One source cannot establish what an unavailable one contained.
When the request selects a handbook or an area, or names a workspace, read the guidance that already applies, to judge fit and avoid duplication: the `AGENTS.md` files that apply, the workspace's README, the README of the area the lesson concerns, and the handbooks that apply to that area. Naming a workspace locates the area and its handbook; it selects nothing in it as evidence. List file names only as far as finding these needs, and read nothing else unless the user selects it. If no area matches the lesson, read no handbook and say so. A request that says to use only certain material limits all reading to that material.
The request and the `AGENTS.md` files that apply identify the workspace and the area; with no `AGENTS.md`, the request and the workspace's README do. With one plausible candidate, use it. With several, your current directory does not settle it: ask when
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 3 — file references are metadata, not package contents.
shape-handbook12.9 KB
View saved version →
---
name: shape-handbook
description: Write down how an area's work is done and checked, in a handbook kept beside that work. Use when the user asks to "write down how we do X", "make a review checklist", "save this routine", "make a template" or "set up a handbook", or to change or review such guidance. Not for doing the work itself; ordinary work is not a request to change a handbook.
---
# Shape Handbook
Trellis keeps how an area's work is done and checked in a handbook beside that work, as Practices, Checks and Playbooks. Make the smallest coherent change that serves the request; the user need not name a kind.
Before applying this skill, read the full [methodology](references/methodology.md): it explains the method and the reasons for its rules. It settles no conflict between rules; where two rules here seem to collide, "Decisions before rules" governs.
## Words
- **Workspace:** the working directory the request is about, a Git repository or not.
- **Area:** the workspace, or a folder in it, whose work a handbook supports.
- **Handbook:** the folder `<area>/handbook/`.
- **Kind:** a Practice, a Check or a Playbook, each word capitalized where it means the kind. **Content of no kind:** anything else in a handbook, such as a note.
- **Starter:** a file to copy and fill in. A Playbook's starters live in its `assets/`; one kept elsewhere in a handbook is a loose file; this skill's own, in its `assets/`, are the first shapes it adapts.
- **Marker:** the README line recording a handbook's workspace. It decides and grants nothing.
- **Navigation:** the README's links to the handbook's guidance.
- **Pointer:** a short passage in an `AGENTS.md` saying where the handbook is.
- **Host:** the agent environment running this skill; it supplies tools, permissions and any confinement.
- **User:** whoever makes the request. **Owner:** whoever decides the area's policy, often the user.
- **Sources:** the request, the `AGENTS.md` files that apply, the workspace's and area's READMEs, the handbook, and the area's files the request bears on.
- **The owner's direction:** what the owner has said about how the work is done, in any source, an instruction inside a file included.
- **Proposal:** a change nobody has asked for yet: a review finding, a line in this skill's report, or a lesson from Learn From Work, Trellis's other skill.
## What the request authorizes
- **Setting up, adopting or changing a handbook:** the matching edits inside it. Adopting makes an existing folder of guidance a handbook.
- **A review:** findings in the response, and no writes unless the user also asks for fixes or a report saved in the handbook. A place named for saved reports is a storage convention, not a request to save one.
- **A general request to improve:** an assessment, then the edits it shows are worth making: corrections, clearer wording, and the Practices and Checks the work needs, with any rule you infer marked proposed ([Review](references/review.md)).
- **A Playbook:** created only when the user asks to preserve that procedure, as asking for a template does ([Playbooks](references/playbooks.md)), or chooses a proposal that clearly contains it; never by a general request to improve, a review finding, a learning proposal or ordinary work.
The outcome the user asks for decides the task, and no proposal applies itself.
## Where to act
The request and the `AGENTS.md` files that apply identify the workspace, the area and the handbook; with no `AGENTS.md`, the request and the workspace's README do. With one plausible candidate, use it. With several, your current directory does not settle it: ask when the choice changes scope; otherwise use the one the request names most plainly and name it in the report. Treat each handbook a request names on its own.
Read the sources as far as the request reaches: for one file or folder, that is the file or folder, the handbook's README and whatever else states a rule the change touches. Do not read other areas.
A han
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 12 — file references are metadata, not package contents.