code-fixup

Fix build and lint errors across Nx and Yarn monorepo projects.

1|1|Updated Jun 11, 2024
One-click install
npx skills add https://github.com/ag-grid/ag-shared --skill code-fixup
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-fixup
Source: https://github.com/ag-grid/ag-shared/tree/main/prompts/skills/code-fixup
Command: npx skills add https://github.com/ag-grid/ag-shared --skill code-fixup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fixes build and lint errors by running commands, grouping issues, and orchestrating fixes.

Core Features & Use Cases

  • Group errors by category and propose targeted fixes.
  • Orchestrate sub-agents to work on specific issues or projects.
  • Re-run build and lint to verify fixes.

Quick Start

Run the initial build and lint checks, categorize the issues, and orchestrate fixes across affected projects.

Frequently Asked Questions about code-fixup

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

FAQPage Schema
How do I fix build and lint errors across an Nx monorepo automatically?▼

To fix build and lint errors in an Nx monorepo, run yarn nx build and yarn nx lint to identify issues, group them by category, and orchestrate sub-agents to apply targeted fixes across all projects until no errors remain.

What is the best way to group and resolve lint issues in a Yarn workspace?▼

The best way to group and resolve lint issues in a Yarn workspace is to run yarn nx lint across all projects, group the resulting issues by category, and orchestrate fixes with sub-agents. The process re-runs lint checks to verify that all proposed fixes are successful.

Can I use this to orchestrate fixes for multiple projects in a monorepo?▼

Yes, you can orchestrate fixes for multiple projects in a monorepo by running build and lint checks across all Nx projects, grouping issues by category, and dispatching sub-agents to apply targeted fixes to specific projects or error categories.

How does sub-agent orchestration work when resolving build failures?▼

Sub-agent orchestration for resolving build failures works by grouping detected errors into categories and dispatching sub-agents to apply targeted fixes to specific projects or issues, then re-running build and lint checks to verify that all errors are resolved.

Does this automated fixup process verify that lint and build errors are actually resolved?▼

Yes, the automated fixup process verifies that lint and build errors are resolved by re-running yarn nx build and yarn nx lint commands, continuing to orchestrate fixes and recheck until no errors remain in the codebase.