Pre-PR local review for ai-worker, covering subprocess safety, stage/enum invariants, and audit-log completeness. Use before opening a PR against this repo.
Resources
1Install
npx skillscat add hoang-phan/ai-worker/ai-worker-review Install via the SkillsCat registry.
SKILL.md
ai-worker-review
Reviews the diff against main (or --staged / --working if passed) using git -C <repo> diff <args> — never cd <repo> && git diff, for the same non-interactive-safety reason the app's own services avoid cd && strings.
- Get the diff:
git -C . diff main...HEAD(or the requested range). - Load
assets/review-checklist.md— the stable, rarely-changing review criteria for this app. - For each changed file, map it to the relevant narrow skill (
ai-worker-domain,ai-worker-orchestration,ai-worker-ui) and re-read that skill's file map fresh, rather than assuming this review's own memory of the codebase is current. - Apply the checklist to the diff. Output format:
<file>:<line> — <SEVERITY> — <message>, then a summary line with BLOCKING/HIGH/MEDIUM/LOW counts. - Stop after reporting — this skill does not commit, push, or open a PR. Hand off to a
pr-create-style skill for that, if one is available in this project.