check
Installation
SKILL.md
Local Check Runner
Run every .continue/checks/*.md check against the current changes, just like the GitHub PR checks do in CI.
Workflow
1. Gather context (write to disk, NOT into your context)
- Run
git diff main...HEADand write it to/tmp/check-diff.patch. If the diff is empty, also trygit diff --cachedandgit diff.- Cap the diff: If the diff exceeds 3000 lines, truncate it to 3000 lines when writing. Add a final line:
\n... (diff truncated at 3000 lines). - Use a single bash command like:
git diff main...HEAD | head -3000 > /tmp/check-diff.patch
- Cap the diff: If the diff exceeds 3000 lines, truncate it to 3000 lines when writing. Add a final line:
- Run
git log main..HEAD --onelineand write it to/tmp/check-log.txt. - If there are no changes at all, tell the user and stop.
- Do NOT read these files back into your own context. The sub-agents will read them directly.