agentleFS
localtaskrepolocaltaskrepo/lotar/.github/skills/instruction-maintenance/SKILL.md

instruction-maintenance

Skill2 starsChanged 34 days agoMITView on GitHub

Repair proven guidance errors or missing conventions during authorized implementation; validate instruction changes without growing a diary.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    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:

    Use this when a developer correction, failed documented command, conflicting rule, or reproducible missing convention would mislead the …

    line 8
  2. Distinctive:

    Read-only tasks report findings without edits or task mutations.

    line 11
  3. Distinctive:

    Test executable examples in isolated workspaces, never the DEV backlog.

    line 31
  4. Distinctive:

    Record and stop: Add one task comment with evidence, changed path, check result, and any limitation.

    line 32
  5. Distinctive:

    Use this compact evidence record:

    line 36
  6. Distinctive:

    Prefer a tested command for a hard-to-discover gotcha.

    line 52
  7. Very specific:

    Add a new skill only for a distinct reusable procedure.

    line 54
  8. Distinctive:

    No model names, mandatory delegation, or harness-specific tool names in shared steps when a capability description will do.

    line 56
  9. Very specific:

    Before adding another rule for a previously recorded problem, read its LoTaR evidence and check the original correction.

    line 65
  10. Very specific:

    No durable finding is a valid outcome.

    line 76

≈ “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

Trigger and scope

Use this when a developer correction, failed documented command, conflicting rule, or reproducible missing convention would mislead the next agent. Mere difficulty, one model's stylistic preference, or a speculative optimization is not evidence. Read-only tasks report findings without edits or task mutations.

Evidence, correction, check

  1. Capture evidence in the current LoTaR task. Name the triggering request, instruction/path, actual failure, and expected behavior. Redact sensitive data. Separate a stale command or rule from a tool/environment limitation.
  2. Locate the owner. Shared safety/workflow policy belongs in AGENTS.md, per-area conventions in .github/instructions, procedures in the matching skill, and product usage in docs/help. Keep non-GitHub harness configuration and model/effort/quota preferences in personal settings. Search for existing guidance and contradictory copies before adding anything.
  3. Make the smallest supported correction. During authorized implementation, fix factual errors and clarify already established conventions. Ask before changing safety, review, or quality policy. Do not edit staged/approved files without permission. Preserve uncertain findings as task follow-ups.
  4. Check the trigger and a counterexample. Replay the failed command safely or compare the documented procedure with the current implementation. For behavior rules, walk through the original scenario and a nearby case that must remain unchanged. Check skill frontmatter, relative links, and git diff --check. Test executable examples in isolated workspaces, never the DEV backlog.
  5. Record and stop. Add one task comment with evidence, changed path, check result, and any limitation. Report the correction at handoff. Do not recursively optimize unrelated instructions or require a new lesson after every task.

Use this compact evidence record:

Trigger: <observed request/failure and source>
Correction: <path and smallest change; why reusable>
Check: <command/scenario and result; counterexample preserved>
Limit: <not runtime-tested, unavailable harness, or none>

Write for the next agent

  • Give each rule one authoritative home. Keep critical guardrails visible; place branch-specific reference behind a precise trigger. Avoid discovery chains.
  • Describe the outcome, constraints, and observable completion criterion. Use familiar vocabulary and concise positive actions; retain explicit prohibitions for safety boundaries. Avoid generic exhortations to be smart or thorough.
  • Prefer a tested command for a hard-to-discover gotcha; otherwise link to the source of truth instead of caching an entire command catalog or directory map.
  • Add a new skill only for a distinct reusable procedure. Use standard name and description frontmatter with a narrow trigger and a Markdown-read fallback. No model names, mandatory delegation, or harness-specific tool names in shared steps when a capability description will do.
  • For external skills, inspect their dependencies, side effects, autonomy gates, license, and scope before adoption. Adapt techniques into existing skills where possible; record the upstream revision and preserve required notices. Updates are reviewed changes, not unattended replacements of project policy.

Verify the loop over time

Before adding another rule for a previously recorded problem, read its LoTaR evidence and check the original correction. On the next matching task, record whether it prevented recurrence. If not, refine or remove the ineffective rule; do not stack synonyms. A scenario walkthrough validates intent, not future model compliance: distinguish it from an actual agent/harness replay.

Useful counterexamples: a read-only audit stays read-only; a main-checkout task does not create a worktree; an explicit no-subagent request stays single-agent; a typo fix does not initiate a full product workflow; instruction tuning cannot authorize commits or remove required verification.

No durable finding is a valid outcome. Revisit model-specific workarounds when upgrading the harness/model or when they fail, rather than preserving restrictions from older agents indefinitely. Keep the evidence in LoTaR, not AGENTS.md.

Writing techniques adapted from AI Hero's writing-for-agents; see sources and license.

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.