Loading...
Loading...
Use when given a GitHub issue URL or number to investigate and implement a fix. Triggers on "fix issue", "fix bug", "fix
npx skill4agent add bytebase/dbhub fix-bug# From URL: https://github.com/owner/repo/issues/123
gh issue view 123 --json title,body,labels,comments,state
# From another repo
gh issue view 123 --repo owner/repo --json title,body,labels,comments,state| Input | How to fetch |
|---|---|
| |
| |
| |
| Bug Category | Where to Look | Key Files |
|---|---|---|
| Connection failures | Connector implementations | |
| SQL execution errors | Tool handlers | |
| Schema/table listing | Search tool | |
| DSN parsing issues | Parser logic | |
| SSH tunnel problems | Tunnel utilities | |
| TOML config issues | Config loading | |
| Multi-database routing | Manager & tools | |
| Custom tool issues | Custom handler | |
| HTTP transport | Server setup | |
| Read-only violations | SQL validation | |
| Row limiting | SQL rewriting | |
| API endpoint issues | API handlers | |
| AWS IAM auth | Token signing | |
src/connectors/__tests__/src/utils/__tests__/src/tools/__tests__/src/config/__tests__/src/__fixtures__/EnterPlanModepnpm test:unit # Quick check — no Docker needed
pnpm test src/path/to/test.ts # Run the specific test file
pnpm test:integration # Full integration suite if neededgit checkout -b fix/issue-123git add <changed-files>
git commit -m "$(cat <<'EOF'
Fix: <short description>
Closes #123
EOF
)"git push -u origin fix/issue-123
gh pr create --title "Fix: <short description>" --body "$(cat <<'EOF'
## Summary
<What was broken and how this fixes it>
## Changes
<Bullet list of changes>
Closes #123
## Test plan
- [ ] Existing tests pass
- [ ] New test covers the bug scenario (if applicable)
EOF
)"