A Claude Code quality gate before calling code work done
This workflow tries to reduce a common problem with Claude Code: it may say a coding task is finished even when the code still has s, lint problems, s, or other quality issues. A called `pre-flight-check` works as a before the task can be marked done.
It runs checks in order: , lint, test, and . If any check fails, it stops immediately and sends Claude clear feedback such as the file, line, and rule involved.
It also tries to block common shortcuts, such as adding `@ts-ignore` or deleting tests to hide the problem. It can detect Node.js and Python and uses the tools already present in the project.
Key points
- Claude Code can report a task as complete even when code checks still fail.
- The `pre-flight-check` skill runs , lint, test, and steps.
- The workflow stops at the first failure and gives Claude structured error details.
- It aims to prevent shortcuts like `@ts-ignore` or deleting s.
- It detects Node.js and Python and uses existing project tools.