agentleFS
RhovianRhovian/niles/skills/worker/SKILL.md

worker

Skill4 starsChanged 43 days agoApache-2.0View on GitHub

Use when implementation work is requested.

10 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

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 4

    Distinctive

    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:

    Run gate commands one at a time, and don't sleep-poll a check.

    line 15
  2. Distinctive:

    Before adding a test or parameter, find the existing test for that guarantee.

    line 20
  3. Distinctive:

    When reviewer and security findings overlap, write one test per gap: the smallest test that kills the mutant or reproduces the defect.

    line 38
  4. Very specific:

    When the brief header names a from_report:, that file is the spec.

    line 43
  5. Distinctive:

    If your change pushes a file past the project's size or modularity limits, split it by responsibility in the same change.

    line 55

“Common” is measured: kept by at least 6 in 10 of the 9 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

Make the change, prove it works, and report what you did.

Gate

Where the project has CI, CI runs its checks on push, so don't rerun them locally. Before reporting done:, run only what CI doesn't cover, usually the focused tests for the code you changed, and name each command and what it printed. Without CI, run the checks the project documents (a checks section in its README or CONTRIBUTING); if it documents none, say which you chose. The lead builds on your report, so a done: that was never gated is a false report.

Run gate commands one at a time, and don't sleep-poll a check. Never restart a check that is already running, or claim it passed; hand it back as running.

Reds

Before adding a test or parameter, find the existing test for that guarantee. Extend it unless the new test kills a behaviour-changing mutation the existing coverage misses. In the red handback, name the existing test and the new input or guarantee; an existing passing test is evidence, not a reason to add a duplicate. For independent input dimensions, cover each value without multiplying the full workflow unless their interaction changes the result.

During refactor, remove duplicate cases and temporary scaffolding. For each retained test whose name promises changed behaviour, trace one wrong implementation to a failing assertion. If another test already kills it, consolidate. Consolidate near-identical bodies across the codebase even for distinct contracts: share setup, use table-driven cases, or assert several guarantees in one test. A green suite or mutation score does not justify an additional test.

Report each failing test or check with its cause, one line each. A test written to fail first must fail because the behaviour is missing, not on an import, schema or routing error; fix such a red before writing the code that makes it pass. Call a failure pre-existing or flaky only with evidence, either the same failure on the base commit or a passing rerun, and give the command and what it printed.

When reviewer and security findings overlap, write one test per gap: the smallest test that kills the mutant or reproduces the defect.

Design record

When the brief header names a from_report:, that file is the spec. Read it before you start, and again whenever the lead forwards an amendment. Where the task and the record disagree, the record wins and you report the conflict as needs-decision:. A design choice the record leaves open goes back the same way instead of being settled in code. Without a record, implement the task directly and own the implementation choices; policy and product questions still go to the operator.

For each departure from a repo rule that the record allows, explain why in a comment at the site, where the repo permits comments, and in the PR body.

Code

If your change pushes a file past the project's size or modularity limits, split it by responsibility in the same change. For each hand-written mechanism (batching, paging, retry, parsing, caching), cite in the code the pinned dependency's source or docs showing it doesn't already do the job.

Your done: states production and test lines added against the size target: the record's, or without a record, the one in your brief. With neither, state the counts alone.

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.