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.
In this repository39 other files it gives its agents.
- apple-native-motionSkill
- apple-ui-copySkill
- audit-macos-appSkill
- brain-wikiSkill
- catch-me-upSkill
- checkpointSkill
- claude-md-coachSkill
- claudeSkill
- codexSkill
- crash-debuggingSkill
- cut-memorySkill
- explaining-problemsSkill
- file-batch-safetySkill
- handoffSkill
- heads-downSkill
- hopper-mcpSkill
- icon-designSkill
- interface-integritySkill
- ios-defaultsSkill
- kitSkill
- macos-defaultsSkill
- mock-and-pickSkill
- obsess-heroSkill
- obsessSkill
- offline-archiveSkill
- paper-mcpSkill
- predictionSkill
- second-loopSkill
- session-auditSkill
- ship-macosSkill
- show-meSkill
- slice-and-reviewSkill
- slow-modeSkill
- spatial-interfacesSkill
- standupSkill
- synthetic-fixturesSkill
- transitional-interfacesSkill
- web-design-defaultsSkill
- window-captureSkill
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
- Distinctive: line 8
When code exists only because an upstream bug exists, say so at the site.
- Distinctive: line 14
Keep the fixture as the retest harness.
- Very specific: line 32
Use the same marker in every language so rg -n 'WORKAROUND\(' inventories the codebase.
- Distinctive: line 37
When fixed, remove the workaround, tag, and obsolete fixture in one reviewable change.
- Distinctive: line 38
When still broken, update evidence only if the supported matrix changed.
- Distinctive: line 40
Never use a workaround tag for preference, undocumented convenience, or code whose upstream attribution is still only a hunch.
≈ “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.
Files
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:
- the exact
WORKAROUND(marker; - an upstream issue ID or URL, or
pendingwhile a report awaits user submission; - the runtime or SDK where it was observed;
- a reproducible test or fixture path;
- 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.
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
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.

