external/ag-shared/prompts/skills/code-fixup/SKILL.md
Focusing on ${ARGUMENTS}, follow these steps:
Run the yarn nx build, yarn nx lint commands to identify any errors or warnings.
Group the errors and warnings into categories.
Identify examples of how to fix each category of error.
Orchestrate sub-agents to focus on specific groups of errors so they can efficiently make fixes.
Verify the fixes by running the yarn nx build, yarn nx lint commands again.
The only exception is if the user has explicitly asked to change the build, lint or typecheck configurations to workaround errors or warnings, or after we have very clearly asked if that is allowed and the user has confirmed.
yarn nx build, yarn nx lint show no warnings or errors.mcp__ide__getDiagnostics tool to check for any errors or warnings in the codebase in the user's IDE. If IDE MCP is unavailable (e.g. in CLI mode), verify via yarn nx build:types and yarn nx lint instead.