Run the project linter against a story's worktree. Quick pre-merge sanity check without running the full unit-tester pipeline. Use when the user says "/lint", "/lint story-X", or "lint story X".
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Run the project linter against a story's worktree. Quick pre-merge sanity check without running the full unit-tester pipeline. Use when the user says "/lint", "/lint story-X", or "lint story X".
args
[{"name":"story_id","type":"string","description":"Optional story ID to lint (e.g. story-042). If omitted, uses the current working directory."}]
Lint: {{story_id}}
Steps
Resolve worktree path:
If {{story_id}} is provided: call pm_get_story("{{story_id}}") → read the detail file to extract branch, then find the matching path from git worktree list.
If no story ID: use the current working directory as the project root.
If the story is not found or has no worktree, stop and report.
Detect linter:
Check for a lint script in the worktree's package.json: