fix-on-my-computer

Verify Bun, install dependencies, run tests, and fix failures until all pass.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cedricfressin/claude-config --skill fix-on-my-computer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-on-my-computer
Source: https://github.com/cedricfressin/claude-config/tree/main/scripts/.claude/skills/fix-on-my-computer
Command: npx skills add https://github.com/cedricfressin/claude-config --skill fix-on-my-computer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the setup of a code repository on a new machine by performing an automated sequence: verify the Bun runtime, install dependencies, run tests, and persistently fix issues until every test passes. It reduces environment drift and manual debugging by making the setup deterministic and repeatable.

Core Features & Use Cases

  • Environment validation: checks for Bun, verifies presence of a package.json with a test script, and ensures the system meets OS requirements.
  • Dependency and test management: runs bun install and bun run test, retrying with cleanup if needed to reach a green state.
  • Green-loop automation: iteratively analyzes failures, applies minimal fixes, and re-runs tests until all pass.
  • Use Case: onboarding a new dev machine or CI agent where the environment is inconsistent, ensuring a fully green test suite with minimal manual intervention.

Quick Start

Use the Setup Wizard to verify Bun, install dependencies, run tests, and repeatedly fix issues until all tests pass.

Frequently Asked Questions about fix-on-my-computer

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

FAQPage Schema
How do I automate fixing my Node.js environment until tests pass?

Automating your Node.js environment involves verifying the Bun runtime, installing dependencies, and running tests in a deterministic loop that applies minimal fixes until all tests pass. This reduces manual debugging and environment drift.

What's the best way to set up a Bun project on a new development machine?

Setting up a Bun project requires validating the runtime, confirming a package.json with a test script exists, and executing bun install. An automated green-loop can then iteratively analyze failures and re-run tests until the suite is fully green.

How does automated test stabilization work for failing Node.js tests?

Automated test stabilization works by running tests, analyzing any failures, applying minimal fixes, and re-running the test suite iteratively. This deterministic loop continues applying fixes until all tests reach a green state.

Do I need Bun installed to automate my Node.js test fixes?

Yes, you need Bun installed to automate your Node.js test fixes. The environment validation checks for the Bun runtime and uses it for dependency installation and test execution to ensure the setup is repeatable.

Can I use this to fix failing tests in CI agents with inconsistent environments?

Yes, you can fix failing tests in CI agents with inconsistent environments. The automated sequence verifies the system, installs dependencies, and applies an iterative fix loop to resolve environment drift and achieve a green test suite.

Why does my automated environment setup require a test script in package.json?

Your automated environment setup requires a test script in package.json to execute the test validation phase. The process checks for this script to ensure it can run tests and apply the iterative fix loop until all tests pass.