Other

/yash

Push dependency bugs upstream. Triggers: dependency bug, workaround, monkey-patch, fork/fix. NOT app bugs.

$ golems-cli skills install yash
100% best pass rate
20 assertions
6 evals

Updated 2 weeks ago

"Yash" (יש) = "there is" / "push through" — when there's a bug in a dependency, there IS a fix. Go get it.

The Rule

When you encounter a bug in a dependency, your DEFAULT response is to fix it upstream — not work around it.

The workaround is the easy path. It's also technical debt that compounds:

  • Workarounds break on upgrades
  • Other users hit the same bug
  • The root cause stays unfixed forever
  • Your codebase accumulates mystery patches

Decision Tree

Hit a dependency bug
  │
  ├── Is this a known issue with an open PR?
  │     └── YES → Review the PR, test it, comment "+1 tested on [your env]"
  │               Use patch-package to apply the PR's diff locally
  │
  ├── Is this a clear bug with no existing fix?
  │     └── YES → Fork, fix, PR upstream
  │               Use patch-package as a temporary bridge
  │
  ├── Is this a design limitation, not a bug?
  │     └── YES → Open an issue describing the use case
  │               Workaround is acceptable here (document WHY)
  │
  └── Is the project abandoned (no commits in 6+ months)?
        └── YES → Fork permanently, publish under @golems scope
                  OR find an actively maintained alternative

The Yash Protocol

Step 1: Diagnose — Is This Really a Dependency Bug?

Before blaming the library:

  1. Check YOUR usage against the docs (are you using the API correctly?)
  2. Check the issue tracker — has someone reported this?
  3. Read the relevant source code in node_modules/ or the repo
  4. Reproduce the bug in isolation (minimal repro)

If it's YOUR bug, fix YOUR code. Yash only applies to genuine dependency bugs.

Step 2: Fork and Fix

# Fork via GitHub
gh repo fork <owner>/<repo> --clone
 
# Create a fix branch
cd <repo>
git checkout -b fix/<description>
 
# Fix the bug
# Write a test that fails before your fix and passes after
# Commit with a clear message referencing the issue
 
# Push and create PR
git push -u origin fix/<description>
gh pr create --title "fix: <description>" --body "Fixes #<issue>