agentleFS
craigcossairtcraigcossairt/trellis/.claude/skills/setup/SKILL.md

setup

Skill4 starsChanged 2 months agoMITView on GitHub

Walk a new project through setting up this template - interview the owner, fill in the context files, wire the safety rails, and verify it worked. Use when asked to "set up trellis", "set up this template", "walk me through SETUP.md", "help me get started", "configure this project", "initialise the template".

  • Reads credentials

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 173 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask the two calibration questions below.

    line 18
  2. Very specific:

    Ask both of these together using the available question tool (or in conversation if the tool has none), before reading SETUP.md or touching …

    line 28
  3. Very specific:

    Ask, then write: Never leave a <!-- FILL IN --> for them to find later.

    line 50
  4. Distinctive:

    Their answers are the source, not your inference: If they told you the stack, write that.

    line 59
  5. Very specific:

    A question you can answer yourself is not a question: Read the repo. If package.json names the framework, do not ask what the framework is.

    line 61
  6. Distinctive:

    Ask for them directly, in their language.

    line 92
  7. Distinctive:

    Always name the free tier and whether an account is needed.

    line 113
  8. Distinctive:

    Do not write a second one here - check that it exists, and if it got skipped, that is the moment to catch it rather than to duplicate it.

    line 129

“Common” is measured: kept by at least 6 in 10 of the 173 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Set this template up, by interview

SETUP.md is a checklist a person works through alone. This runs the same checklist as a conversation: you ask, they answer, you write the files.

SETUP.md is the script. Nothing below repeats its content, deliberately - a copy here would drift from the real checklist within one edit, and then two files would disagree about what setup is. This file only covers how to conduct it.

Order of operations, and it only goes this way round:

  1. Ask the two calibration questions below. Nothing else first.
  2. Read SETUP.md.
  3. Work its steps, in its order, as an interview.

Asking first is not a stylistic preference. Their answer decides how much you explain at every step after it, so reading the checklist first means drafting the whole conversation for a reader you have not met yet.

1. Before anything: two questions, then calibrate

Ask both of these together using the available question tool (or in conversation if the tool has none), before reading SETUP.md or touching any file. Do not depend on a tool name specific to one coding agent.

  1. How much have you built before? Offer: first real project / I code, new to working with an agent / I do this for a living.
  2. What are you making, in a sentence?

Their first answer sets your verbosity for the whole session, and this is the main thing the skill exists to get right:

They saidHow to talk for the rest of setup
First real projectExplain what each thing IS before asking about it, in one or two plain sentences. No jargon without a gloss. Say why a step matters and what breaks without it. Offer a sensible default for every question so they can say "that one".
New to agentsAssume the engineering, explain the agent-specific parts: what a hook is and when it fires, why context files beat re-explaining every session, what a skill is.
ProfessionalTerse. Ask, take the answer, move on. Skip the rationale unless they ask or unless a choice is genuinely non-obvious.

Whatever they said, never make them read a file to answer a question. You have read it; put the choice to them in their own terms.

2. How to run each step

  • Ask, then write. Never leave a <!-- FILL IN --> for them to find later. The whole point is that they finish this conversation with the files filled.
  • Batch related questions into one question-tool call or message. A separate round trip per field is how a five-minute step becomes twenty.
  • Recommend, do not present a menu. Lead with the option you would pick and say why in a clause. "Menu with no recommendation" is the failure mode that makes a beginner guess.
  • One step at a time, in SETUP.md order. Say which step you are on and roughly how far in they are. Let them stop and resume.
  • Their answers are the source, not your inference. If they told you the stack, write that. Do not upgrade it to what you would have chosen.
  • A question you can answer yourself is not a question. Read the repo. If package.json names the framework, do not ask what the framework is; confirm it in passing.

The things you must not do

  • Never put a real secret in a file. You may create .env from .env.example and name the variables. The values are theirs to paste, and you say so. This is not a formality: the sensitive-file hook exists to stop an agent writing there, and setup is not an exemption.
  • Never run bin/trellis-manifest.sh --write. It records this project's tree as though the template had shipped it, which makes their own files show up as template files on every later sync. It now refuses to run here, and you should not reach for --force to get around it.
  • Never write .trellis/baseline. Nothing reads it, and the sync tool deliberately removed support: with whole-file updates, a "baseline" would make everything they fill in during setup classify as safe for the template to overwrite. Their filled-in AGENTS.md should read as theirs, which is what happens when no baseline exists.
  • Never delete a file they have not agreed to delete. Step 5 of SETUP.md is a list of things they may remove. Ask per item, and take silence as keep.
  • Do not install anything without asking, and name what it costs - money, an account, or a background process.

Filling AGENTS.md

This is the step that pays for the whole session, and the one most likely to be rushed. The <!-- FILL IN --> markers are the required set, but they are the floor. What makes the file worth having is the part no marker asks for: the two or three conventions this project has that the next session could not guess.

Ask for them directly, in their language. "Is there anything about this project that has already bitten you, or that you would have to explain to a new person on day one?" Whatever comes back goes in. If nothing comes back, that is a fine answer on day one - leave it and say /learn will fill it as they go.

For the model-tier table, ask which model families they actually have access to and fill in the family or alias their tool takes (e.g. haiku, sonnet, opus), never a version. A table naming a model they cannot call is worse than an empty one.

Tooling and services

docs/recommended-tooling.md is the catalogue. Read it; do not recite it. Filter to their project from their one-sentence answer, and to their level:

  • First project: the two or three things that prevent real pain, with what each one is for. A long list is how someone ends up with five accounts and no project.
  • Experienced: the catalogue's own overlap-and-collision section matters more than the recommendations. Say what would collide with what they already run.

Always name the free tier and whether an account is needed. Never sign them up for anything.

Finish by proving it works

SETUP.md ends with checks. Run them rather than describing them, and report what actually happened.

For a tool with edit hooks, use a disposable .env containing only dummy values and exercise the guarded edit tool. Check the hook's actual blocking verdict; an agent refusing in prose does not prove that a hook ran. Never use real credentials for this check. Report missing activation or a failed block and fix it before claiming that protection works. For an adapter without edit hooks, report that limitation and verify the Git gate separately.

SETUP.md step 2 already had them write the first docs/decision-log.md entry. Do not write a second one here - check that it exists, and if it got skipped, that is the moment to catch it rather than to duplicate it.

Last

Tell them three things, briefly:

  1. What you filled in, and where it lives.
  2. What you deliberately left empty, and what fills it (/learn after a bug, the decision log as they go).
  3. That the template can be re-synced later with /trellis-sync, and that their edits are protected because the manifest records what the template shipped.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.