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
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
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: