env-health-check

Diagnoses macOS development environments across git, Docker, Xcode simulators, and MCP servers.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ElvinOuyang/claude-skill-collection --skill env-health-check-elvinouyang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-health-check
Source: https://github.com/ElvinOuyang/claude-skill-collection/tree/main/plugins/environment-toolkit/skills/env-health-check
Command: npx skills add https://github.com/ElvinOuyang/claude-skill-collection --skill env-health-check-elvinouyang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

It identifies whether iOS/web/AI development friction is caused by environment-level issues (git locks, Docker daemon hangs, Xcode/iOS Simulator state, MCP server failures, or disk pressure) rather than problems inside your project code.

Core Features & Use Cases

  • Unified end-to-end environment sweep: Probes git, Docker, Xcode/Simulator, MCP servers, and disk space in a single structured run with severity (P0–P3).
  • Meta-work framing with guardrails: Runs even if a harness scope gate is engaged, clearly stating it’s cross-cutting environment diagnostics.
  • Auto-fix where safe: Removes stale git lockfiles only when no owning git process exists and prunes stale worktree entries when appropriate, while leaving risky actions (like Docker restarts) to the user.

Quick Start

Run the env-health-check skill when you suspect “something is broken with my environment,” for example: env health check.

Frequently Asked Questions about env-health-check

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

FAQPage Schema
How do I diagnose a stuck git lock or wedged Docker daemon in my dev environment?

To diagnose environment hangs like stuck git locks or a wedged Docker daemon, you can run a unified environment health check. It probes local development states using timeout-wrapped checks and outputs a prioritized P0–P3 punch list separating safe auto-fixes from required user actions.

Why does my Xcode simulator stall and how can I check if it is an environment issue?

Your Xcode simulator may stall due to environment-level state issues like corrupted DerivedData. An environment health check probes simulator state and disk capacity, helping you rule out environment-caused failures before investigating your project code.

What is the best way to troubleshoot MCP server timeouts and stalled plugin loading?

The best way to troubleshoot MCP server timeouts and stalled plugin loading is to perform an ordered environment diagnostic sweep. This checks MCP servers and plugin loading states, identifying whether persistent issues stem from local environment friction rather than application bugs.

Can I automatically remove stale git lockfiles during an environment health check?

Yes, you can automatically remove stale git lockfiles during an environment health check. The diagnostic safely prunes stale lockfiles and worktree entries only when no owning git process exists, while leaving risky actions like Docker daemon restarts to the user.

Does the environment diagnostics check work on macOS to rule out disk pressure issues?

Yes, the environment diagnostics check is macOS-compatible and specifically probes disk capacity to rule out disk pressure. It uses ordered timeout-wrapped probes to safely identify near-full system volumes that may cause development friction.

How do I get a P0 P1 P2 P3 punch list for local development environment failures?

You get a P0–P3 punch list for local development environment failures by running a unified end-to-end environment sweep. This structured diagnostic evaluates git, Docker, Xcode, MCP servers, and disk space, outputting severity-ranked actions to resolve environment-level issues.