Repository navigation
Conversation
DEBUG-167. Author and social/thumb images are placeholders (TODO).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds an MDX blog post describing the Supabase agent skill debugging workflow, evidence collection, symptom routing, installation, and related resources. ChangesAgent skill debugging workflow
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…supabase into debug-167-agent-debugging-blog
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
apps/www/_blog/2026-07-08-agent-skill-debugging.mdx (1)
72-75: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valuePrefer
auth.uid()directly in the policy USING clause.Wrapping
auth.uid()in a subselect(select auth.uid())works but is less idiomatic than calling it directly. The subselect pattern is typically used forauth.jwt()field extraction, not forauth.uid()which already returns a scalaruuid.♻️ Suggested refactor
create policy "read own rows" on your_table for select -to authenticated using ((select auth.uid()) = user_id); +to authenticated using (auth.uid() = user_id);🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/www/_blog/2026-07-08-agent-skill-debugging.mdx` around lines 72 - 75, Update the SQL policy example’s USING clause to call auth.uid() directly, removing the unnecessary scalar subselect while preserving the comparison with user_id.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/www/_blog/2026-07-08-agent-skill-debugging.mdx`:
- Line 3: Update the frontmatter description to replace the ungrammatical “query
logs narrow” phrasing with “narrow log queries,” preserving the existing
debugging workflow meaning.
---
Nitpick comments:
In `@apps/www/_blog/2026-07-08-agent-skill-debugging.mdx`:
- Around line 72-75: Update the SQL policy example’s USING clause to call
auth.uid() directly, removing the unnecessary scalar subselect while preserving
the comparison with user_id.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 0d4109b5-10ea-4c1f-9b29-a9b268d74802
⛔ Files ignored due to path filters (2)
apps/www/public/images/blog/2026-07-08-agent-skill-debugging/og.jpgis excluded by!**/*.jpgapps/www/public/images/blog/2026-07-08-agent-skill-debugging/thumb.jpgis excluded by!**/*.jpg
📒 Files selected for processing (1)
apps/www/_blog/2026-07-08-agent-skill-debugging.mdx
ana1337x
left a comment
There was a problem hiding this comment.
Tiny change to rephrase and include how we built at the start
Rename post and image folder to the 2026-07-24 date, and lower-case the title to sentence case per the supabase-writing style guide.
Co-authored-by: Ana <[email protected]>
… claim - Rename post/images from 2026-07-24 to 2026-08-12. - The skill no longer carries its own routing table (it now only links to the Debugging guide); reword the 'symptom-to-fix map' section so the claim matches what the skill actually does. - Point both Debugging guide links at the current /guides/monitoring-and-debugging/debugging URL instead of the retired /guides/telemetry/debugging one.
Cut the loop mechanics, SQL examples, and request-stack diagram. Lead with what installing the skill gets you and how to install it, save the how-it-works detail for the Debugging guide itself.
Readers who installed the skill before this release won't have the debugging workflow until they update.
Summary
Draft blog post (Linear DEBUG-167) announcing the debugging workflow now included in the Supabase agent skill (supabase/agent-skills PR #112). Covers why agents need a narrower debugging loop (evidence over guessing, isolate the failing layer, query logs narrow instead of an all-source scan) and how to use it.
TODOs before this can ship
skills/supabase/references/debugging/*.mdin supabase/agent-skills).Summary by CodeRabbit