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".
Instalación
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
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: