Repository navigation
feat(cli): add local-dev skill topic - #7889
Prashansa-K wants to merge 4 commits into
Conversation
CLI benchmark (Lightweight Commands): no changes foundCommit
API calls: unchanged for all 9 commands. Binary size: 135.7 MB, up 16.0 KB from 135.7 MB. Details: timing ranges, API calls per command, slowest phasesTiming ranges
API calls per command
Slowest phasesNo command moved beyond noise, so there are no phase deltas. Comment |
There was a problem hiding this comment.
🤖 AI Review
CLI reference prose guidance: snapshot supabase/supabase@3dcb524 supplied to reviewers (advisory, not a style pass).
Both independent reviews were available. Their 10 findings merge into eight confirmed findings. The new local-development guide can lead agents to stop unrelated projects, misstates --exclude support, and gives conflicting or misleading recovery and status guidance. The migrations topic renders just two bytes below its test cap. The review found no breaking command changes, reference overlay drift, or fundamental conflict with the supplied next work. The changes fell outside the CLI reference prose procedure. I calculated the rendered size from the checked-out content and renderer. The unit suite was not run because workspace dependencies were absent.
Findings
| Severity | Location | Category | Sources | Claim |
|---|---|---|---|---|
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:29 |
recovery |
claude+codex | The port-conflict instructions recommend a machine-wide supabase stop --all when a single Supabase project owns the port. Even with user approval, this can interrupt unrelated local projects. |
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:43 |
correctness |
claude+codex | The guide incorrectly calls --exclude stack-only, contradicting its own supabase start --exclude <service> example and obscuring the different values each backend accepts. |
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:6 |
recovery |
codex | The guide tells agents both to start a stopped stack directly and to stop it first. The second instruction can tear down still-running services and attributes the stop-first suggestion to the wrong command. |
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:37 |
approval |
codex | The experimental instructions tell agents to stop only when asked, then direct them to stop the stack during partial-lifecycle recovery without saying whether approval is required. |
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:23 |
recovery |
codex | The unhealthy-database recovery step assumes a start process is still running, so it gives agents no immediate action when startup has already exited and left the database unhealthy. |
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:21 |
diagnostics |
codex | The guide treats a missing database container as proof that the project has never been started, even after a normal stop or startup rollback. |
| 🟡 MINOR | apps/cli/src/commands/skill/content/local-dev.md:15 |
diagnostics |
codex | The status guidance says to interpret any missing entry as a service being down, even though the list includes credentials that can be omitted independently of service health. |
| ⚪ NIT | apps/cli/src/commands/skill/content/migrations.md:1 |
maintainability |
claude | Adding the local-dev footer entry leaves the rendered migrations topic only two bytes below its test cap. An edit or new footer entry that adds three bytes will fail the size check. |
Stats
Claude findings: 3 · Codex findings: 7 · Confirmed: 8 · Refuted: 0 · Uncertain: 0
Models: claude-opus-5-5 + gpt-6.2-sol · Trigger: auto · Workflow run
This review runs once per PR. A maintainer can request another with a /ai-review comment.
This comment has been minimized.
This comment has been minimized.
|
Waiting on #7891 (functions skill topic) to merge before this PR goes green. On #7891 replaces that footer with a per-topic |
acd332e to
1d0cb9b
Compare
jgoux
left a comment
There was a problem hiding this comment.
Thanks, this reads well, and I checked most of its claims against the start/status/stop code: they hold. Requesting changes for one thing: on a default project, the Stopped services rule sends agents to ask for a restart on every status (first comment). The other comments are smaller.
Also, the description says db-query now points to this topic and two sentences in migrations were trimmed, but this diff doesn't touch either file. The size cap doesn't need the trim: the footer only lists each topic's related entries, so migrations renders the same as before.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2f32589 to
cf64b2b
Compare
Adds the
local-devtopic tosupabase skill display.It covers when to run
start,statusandstop, reading thestatusvalues, and recovery steps forStatusDbInspectError, a stopped stack and a failedstart(port conflicts, health-check timeouts, the lifecycle lock). It also describes where the experimental stack backend changes behaviour.The overview's topic index points to it.
🤖 Generated with Claude Code