agentleFS
t1mericksont1merickson/skills/os-workarounds/SKILL.md

os-workarounds

Skill1 starsChanged 2 months agoMITView on GitHub

Document and manage code that works around a confirmed upstream OS or framework defect, including reproduction evidence, ownership, and a removal condition. Use when evidence supports upstream fault or the user asks to audit tagged workarounds. Do not use for ordinary app bugs, awkward API usage, compatibility code, or speculative framework blame.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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:

    When code exists only because an upstream bug exists, say so at the site.

    line 8
  2. Distinctive:

    Keep the fixture as the retest harness.

    line 14
  3. Very specific:

    Use the same marker in every language so rg -n 'WORKAROUND\(' inventories the codebase.

    line 32
  4. Distinctive:

    When fixed, remove the workaround, tag, and obsolete fixture in one reviewable change.

    line 37
  5. Distinctive:

    When still broken, update evidence only if the supported matrix changed.

    line 38
  6. Distinctive:

    Never use a workaround tag for preference, undocumented convenience, or code whose upstream attribution is still only a hunch.

    line 40

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

OS workarounds

When code exists only because an upstream bug exists, say so at the site. A workaround tag is a claim about fault, not a synonym for awkward API usage.

Prove the boundary

Reproduce the defect outside project-specific code with the smallest practical fixture. Record the affected OS/SDK, hardware or simulator context when relevant, expected contract, observed result, and a command or test that reproduces it. If the minimal case does not fail, fix the project instead of tagging upstream.

Keep the fixture as the retest harness. File or link an upstream report when practical, but do not make a vendor-specific ticket system mandatory.

Tag the site

// WORKAROUND(FB1234567, macOS 15.2): NSTableView drops first responder
// during section reload. Repro: Tests/Repros/TableReload. Remove when the
// repro passes on every supported runtime; owner: Editor team.

Every tag includes:

  1. the exact WORKAROUND( marker;
  2. an upstream issue ID or URL, or pending while a report awaits user submission;
  3. the runtime or SDK where it was observed;
  4. a reproducible test or fixture path;
  5. an owner and a concrete removal condition.

Use the same marker in every language so rg -n 'WORKAROUND\(' inventories the codebase.

Lifecycle

  • Retest when a relevant OS, SDK, deployment target, or implementation dependency changes—not on unrelated system updates.
  • When fixed, remove the workaround, tag, and obsolete fixture in one reviewable change; record the version that cleared it.
  • When still broken, update evidence only if the supported matrix changed.
  • During triage, inspect tagged regions early: the compatibility branch may have aged.
  • Never use a workaround tag for preference, undocumented convenience, or code whose upstream attribution is still only a hunch.

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.