doctor

Verify Node.js, package managers, Vercel CLI, gh CLI, Git, and Next.js compatibility.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/mitcheman/bodega --skill doctor-mitcheman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doctor
Source: https://github.com/mitcheman/bodega/tree/main/.cursor/skills/doctor
Command: npx skills add https://github.com/mitcheman/bodega --skill doctor-mitcheman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Preflight checks verify the local environment has everything Bodega needs to run setup, reducing surprises and setup failures.

Core Features & Use Cases

  • Node.js version check (≥ 20) to ensure runtime compatibility.
  • Package manager presence and compatibility (npm, pnpm, yarn, or bun) to guarantee deterministic tooling.
  • Vercel CLI, gh CLI, Git, and Next.js compatibility checks; project linkage and design context detection.

Quick Start

Run /bodega:doctor to perform a full environment preflight check.

Frequently Asked Questions about doctor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my Node.js version and CLI tools are ready for Next.js project setup?

Run an environment preflight check to verify your Node.js version, package manager, Vercel CLI, gh CLI, Git, and Next.js compatibility. It parses local shell commands to determine status and outputs an actionable report with follow-up steps.

What is a preflight environment check and when do I need to run one?

A preflight environment check verifies your local system has the required development tools and versions before starting setup. You need it when preparing to run Bodega setup to reduce surprises and prevent installation failures.

Does the environment diagnostics check support pnpm, yarn, and bun package managers?

Yes, the environment diagnostics check detects package manager presence and compatibility across npm, pnpm, yarn, and bun. It guarantees deterministic tooling by verifying your installed package manager meets project requirements.

How do I diagnose missing Vercel CLI or gh CLI tools before deploying?

Run a full environment diagnostics check to detect missing Vercel CLI or gh CLI tools. It operates across local environments using shell commands and version parsing to identify missing dependencies and suggest fixes.

Why does my project setup fail when my Node.js version is outdated?

Project setup fails with outdated Node.js because runtime compatibility requires version 20 or higher. The preflight check verifies your Node.js version against this threshold and provides actionable follow-up steps to update.

Can I use the diagnostics report to fix Git and Next.js compatibility issues?

Yes, the diagnostics report identifies Git and Next.js compatibility issues by checking project linkage and design context. It outputs a concise report with specific follow-up steps to resolve any detected compatibility problems.