{"id":"8f40d384-0576-4c07-a0f1-eb9846596724","shortId":"gFPdQd","kind":"skill","title":"find-bugs","tagline":"Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.","description":"# Find Bugs\n\nReview changes on this branch for bugs, security vulnerabilities, and code quality issues.\n\n## When to Use\n- You need a review focused on bugs, security issues, or risky code changes.\n- The task involves auditing the current branch diff rather than implementing new behavior.\n- You want a structured review process with checklist-driven verification against changed files.\n\n## Phase 1: Complete Input Gathering\n\n1. Get the FULL diff: `git diff $(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')...HEAD`\n2. If output is truncated, read each changed file individually until you have seen every changed line\n3. List all files modified in this branch before proceeding\n\n## Phase 2: Attack Surface Mapping\n\nFor each changed file, identify and list:\n\n* All user inputs (request params, headers, body, URL components)\n* All database queries\n* All authentication/authorization checks\n* All session/state operations\n* All external calls\n* All cryptographic operations\n\n## Phase 3: Security Checklist (check EVERY item for EVERY file)\n\n* [ ] **Injection**: SQL, command, template, header injection\n* [ ] **XSS**: All outputs in templates properly escaped?\n* [ ] **Authentication**: Auth checks on all protected operations?\n* [ ] **Authorization/IDOR**: Access control verified, not just auth?\n* [ ] **CSRF**: State-changing operations protected?\n* [ ] **Race conditions**: TOCTOU in any read-then-write patterns?\n* [ ] **Session**: Fixation, expiration, secure flags?\n* [ ] **Cryptography**: Secure random, proper algorithms, no secrets in logs?\n* [ ] **Information disclosure**: Error messages, logs, timing attacks?\n* [ ] **DoS**: Unbounded operations, missing rate limits, resource exhaustion?\n* [ ] **Business logic**: Edge cases, state machine violations, numeric overflow?\n\n## Phase 4: Verification\n\nFor each potential issue:\n\n* Check if it's already handled elsewhere in the changed code\n* Search for existing tests covering the scenario\n* Read surrounding context to verify the issue is real\n\n## Phase 5: Pre-Conclusion Audit\n\nBefore finalizing, you MUST:\n\n1. List every file you reviewed and confirm you read it completely\n2. List every checklist item and note whether you found issues or confirmed it's clean\n3. List any areas you could NOT fully verify and why\n4. Only then provide your final findings\n\n## Output Format\n\n**Prioritize**: security vulnerabilities > bugs > code quality\n\n**Skip**: stylistic/formatting issues\n\nFor each issue:\n\n* **File:Line** - Brief description\n* **Severity**: Critical/High/Medium/Low\n* **Problem**: What's wrong\n* **Evidence**: Why this is real (not already fixed, no existing test, etc.)\n* **Fix**: Concrete suggestion\n* **References**: OWASP, RFCs, or other standards if applicable\n\nIf you find nothing significant, say so - don't invent issues.\n\nDo not make changes - just report findings. I'll decide what to address.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["find","bugs","antigravity","awesome","skills","sickn33","agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows"],"capabilities":["skill","source-sickn33","skill-find-bugs","topic-agent-skills","topic-agentic-skills","topic-ai-agent-skills","topic-ai-agents","topic-ai-coding","topic-ai-workflows","topic-antigravity","topic-antigravity-skills","topic-claude-code","topic-claude-code-skills","topic-codex-cli","topic-codex-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/find-bugs","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add sickn33/antigravity-awesome-skills","source_repo":"https://github.com/sickn33/antigravity-awesome-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34793 github stars · SKILL.md body (3,207 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-24T00:50:56.589Z","embedding":null,"createdAt":"2026-04-18T21:37:13.277Z","updatedAt":"2026-04-24T00:50:56.589Z","lastSeenAt":"2026-04-24T00:50:56.589Z","tsv":"'1':92,96,309 '2':111,139,321 '3':128,175,337 '4':266,348 '5':300 'access':205 'address':425 'algorithm':236 'alreadi':276,385 'applic':401 'area':340 'ask':18,459 'attack':140,247 'audit':27,67,304 'auth':198,210 'authent':197 'authentication/authorization':163 'authorization/idor':204 'behavior':76 'bodi':156 'boundari':467 'branch':14,32,39,70,135 'brief':371 'bug':3,5,23,34,41,57,360 'busi':256 'call':170 'case':259 'chang':15,21,36,63,89,118,126,145,214,281,416 'check':164,178,199,272 'checklist':85,177,324 'checklist-driven':84 'clarif':461 'clean':336 'clear':434 'code':9,28,45,62,282,361 'command':186 'complet':93,320 'compon':158 'conclus':303 'concret':392 'condit':218 'confirm':316,333 'context':292 'control':206 'could':342 'cover':287 'criteria':470 'critical/high/medium/low':374 'cryptograph':172 'cryptographi':232 'csrf':211 'current':31,69 'databas':160 'decid':422 'defaultbranchref':107 'defaultbranchref.name':109 'describ':438 'descript':372 'diff':71,100,102 'disclosur':242 'dos':248 'driven':86 'edg':258 'elsewher':278 'environ':450 'environment-specif':449 'error':243 'escap':196 'etc':390 'everi':125,179,182,311,323 'evid':379 'exhaust':255 'exist':285,388 'expert':455 'expir':229 'extern':169 'file':90,119,131,146,183,312,369 'final':306,353 'find':2,4,22,33,354,404,419 'find-bug':1 'fix':386,391 'fixat':228 'flag':231 'focus':55 'format':356 'found':330 'full':99 'fulli':344 'gather':95 'get':97 'gh':103 'git':101 'handl':277 'head':110 'header':155,188 'identifi':147 'implement':74 'individu':120 'inform':241 'inject':184,189 'input':94,152,464 'invent':411 'involv':66 'issu':11,47,59,271,296,331,365,368,412 'item':180,325 'jq':108 'json':106 'limit':253,426 'line':127,370 'list':129,149,310,322,338 'll':421 'local':13 'log':240,245 'logic':257 'machin':261 'make':415 'map':142 'match':435 'messag':244 'miss':251,472 'modifi':132 'must':308 'need':52 'new':75 'note':327 'noth':405 'numer':263 'oper':167,173,203,215,250 'output':113,192,355,444 'overflow':264 'owasp':395 'param':154 'pattern':226 'permiss':465 'phase':91,138,174,265,299 'potenti':270 'pre':302 'pre-conclus':301 'priorit':357 'problem':375 'proceed':137 'process':82 'proper':195,235 'protect':202,216 'provid':351 'qualiti':10,46,362 'queri':161 'race':217 'random':234 'rate':252 'rather':72 'read':116,223,290,318 'read-then-writ':222 'real':298,383 'refer':394 'repo':104 'report':418 'request':153 'requir':463 'resourc':254 'review':20,25,35,54,81,314,456 'rfcs':396 'riski':61 'safeti':466 'say':407 'scenario':289 'scope':437 'search':283 'secret':238 'secur':6,24,42,58,176,230,233,358 'seen':124 'session':227 'session/state':166 'sever':373 'signific':406 'skill':429 'skill-find-bugs' 'skip':363 'source-sickn33' 'specif':451 'sql':185 'standard':399 'state':213,260 'state-chang':212 'stop':457 'structur':80 'stylistic/formatting':364 'substitut':447 'success':469 'suggest':393 'surfac':141 'surround':291 'task':65,433 'templat':187,194 'test':286,389,453 'time':246 'toctou':219 'topic-agent-skills' 'topic-agentic-skills' 'topic-ai-agent-skills' 'topic-ai-agents' 'topic-ai-coding' 'topic-ai-workflows' 'topic-antigravity' 'topic-antigravity-skills' 'topic-claude-code' 'topic-claude-code-skills' 'topic-codex-cli' 'topic-codex-skills' 'treat':442 'truncat':115 'unbound':249 'url':157 'use':16,50,427 'user':151 'valid':452 'verif':87,267 'verifi':207,294,345 'view':105 'violat':262 'vulner':7,43,359 'want':78 'whether':328 'write':225 'wrong':378 'xss':190","prices":[{"id":"21f5eea6-ef8a-4fa6-b206-6a1a5991c743","listingId":"8f40d384-0576-4c07-a0f1-eb9846596724","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:37:13.277Z"}],"sources":[{"listingId":"8f40d384-0576-4c07-a0f1-eb9846596724","source":"github","sourceId":"sickn33/antigravity-awesome-skills/find-bugs","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/find-bugs","isPrimary":false,"firstSeenAt":"2026-04-18T21:37:13.277Z","lastSeenAt":"2026-04-24T00:50:56.589Z"}],"details":{"listingId":"8f40d384-0576-4c07-a0f1-eb9846596724","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"find-bugs","github":{"repo":"sickn33/antigravity-awesome-skills","stars":34793,"topics":["agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows","antigravity","antigravity-skills","claude-code","claude-code-skills","codex-cli","codex-skills","cursor","cursor-skills","developer-tools","gemini-cli","gemini-skills","kiro","mcp","skill-library"],"license":"mit","html_url":"https://github.com/sickn33/antigravity-awesome-skills","pushed_at":"2026-04-24T00:28:59Z","description":"Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.","skill_md_sha":"f0b873c234050bfc012959e764b700117c29734a","skill_md_path":"skills/find-bugs/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/find-bugs"},"layout":"multi","source":"github","category":"antigravity-awesome-skills","frontmatter":{"name":"find-bugs","description":"Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch."},"skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/find-bugs"},"updatedAt":"2026-04-24T00:50:56.589Z"}}