Add fix-bug agent skill [loop engineering] - #1163
Open
drbenvincent wants to merge 1 commit into
Open
Conversation
Port the autonomous bug-fix workflow skill with CausalPy-specific conventions for environment, testing, linting, and escalation. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
@juanitorduz @cetagostini I've been using this to great effect in |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1163 +/- ##
=======================================
Coverage 96.03% 96.03%
=======================================
Files 105 105
Lines 16370 16370
Branches 916 916
=======================================
Hits 15721 15721
Misses 485 485
Partials 164 164 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
Author
Automated triageRecommendation: Why:
Review focus:
Confidence: high |
Open
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this?
Imagine you have a robot helper that fixes bugs in your codebase. This PR adds a recipe that teaches that robot how to fix bugs in CausalPy — step by step, like a checklist.
You can say things like "fix bug #149" or "bugfix PR #123", and the agent knows what to do next.
How does it work? (the simple version)
needs:maintainer-decisionand hands off.Think of it like homework: you do the work, a friend checks it, you fix mistakes, and if you're still stuck you ask the teacher.
Why is this cool for developers?
fix-bug-round,fix-bug-approved, etc.) let a new session pick up where the last one left off.prek, pytest paths, and when to escalate to maintainers.Where did it come from?
Copied from the
fix-bugskill in pathmc, which has been working well. The workflow is the same; only the CausalPy-specific bits (how to run tests, lint, etc.) were swapped in.Test plan
.agents/skills/fix-bug/SKILL.md