Repository navigation
feat: add verify-sql agent skill - #46
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Copilot could not review this PR (insufficient quota), so it was reviewed locally with Claude Code's
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Summary
Add
skills/verify-sql, an agent skill that teaches coding agents such as Claude Code to back SQL-related claims ("fixed the N+1", "reduced queries") with a before/after measurement fromsql-tap runandsql-tap diff(#41–#45), and to report what was and was not verified.Changes
feat: add verify-sql agent skillskills/verify-sql/SKILL.md, with adescriptionthat triggers on changes to code that talks to a database and before reporting that SQL behavior improved.-listenport, no other application sharing sql-tapd, and no cached test results (go test -count=1). The agent asks the user instead of guessing when it cannot confirm these.runanddiff. In particular, the agent must not work around exit 2 or use the loosening flags (-allow-command-mismatch,-allow-increase,-fail-on-slow) unless the user asked, and must never edit a report.diffMarkdown as is, then separate "Verified" from "Not verified". Slow queries and total time are not presented as measured improvements.docs: document the verify-sql agent skill.claude/skills/by downloadingSKILL.mdfrom the release tag matchingsql-tap -version.Distribution is a plain file download for now. Packaging the repository as a Claude Code plugin marketplace can come later if needed. See the review comment for the local review and its fixes.
Verification
run/diff.