GitHub - Anhydrite/user-reported-bug-skills: user-reported-bug skill for OpenCode — red-test-first workflow for user-reported bugs · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Anhydrite
user-reported-bug-skills
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>1 Commit<br>1 Commit
README.md
README.md
SKILL.md
SKILL.md
View all files
Repository files navigation
user-reported-bug
OpenCode skill that enforces red-test-first when you report a bug. Instead of jumping to a fix, the agent reproduces the bug, writes a failing test that captures the symptom, logs it in a ledger, and only then proposes a fix.
Install
Clone this repo directly into your OpenCode skills directory:
git clone https://github.com/Anhydrite/user-reported-bug-skills.git ~/.config/opencode/skills/user-reported-bug
Restart OpenCode. The skill triggers automatically when you report a bug (e.g. "j'ai un bug", "this is broken", "ça ne marche pas").
What it enforces
Reproduce first. The agent must see the bug fail before writing any test.
Red test before fix. A failing test that asserts expected behavior is written and confirmed red.
USER_FOUND tag. Every bug gets a comment block and a row in the ledger (docs/testing/user-found-bugs.md).
Fix only after the test exists. The fix is verified by the red test turning green.
Guard test stays. The test remains in the suite to catch regressions.
Workflow
Acknowledge & reproduce — agent reproduces the bug in a controlled way
Write the red test — asserts expected behavior, fails because bug is unfixed
Confirm red — test is run, must fail
Tag & ledger — // USER_FOUND comment + entry in docs/testing/user-found-bugs.md
Fix — minimal fix, red test turns green, no regressions
Update ledger — status becomes FIXED with commit hash
About
user-reported-bug skill for OpenCode — red-test-first workflow for user-reported bugs
Resources
Readme
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
No releases published
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
You can’t perform that action at this time.