dev-environment-cleanup

Clean and rebuild the Orient monorepo development environment by removing caches and reinstalling dependencies.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/orient-bot/orient --skill dev-environment-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-environment-cleanup
Source: https://github.com/orient-bot/orient/tree/main/.claude/skills/dev-environment-cleanup
Command: npx skills add https://github.com/orient-bot/orient --skill dev-environment-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill resolves common issues that arise in development environments, such as stale build artifacts, corrupted caches, and inconsistent configurations, ensuring a clean and functional workspace.

Core Features & Use Cases

  • Cache Clearing: Removes stale Turbo and TypeScript build caches (.tsbuildinfo).
  • Dependency Reinstallation: Cleans node_modules and reinstalls dependencies using pnpm.
  • Build Artifact Removal: Deletes old compiled files from src/ and dist/ directories.
  • Use Case: When your build process fails with cryptic errors or produces no output despite successful compilation messages, this Skill can reset the environment to a known good state.

Quick Start

Run the full cleanup procedure to fix your development environment.

Frequently Asked Questions about dev-environment-cleanup

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

FAQPage Schema
How do I clean up stale TypeScript build artifacts and turbo cache in a monorepo?

Clearing TypeScript build artifacts and turbo cache involves removing .tsbuildinfo files, deleting stray compiled files from src and dist directories, and clearing the turbo cache to restore a reproducible build state in your monorepo.

Why does my TypeScript build fail with cryptic errors after a successful compilation message?

Your TypeScript build fails with cryptic errors because stale build artifacts, corrupted caches, or inconsistent configurations exist in your development environment, requiring a full cleanup of node_modules and caches to reset to a known good state.

What is the best way to reinstall dependencies and reset a pnpm monorepo development environment?

The best way to reinstall dependencies and reset a pnpm monorepo development environment is to clean node_modules, clear stale build caches, and run a fresh dependency reinstallation to ensure a clean and functional workspace.

How do I remove stray compiled files from source directories in a TypeScript project?

To remove stray compiled files from source directories in a TypeScript project, you must delete old compiled output from the src and dist folders, which resolves issues where build processes produce no output despite successful compilation messages.

When should I perform a full development environment cleanup on my monorepo?

You should perform a full development environment cleanup on your monorepo when your build process fails with cryptic errors, produces no output despite successful compilation, or when you need to ensure a reproducible build state by clearing stale caches and artifacts.

Does clearing the turbo cache and tsbuildinfo files fix inconsistent monorepo builds?

Yes, clearing the turbo cache and .tsbuildinfo files fixes inconsistent monorepo builds by removing corrupted caches and stale build artifacts, which restores your development environment to a clean and functional workspace.