lint-build-loop

Run `npm run lint && npm run build` in a loop, fixing errors until both succeed. Use when the user asks to iterate on lint/build failures.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "lint-build-loop" with this command: npx skills add dolesshq/self-obsolescence/dolesshq-self-obsolescence-lint-build-loop

Lint + Build Loop

Goal

Repeatedly run npm run lint && npm run build, fix any errors that appear, and rerun until both commands succeed.

Workflow

  1. Confirm working directory

    • Run in the project root that contains the package.json the user intends.
    • If multiple roots exist, ask the user to choose.
  2. 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.
  3. Failure handling

    • If the same error repeats after fixes, pause and ask the user for guidance.
    • If a fix is ambiguous or risky, explain the tradeoff and ask before proceeding.
  4. Reporting

    • Summarize the fixes made and confirm the final successful run.
    • Provide the exact command used and the directory it was run in.

Notes

  • Subagents are appropriate only for independent analysis/fix work, not for executing this ordered command chain.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

review-plan-implementation

No summary provided by upstream source.

Repository SourceNeeds Review
General

execute-plan

No summary provided by upstream source.

Repository SourceNeeds Review
General

supabase-reset-test-gen-loop

No summary provided by upstream source.

Repository SourceNeeds Review
General

summarize-changes

No summary provided by upstream source.

Repository SourceNeeds Review