fix-from-diagnostics

Parse compiler and linter output to fix errors sharded by package.

3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/cwijayasundara/claude_harness_eng_v5 --skill fix-from-diagnostics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-from-diagnostics
Source: https://github.com/cwijayasundara/claude_harness_eng_v5/tree/main/.claude/skills/fix-from-diagnostics
Command: npx skills add https://github.com/cwijayasundara/claude_harness_eng_v5 --skill fix-from-diagnostics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of fixing compiler and linter errors, breaking down the task into smaller, manageable packages for more efficient resolution.

Core Features & Use Cases

  • Error Identification: Automatically parses compiler and linter output to identify errors.
  • Sharding by Package: Breaks down the work into smaller packages based on the affected modules.
  • Fixing and Review: Allows for fixing errors and includes an optional adversarial review for large shards.
  • Use Case: Ideal for projects with many errors, where manually fixing each one would be time-consuming and error-prone.

Quick Start

Run the fix-from-diagnostics skill with the specific tool and file, e.g., fix-from-diagnostics --tool tsc --from-file /path/to/project.ts.

Frequently Asked Questions about fix-from-diagnostics

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

FAQPage Schema
How do I automatically fix compiler and linter errors across a large project?

You can automatically fix compiler and linter errors by parsing diagnostic output and sharding the workload by package. This systematic approach prevents manual fixes from becoming time-consuming and error-prone in high-volume projects.

How do I resolve TypeScript compiler errors from a specific diagnostics file?

To resolve compiler errors from a diagnostics file, run the tool with your specific linter and target file path, such as `fix-from-diagnostics --tool tsc --from-file /path/to/project.ts`. This parses the output and applies fixes per package.

What is the best way to handle high volumes of linter errors in software development?

The best way to handle high volumes of linter errors is sharding the work by affected modules. Breaking down the errors into smaller packages allows for efficient resolution and includes optional adversarial review for large shards.

Can I review automated linter fixes before applying them to my codebase?

Yes, you can review automated linter fixes using the optional adversarial review feature. This is specifically designed for large shards, ensuring that automated error resolution maintains code quality before final integration.

Does this automated error fixing approach work with any compiler or linter?

This approach works with any compiler or linter that can output diagnostics to a file. You specify the tool, such as `tsc`, and provide the file path, allowing the system to parse the output and shard the fixing process by package.

When should I avoid sharding compiler error fixes by package?

You should avoid sharding compiler error fixes by package when a project has a very low error volume. In these cases, manually fixing each error is likely faster than setting up automated parsing and sharding workflows.