MCP.so
登录
测试manual

Lint and Typecheck Fix

Run lint and typecheck, fix reported issues, and loop until the codebase is clean.

启动提示词

Start the "Lint and Typecheck Fix" loop.

Goal: lint and typecheck are clean
Max iterations: 8
Between iterations run: npm run lint && npx tsc --noEmit
Exit when: both commands exit 0

Step 1: Run lint and typecheck. Fix reported issues with minimal diffs, then repeat.

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

基本信息

分类

测试

目标

lint and typecheck are clean

最大迭代次数

8

检查命令

npm run lint && npx tsc --noEmit

退出条件

both commands exit 0

支持的智能体

Cursor

步骤

  1. 1

    Run lint and typecheck

    Run lint and TypeScript checks.

    npm run lint && npx tsc --noEmit
  2. 2

    Fix issues

    Fix lint and type errors with minimal changes. Do not disable rules unless necessary.

更多 测试 相关内容