agentleFS
MK27MKMK27MK/no-bs-skills/skills/fill-the-gaps/SKILL.md

fill-the-gaps

Skill13 starsChanged 53 days agoMITView on GitHub

Complete work in progress that the user left incomplete on purpose. Use when the tree holds bare signatures, empty modules, pseudo code, deleted code, or `AI TODO` / `AI FIXME` / `AI NOTE` markers.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ALWAYS read the full diff, and then every file that the diff touches, before the first edit.

    line 25
  2. Distinctive:

    NEVER repair the tree back to its last working state.

    line 26
  3. Distinctive:

    NEVER add a feature that no gap asks for.

    line 27
  4. Distinctive:

    ALWAYS delete a marker when you satisfy it.

    line 37
  5. Very specific:

    NEVER act on a TODO or a FIXME without the AI prefix.

    line 38
  6. Very specific:

    Read both locks before the first edit.

    line 42
  7. Very specific:

    IF lock_definitions is y, THEN write no new function, no new class, and no new method.

    line 51
  8. Distinctive:

    IF a call has no definition, because the user deleted it or never wrote it, THEN delete the call and each line that serves only the call.

    line 52
  9. Distinctive:

    ALWAYS do that work again with the builtin types and the builtin functions of the language, or with a library that the repository already …

    line 53
  10. Distinctive:

    ALWAYS name, in your answer, each call that you deleted, and what does the work now.

    line 54
  11. Distinctive:

    IF the work cannot run without one new definition, THEN stop.

    line 55
  12. Very specific:

    IF lock_definitions is n, THEN write the definitions that the gaps ask for, and no more.

    line 56
  13. Very specific:

    IF lock_names is y, THEN keep the name of each class, each function, and each method.

    line 70
  14. Distinctive:

    IF a name is wrong, THEN say which name, propose one replacement in one line, and wait.

    line 71
  15. Very specific:

    IF lock_names is n, THEN correct the name, correct each caller in the same turn, and name each change in your answer.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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

Filling the gaps

The user gave you work in progress. It is incomplete, and it can be broken. This is correct. The user writes the code that says what the software must be, and you write the code that makes it run.

The tree is the specification

The user speaks to you in these forms:

FormMeans
A signature with no bodyBuild this. The name and the types are the contract.
An empty class or moduleThis concept exists. Find its parts.
Pseudo codeThe steps are correct. Write them in the language.
Deleted code and a commentThe old solution is dead. Do not bring it back.
A markerRead the marker.
  • ALWAYS read the full diff, and then every file that the diff touches, before the first edit.
  • NEVER repair the tree back to its last working state. Broken is the input, not the fault.
  • NEVER add a feature that no gap asks for.

Markers

A marker starts with AI. The prefix means the line speaks to you.

  • AI TODO — the code is absent. Write it.
  • AI FIXME — the code is present and wrong. Replace it.
  • AI NOTE — a constraint on the work near it. It is not work by itself.
  • ALWAYS delete a marker when you satisfy it.
  • NEVER act on a TODO or a FIXME without the AI prefix.

The two locks

Read both locks before the first edit. The default of each one is y.

Locky says
lock_definitionsThe set of definitions is closed. Add none.
lock_namesThe names are frozen. Rename none.

lock_definitions

  • IF lock_definitions is y, THEN write no new function, no new class, and no new method. Put the work in the definitions that the tree already holds.
  • IF a call has no definition, because the user deleted it or never wrote it, THEN delete the call and each line that serves only the call. NEVER write the absent definition.
  • ALWAYS do that work again with the builtin types and the builtin functions of the language, or with a library that the repository already imports.
  • ALWAYS name, in your answer, each call that you deleted, and what does the work now.
  • IF the work cannot run without one new definition, THEN stop. Name it, say why the builtins are not enough, and wait.
  • IF lock_definitions is n, THEN write the definitions that the gaps ask for, and no more.
<good-examples> - The tree calls `Money(amount)`, and no `Money` exists. The call goes, and the amount stays a `Decimal`. - A deleted `retry_on_error` decorator sits above a function. The decorator line goes, and a `for` loop with three attempts takes its place. </good-examples><bad-examples> - You write `class Money:` to make the call run. The user deleted that class on purpose. - You keep the call and write a marker above it. The code still fails. </bad-examples>

lock_names

  • IF lock_names is y, THEN keep the name of each class, each function, and each method. This holds also for a name that you find wrong.
  • IF a name is wrong, THEN say which name, propose one replacement in one line, and wait. NEVER apply it first.
  • IF lock_names is n, THEN correct the name, correct each caller in the same turn, and name each change in your answer.

The lock covers a name of the user. A local variable that you write is yours in both modes.

A deletion is not a rename. IF lock_definitions is y, and it asks you to delete a call, THEN delete it. lock_names does not stop a deletion.

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.