lint-build-loop
Installation
SKILL.md
Lint + Build Loop
Goal
Repeatedly run npm run lint && npm run build, fix any errors that appear, and rerun until both commands succeed.
Workflow
-
Confirm working directory
- Run in the project root that contains the
package.jsonthe user intends. - If multiple roots exist, ask the user to choose.
- Run in the project root that contains the
-
Run the loop
- Execute
npm run lint && npm run build. - Run this as a single sequential shell command joined with
&&. - Do not split these steps across subagents or run them in parallel.
- If it fails, read the error output, fix the underlying issues, and rerun the same command.
- Continue until the command exits successfully.
- Execute