{"uid":"cap_EK5K5LtiR71ZykerXKf33","slug":"aiskills402-code-review-fe20b98e","name":"aiskills402 Code Review","description":"Code Review: Reviews a code change (a diff or a changed file pasted as text) and reports real problems ranked by severity — correctness bugs, security holes, data loss, missing error handling, edge cases, resource leaks — each with location, reason and a concrete fix in words. Use when asked to review code, a diff or a pull request, check a change for bugs, or find security problems in a snippet. One-time purchase of the SKILL.md file (Agent Skills format), $0.05 USDC, yours forever incl. free …","url":"https://api.aiskills402.com/v1/skills/code-review/file?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7JlMNc6lobccEvYooaa0v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reviews a code diff or changed file and reports ranked bugs, security holes, data loss risks, missing error handling, edge cases, and resource leaks with location, reason, and concrete fix for each","exampleAgentPrompt":"Can you review this diff I'm about to merge — look for correctness bugs, security holes, missing error handling, and resource leaks, then rank every issue by severity with the exact location and a concrete fix for each one?","exampleUseCases":[{"title":"Pre-merge pull request audit","prompt":"I'm about to merge this PR — here's the diff. Can you check it for correctness bugs, security vulnerabilities, and missing error handling, ranked from most to least severe with exact line locations and concrete fixes?"},{"title":"Security hole check in new feature","prompt":"I just wrote a new authentication handler — here's the file. Please find any security holes or data exposure risks, tell me exactly where they are and how to fix each one."},{"title":"Finding edge cases before code review","prompt":"My teammate's code change is pasted below. Before I approve it, can you find any edge cases, resource leaks, or data loss scenarios I should flag, with specific locations and suggested fixes ranked by severity?"}],"resultDescription":"A ranked list of real problems found in the code change, each with: problem location (file/line reference), category (correctness bug, security hole, data loss, missing error handling, edge case, or resource leak), explanation of why it is a problem, and a concrete fix described in plain language. Issues are ordered from most to least severe.","failureModes":["Empty or missing input text returns an error or empty result","Very large diffs may be truncated or hit context limits","Payment failure (insufficient USDC balance) blocks access with HTTP 402","Malformed or non-code input may produce irrelevant or low-quality output","Network timeout on the x402 payment flow before the skill is executed"],"whenToPreferThis":"Choose this endpoint when you need structured, severity-ranked code review feedback focused on real problems (not style), especially for diffs and pull requests. Prefer it over generic LLM prompts when you want consistent output format with location, reason, and fix for each issue, and when you want a one-time $0.05 USDC payable skill that requires no subscription or API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T12:36:40.567Z","isFirstParty":false,"canonicalSlug":"aiskills402-code-review-fe20b98e"}