Rea Bug Fix
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install rea-rea-bug-fixWhat this does: Fix a reproduced REA defect at its owning boundary; use when a tool, contract, recovery, lifecycle, or result is wrong, not for new features or suite-wide CI audits.
Manual setup by platform
Claude Code
~/.claude/skills/rea-rea-bug-fix/SKILL.md
Instructions
REA bug fix
Fix the cause once, where the fact is produced, and remove what the fix makes
redundant. Follow the checkout's AGENTS.md, the
tool design guide and the
testing guide.
Trace the defect to its owner
Start from what the agent or user actually sees, then follow the call inward
until you reach the code that decides the wrong fact. Common boundaries, in
the order a call crosses them:
- The advertised schema clients receive (the served
tools/list, not the
canonical contract). - Input validation and its error rewrite.
- Admission: whether the tool can run in the current session.
- Provider and session state: lifecycle stages the provider owns.
- Error projection: code, retry semantics, recovery and remediation.
- Result delivery: budgets, summaries and retained Evidence.
Decide where the fix belongs. A shared boundary owns how facts are carried,
formatted and enforced; the producer owns facts only it knows, such as a
lifecycle outcome, a measured limit, a current revision or the next tool. A
downstream repair cannot restore a fact the producer never recorded.
Check siblings before fixing
Search for the same decision made elsewhere: duplicated factories, hand-built
copies of shared text, per-client or per-tool name branches, and parallel
checks that can disagree. Group confirmed instances under one root cause and
fix them together. Similar wording alone does not establish another instance;
reproduce it.
Prove it with an independent oracle
Write the regression first and show it fails on the base revision for the
reported reason. Take expected values from independent facts, such as a
literal, a fake's observed calls, or the served schema, never from the
production function under test. Assert the key fact the bug broke (identity,
linkage, coverage, retry semantics, recovery, what was written or released),
not only that an error occurred. Prefer a public CLI/MCP workflow, then a
production-boundary test. When an existing test asserts the buggy value,
update it with the fix instead of keeping both.
Remove what the fix supersedes
Delete the copies, fallbacks, aliases, wrappers and tests the new owner
replaces, after checking their consumers. Keep malformed-input, cancellation,
cleanup, permission, capacity and target-identity coverage.
Keep it simple
Make the smallest change that removes the observed problem. Do not add a new
mechanism, setting or abstraction for a theoretical or client-dependent gain;
if one seems needed, state the concrete failure mode, likelihood and cost and
get agreement first. Mark output or input changes that break a previously
valid call as breaking, with migration.
Report the root cause, the structural fix, the sibling paths checked, the
validation you ran, and anything left for later.
Security
Reviews (0)
More from rea
View source →More Build skills
Browse category →Frequently asked questions about rea-bug-fix
What does the rea-bug-fix skill do?
Fix a reproduced REA defect at its owning boundary; use when a tool, contract, recovery, lifecycle, or result is wrong, not for new features or suite-wide CI audits. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the rea-bug-fix skill?
Run `npx @skills-hub-ai/cli install rea-rea-bug-fix` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/rea-rea-bug-fix/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does rea-bug-fix work with?
rea-bug-fix runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the rea-bug-fix skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use rea-bug-fix after installing it?
In Claude Code, type `/rea-rea-bug-fix` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the rea-bug-fix skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.