agentleFS
FracteraFractera/web4-node-starter-kit/.claude/skills/before-a-build/SKILL.md

before-a-build

Skill69 starsChanged 14 days agoMITView on GitHub

Work skill for the main agent. Weigh a build before it starts — a core build (npm run serve:rebuild), a template release, a deploy you run in a task pipeline, or asking the owner to update a server: which cases the change touches and how each is proven, what else should ride in the same build, and whether to build now, later, or ask the architect first. Load it before every one of those, and when the owner says «опять побежал вперёд паровоза», «ты не протестировал», «сколько можно пересобирать».

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write it into the step's plan as a table before the build.

    line 19
  2. Very specific:

    Read the open substeps of the current step, BACKLOG.md and the defects found on the way: anything touching the same files or the same …

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Before a build — weigh it, then build once

The owner, 2026-11-22 (Telegram 856): «для пользователя критически важно решить задачу с минимальным расходом токенов и времени … перед запуском сборки обязательно нужно проанализировать а при необходимости и провести дополнительную консультацию с администратором или архитектором: важно понять будет ли оптимально сборку провести прямо сейчас или выгоднее её отложить чтобы добавить к задаче несколько дополнительных под шагов или Тестов». Paid for by 837-0b…0e: six server updates in one day, each «fixed» on the Mac and broken on the server, half the owner's working day on one screen.

A build is never a proof (CLAUDE.md §6) — and it is the most expensive moment of the work: a core build stops every agent, a server update takes the person's hands and minutes, a template release reaches elements of other nodes. So the thinking happens before it.

1. The case matrix — which cells the change touches

Write it into the step's plan as a table before the build; every touched cell gets a proof, an untouched one a word why.

PlaneWhat differs there
this computerthe owner at the machine passes gates a server refuses; no wall; no nginx
a serverthe wall per element (skill server-wall), nginx in front (fromInternet), next.config redirects before the proxy
Address of an elementWhat differs there
its cuid address (<cuid>.<zone>)the address it was born with — the registry, the wall record, nginx and the certificate all agree
a renamed address (<name>.<zone>)the folder, the wall user, nginx, the certificate and every saved link must follow the new name
its own domainanother zone: sign-in through the centre, its own certificate, cookies of another site
CallerWhat differs there
the person's browsera session, the page gate, cookies of that host
an element's keyed callloopback, its own X-Node-Key, no session, a POST over a redirect loses its body
the internetcf-* or x-fractera-edge: no key is honoured
Element's lifeWhat differs there
just bornno sessions yet: its Claude folders are empty
after its agent's first sessionclaude made projects/, sessions/ 0700 as fe-<id> — the node cannot list them (✗ 2026-11-22: the core build died on them; fixed by 839-3 — the build opens them first)
deletedits wall user and record are gone — a check of its wall proves nothing (✗ 2026-11-22 17:20)

2. Prove before the build what can be proven before it

  • Tests with a negative control for each touched cell (use-testing); a routing rule — on a scratch app, never in the core root (server-wall §6.3, every command behind the pwd -P check).
  • The live address: curl -s -o /dev/null -D - the exact path on the live server and follow every redirect — the rule must match what the gate really sees.
  • What only the live server can prove is named in the plan as «after the update», with the exact check and who presses what.

3. Batch — what else rides in this build

  • Read the open substeps of the current step, BACKLOG.md and the defects found on the way: anything touching the same files or the same surface goes into this build, with its own test.
  • Small edits wait for one build at the end of the queue (memory «ask before a core build»); a release carries every change of its template that is ready.

4. Now, later, or ask

  • Now — the person waits on a live fix, every touched cell is proven or named, nothing ready waits to ride along.
  • Later — more substeps or tests are due in the same surface: finish them first, then one build.
  • Ask the architect (or the administrator of that element) — only when the choice is theirs: the wait costs them, a server update needs their hands, money or a publication rides on it. One message: the matrix in words, what is proven, what only the live server shows, and your pick with why.

5. After the build

The same matrix, cell by cell, on the live surface (npm run eyes, the Claude in Chrome extension for the element's own pages), then ONE report: each cell with what it showed, what was not checked and why. A cell that failed is a new trap: into server-wall §5 when it is the wall's, and into this matrix when it is a new kind of case.

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.