finn-review
Review open PRs against their linked Linear issues and required GitHub checks, then post a three-group verdict with Finn-loop labels. Use when asked to run…
Claim the next safe agent-ready issue from Linear, implement it, and open a PR. Use when asked to run Finn-loop's builder, work the approved queue, or fix Finn-loop review feedback. Designed for /loop; one pass does one unit of work.
$ npx -y skills add finna/Finn-loop --skill finn-build --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/finn-buildContext preview
The summary Claude sees to decide when to auto-load this skill.
Claim the next safe agent-ready issue from Linear, implement it, and open a PR. Use when asked to run Finn-loop's builder, work the approved queue, or fix Finn-loop review feedback. Designed for /loop; one pass does one unit of work.
name: finn-build description: Claim the next safe agent-ready issue from Linear, implement it, and open a PR. Use when asked to run Finn-loop's builder, work the approved queue, or fix Finn-loop review feedback. Designed for /loop; one pass does one unit of work.
One pass = one unit of work: fix review feedback on one existing PR, or build one issue end to end. Under `/loop`, each iteration runs this skill once.
Before changing Linear, GitHub, branches, or files:
`gh repo view --json defaultBranchRef --jq .defaultBranchRef.name`; never assume it is `main`.
is dirty, report the paths and end the pass. Never stash, reset, overwrite, or commit unrelated work.
List open PRs labeled `loop-changes-requested`, including their labels:
gh pr list --state open --label loop-changes-requested --json number,title,headRefName,headRefOid,labels,updatedAt,url
Skip every PR carrying `needs-human-review`; it has left the automated repair queue until a human resolves the escalation.
If any PR remains, choose the least recently updated one. Read its linked Linear issue and latest `Finn-loop review of COMMIT_SHA` verdict. Check out its branch, fix only the "Must fix before merge" items, run the relevant checks, push, remove `loop-changes-requested`, and comment with what changed. End this pass.
If a proposed fix would cross an issue non-goal or requires a product decision, do not implement it. Comment the exact conflict, add `needs-human-review`, remove `loop-changes-requested`, and end the pass. This prevents the next loop iteration from retrying a decision only a human can make.
Using the Linear connector, list issues on team `TEAM` that meet every condition:
Sort by priority, then oldest first. If the queue is empty, say so and end the pass. Do not invent work and do not pick a blocked issue.
Assign yourself and move the issue to the team's started workflow state (prefer `In Progress` when available). Claim before reading deeply or writing code. Re-fetch the issue immediately after the update; if it is blocked, assigned to somebody else, or no longer `agent-ready`, do not work it and return to step 2.
The assignee prevents different people from taking the same issue. It is not an atomic lock between simultaneous sessions authenticated as the same Linear user, so only one builder loop may run per team.
Fetch the full issue including comments and relations. Implement only its acceptance criteria. Non-goals are binding. Compare every `AC-N` against every `NG-N` before editing. No unrelated changes and no opportunistic refactors.
If an acceptance criterion is ambiguous, conflicts with a non-goal, or depends on an unresolved blocker, go to step 8. Never guess.
named `TEAM-NNN-short-slug`, using the issue's real identifier.
architecture, and naming.
integrations, or user-visible behavior.
Run the project's relevant lint, typecheck, build, and narrowest useful tests. All checks attributable to this change must pass before opening a PR. If a broad check has a pre-existing unrelated failure, run the relevant targeted check, preserve the evidence, and disclose both results in the PR.
Review `git diff` and `git status` before shipping. Stop if the diff contains unrelated work or generated secrets.
Push and open a PR with `gh pr create`. Its description must include:
`NG-N`, and `Other behavior changes: None`
If `Other behavior changes: None` is not true, stop and get the Linear issue amended before opening the PR.
Comment the PR URL on the Linear issue. Move it to the team's review state if one exists; otherwise leave it in the started state for the Linear-GitHub integration to manage. Never merge and never enable auto-merge. End the pass.
Comment one specific question a human can answer asynchronously, apply the `blocked` label, and unassign yourself. Leave `agent-ready` in place: the pick query explicitly excludes `blocked`, so the issue safely reappears only after a human answers and removes that label.
Never use "this is unclear" as the question. State the exact decision, the available options, and which acceptance criterion it affects. End the pass so the next iteration can pick different work.
Three Claude Code skills that turn Linear + GitHub into a small, human-gated AI software factory: **idea → /finn-spec interviews you and files the issue → you label it agent-ready → /finn-build claims it and opens a PR → /finn-review posts a verdict → you
Repo: finna/Finn-loop
Review open PRs against their linked Linear issues and required GitHub checks, then post a three-group verdict with Finn-loop labels. Use when asked to run…
Interview the user about a raw idea until confident, then file a build-ready issue in Linear. Use when asked to run Finn-loop's spec interview, draft a…