Skip to content

imMamdouhaboammar/anti-slop-engineering / skills/root-fix-gate

root-fix-gate

Verified

Use when a coding agent is about to patch the same symptom across controllers, views, endpoints or files; a small behavior change causes a wide diff; a workaround may hide a wrong model, schema or domain boundary; or a user proposes a shortcut with uncertain downstream effects. Trace the causal owner and compare a coherent root correction against distributed patches before implementation or review. Skip narrow, localized fixes with an already established owner.

FileKindSize
SKILL.mdskill md8.2 KB
agents/openai.yamlconfig326 B
evals/scenarios.jsonconfig6.7 KB
examples/email-checkout-record.jsonconfig1.6 KB
references/ownership-model.mdmarkdown4.8 KB
references/record-contract.mdmarkdown2.7 KB
usecases/review.mdmarkdown2.0 KB
usecases/trace.mdmarkdown3.7 KB

examples/email-checkout-record.json

View on GitHub
{
  "problem": "Ask for contact email when placing an order, not when creating an account",
  "symptom": "An agent proposed hiding email independently in each profile controller",
  "root_cause": {
    "cause": "The identity and checkout contact purposes may have been conflated",
    "owner": "Unknown until the identity provider and order data contract are inspected",
    "evidence": [
      {
        "source": "Illustrative project hypothesis, not repository evidence",
        "finding": "The registration rule may require email despite checkout owning contact details",
        "level": "inferred"
      }
    ]
  },
  "options": [
    {
      "approach": "Hide email separately in profile controllers",
      "tradeoff": "Leaves registration and persistence policy unchanged",
      "selected": false
    },
    {
      "approach": "Clarify identity and order email ownership",
      "tradeoff": "Requires auth, migration, order and retention evidence",
      "selected": false
    }
  ],
  "planned_changes": [],
  "invariants": [
    {
      "rule": "Account recovery must continue to work",
      "proof": "Run existing authentication integration tests after verifying identity requirements"
    },
    {
      "rule": "Order contact email remains available for receipts",
      "proof": "Run order receipt contract test after identifying the contact data owner"
    }
  ],
  "data_impact": {"mode": "none"},
  "decision": {
    "action": "pause",
    "reason": "Identity and order ownership are not established by source evidence",
    "invalidated_by": "Verified auth and checkout contracts that establish the appropriate boundary"
  }
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall