agentsclimarketplace

Plan stub checker

Skill kensaurus/cursor-kenji/skills/plan-stub-checker

πŸ¦–Curated Cursor AI agent skills, slash commands, MCP configs, subagents & rules for full-stack dev β€” React 19, Next.js 15, Supabase, Tailwind v4, TypeScript

Install
npx -y skills add kensaurus/cursor-kenji --skill plan-stub-checker

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Exhaustive audit for stubs, dead buttons, fake/placeholder components, unwired handlers, dead links, orphans, and severed integrations β€” produces a burndown and wiring plan with no implementation in this pass. Traces intended backend, Supabase, Sentry, and data-pipeline targets; conservative false-positive filtering. Plan only β€” user approves before wiring. Uses codebase static analysis + optional Playwright/Sentry/Supabase MCP. Use when asked to "find dead buttons", "stub checker", "fake components", "unwired handlers", "dead links", "orphaned components", "plan stub wiring", "what's not connected", "mock data in prod", "buttons that do nothing", or "stub audit".

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.8 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

Stub, Dead-Link & Fake-Component Checker + Wiring Plan

Role: Senior full-stack engineer + reliability auditor.

Task: Exhaustively find every stub, dead button, fake/placeholder component, and unwired handler across the repo. Trace whether each should connect to a real backend / data pipeline / Supabase / Sentry path. Produce a burndown + wiring plan. Audit & plan only β€” do not implement.

This skill vs neighbors

SkillDoes
plan-stub-checker (this)Plan only β€” inventory, burndown, wiring roadmap
debug-fe-be-integrationDiagnose and fix FE-BE mismatches
audit-fe-apiAudit API calls vs backend contracts
test-qaLive QA β€” may find dead buttons during crawl
debug-sentry-monitorTriage production Sentry errors
workflow-fix-and-shipFix β†’ verify β†’ PR after you approve

Chain: plan-stub-checker β†’ approval β†’ plan-test-coverage β†’ … see docs/PLAN-LOOPS.md
Execute: debug-fe-be-integration / workflow-fix-and-ship β†’ test-playwright


β›” Preservation Contract

Read references/preservation-contract.md before Phase 1.

Acknowledge in output #1 β€” restate what you will NOT do:

  • No removal of features/routes/screens/handlers/props
  • No fabricated endpoints, tables, env keys, or DSNs
  • Every claim cites file path + line
  • Preserve I/O boundaries unless wiring is proposed + approved
  • No silent breaking changes
  • Plan, don't build

References

FileContents
references/detection-taxonomy.mdTypes, grep patterns, integration checks
references/detection-methodology.mdSix-pass methodology + linkage tracing
references/output-templates.mdBurndown, inventory, phased plan templates

Phase flow

1. Auto-detect stack (routes, data layer, integrations)
2. Entry-point + static analysis sweep
3. Handler-binding + data-flow trace
4. False-positive filter (dynamic invocation pass)
5. Integration linkage (API, Supabase, Sentry, pipeline)
6. Burndown + phased wiring plan
7. Research + guardrails (current year)

Phase 1 β€” Auto-detect stack

Read package.json and config:

SignalLayer
@supabase/supabase-jsSupabase β€” find createClient, supabase/migrations
@sentry/*Sentry β€” find init, instrumentation config
react-query / @tanstack/react-queryData fetching
next/server actionsServer actions
trpc / graphqlAPI style

Record: route manifest paths, API client location, env example file.


Phase 2–4 β€” Detection passes

Execute all passes in references/detection-methodology.md:

  1. Entry-point trace (reachable vs orphan candidates)
  2. Static analysis (unused exports, dead branches)
  3. Handler-binding (every interactive control β†’ real effect?)
  4. Data-flow (display components β†’ live source?)
  5. Dynamic-invocation filter β€” uncertain β†’ Review required
  6. Config/env trace (integrations actually initialized?)

Taxonomy: references/detection-taxonomy.md

Be aggressive in finding, conservative in deleting. Keep Confirmed vs Review required separate.

Optional live click pass: protocol-browser-anti-stall + shared session before Playwright MCP.


Phase 5 β€” Backend / pipeline / integration linkage

For every stub that should be live, map:

  • API: endpoint or server action β€” exists? contract? auth? β†’ [NEEDS REAL TARGET] if missing
  • Pipeline: ingest β†’ transform β†’ store β†’ read β€” which hop is broken?
  • Supabase: client role, table/view, RLS (missing = silent break or leak), types, realtime
  • Sentry: instrumented? swallowed catches? context/tags/release/env/source maps/PII
  • Analytics / flags / i18n: real sink, flag resolution, key resolution

Use MCP when available:

MCPUse
Supabaselist_tables, policies, advisors β€” verify tables/RLS exist
SentryProduction errors on related routes β€” swallowed failures
FirecrawlCurrent-year Supabase RLS + Sentry instrumentation patterns
PlaywrightClick dead-looking controls; observe network/nav

Never invent table names or endpoints.


Phase 6 β€” Burndown + wiring plan

Burndown columns:

Surface | Element | Type | Classification | Intended target | Wiring gap | Severity P0–P3 | Effort S/M/L | Risk | File:line

Group by page/screen. Quantify totals.

Phased wiring plan:

  1. Silent-failure P0s β€” dead controls, swallowed errors, missing RLS
  2. Mock β†’ live data β€” replace fixtures with real queries
  3. Orphan cleanup β€” proposals only, dependency checks
  4. Instrumentation gaps β€” Sentry, analytics, loading/error/empty states

Per confirmed stub: proposed wiring (target, contract, auth, states) + one-line "what must keep working."

Industry-standard enhancements (cite current year via Firecrawl):

  • Typed Supabase client + generated types; RLS on every public table; test as non-owner
  • Replace empty catch with handling + Sentry capture; breadcrumbs/tags/release
  • Loading/error/empty UI for every newly-wired data path
  • Guardrails: lint empty handlers, CI orphan/mock checks, PR checklist

Each phase independently reviewable + revertible.


Required output (in order)

  1. Preservation-contract acknowledgment
  2. Detection taxonomy results (counts per type)
  3. Per-surface stub/dead/fake inventory (checklist β€” nothing skipped)
  4. Burndown table (classification + intended-target + risk)
  5. Backend/Supabase/Sentry/pipeline linkage map
  6. Wiring + enhancement plan, phased
  7. Guardrails / tooling recommendations
  8. Research notes + citations
  9. Open questions / [NEEDS REAL TARGET] list

Deliver as markdown or canvas for large repos. Do not implement wiring unless user approves in a follow-up.


Rules

  • Plan only β€” do not implement. User approves before wiring.
  • Trace before flagging (entry-point + dynamic-invocation pass).
  • Never fabricate endpoints, tables, env, or behavior.
  • Missing target/integration/env β†’ say so, don't guess.
  • Before proposing any file change: one line on what must keep working.

What ships with it: 4 files

7.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.