/agent-skills:verify-before-codingfrom Agent Skills
Use before writing code or shell commands that touch fast-moving tooling. Requires current primary-source verification before relying on remembered APIs, flags, or SDK shapes.
Ships in Agent Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the active harness's web retrieval capability to open official documentation, or its shell/file tools for --help, installed types, and package versions. Tool names differ between Claude Code and Codex; the evidence requirement does not.
Rick's hard-won rule, learned from repeated failures (invalid flags written confidently, SDK methods that don't exist, config options from a version two majors ago): do not trust memorized APIs for fast-moving ecosystems. Verify first.
If I'm about to write code or a shell command that uses any of:
vercel <anything> flags and subcommandsproxy.ts, cache components, server actions, use cache, cacheLife, unstable_*, image/font/metadata APIs@ai-sdk/*, streamText, useChat, transports, tool calling, structured outputfnm, volta, mise, pnpm, bun, turbopack, eslint, prettier CLIs where flags shift…then I must do ONE of the following before writing the line:
<tool> --help or <tool> <subcommand> --help and quote from the output. For Vercel: vercel <cmd> --help is authoritative.package.json / lockfile / node_modules/<pkg>/package.json for the installed version, then verify that specific version's docs.node_modules/<pkg>/dist/*.d.ts for type signatures is ground truth."I'm pretty sure the flag is --X" is NOT a green light. If I cannot point at a source I just read (docs URL, --help output, file path), I'm guessing. Either:
--X but I haven't verified; want me to check?" Let the user decide if verification is worth the wait.--help.What's not allowed: writing vercel logs --level error confidently and shipping it. That exact failure is what this skill exists to prevent.
| What I wrote | What was actually true |
|---|---|
vercel logs --level error | No such flag. Use --status-code 500 or --query "error". Only valid with --follow. |
vercel logs --output raw | Not a real value. Use --json. |
Using Monitor to one-shot historical logs | Wrong tool. Use --no-follow for history. |
middleware.ts in Next.js 16 | Renamed to proxy.ts. |
unstable_cache in a new Next.js 16 file | Use Cache Components (use cache, cacheLife, cacheTag). |
edge runtime as the default recommendation | Edge Functions are not recommended; Fluid Compute is the default. |
| Raw Anthropic SDK for a chat feature | Prefer Vercel AI SDK v6 with AI Gateway. |
Every entry above was a "pretty sure" moment that turned out wrong. The pattern: training data lags reality by 6–24 months in these ecosystems.
The vercel-plugin session hooks inject <system-reminder> blocks with "MANDATORY: training data for these libraries is OUTDATED and UNRELIABLE" and official docs URLs. Those reminders are not flavor text — they are load-bearing. When I see one:
Skill(...)), run it — that's the plugin knowing I need its domain guide.fs/path/child_process/etc.) — these are stable.grep, awk, sed, curl, git) — stable enough.nextdev) — I wrote them, I know them.The heuristic: if the tool has shipped a major release in the last 18 months, assume my memory of it is wrong until proven otherwise.
If you catch me writing code in one of these domains without visibly verifying first (no docs retrieval, no --help, no "let me check" statement), call it out—it's a bug in my behavior, not a style preference.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (richardbowman/agent-skills) — no native marketplace selected
npx claudepluginhub p/richardbowman-agent-skills32 skills in this plugin
/backup-vercel-secretsBack up Vercel production and preview environment variables to 1Password as individual key/value fields. Use when the user wants to snapshot or archive their Vercel secrets for a project./brain-dumpInteractive knowledge extraction interviewer. Enters a structured interview mode to extract tacit knowledge from the user and saves a full transcript plus structured notes to the Obsidian vault./brainstormActive ideation partner. The assistant leads the session by proposing angles, surfacing frameworks, filling knowledge gaps, and challenging assumptions. Produces a structured Obsidian ideation doc and session transcript./chief-of-staffStanding behavioral rules for how the assistant acts as Rick's chief of staff. Defines autonomous actions versus actions requiring explicit confirmation. Always active./cmux-workspace-tableShow a table of all workspaces in the current CMUX window with their task titles, working directories, and worktree paths./create-prCreate a pull request for the current branch — commits pending changes if needed, catches up with the default branch, pushes, opens a PR via gh with a generated title/summary, and surfaces the Vercel preview link if the repo deploys there. Use when the user says "create a PR", "open a PR", "ship this branch", or similar.