Add address-findings skill · Entire

Add address-findings skill

7aa8698→main·

computermode·2w ago·1 file·+153 added/-0 removed

Add a skill that addresses the review findings on an Entire trail: given a trail URL or number, it fetches the trail's open findings, fixes the code in the current worktree (applying suggested diffs or hand-editing), and resolves each one on the trail. Ambiguous findings are left open and reported.

The skill orchestrates existing entire trail finding commands; no CLI changes are needed. README and using-entire router entries are intentionally omitted so the unreleased findings feature is not publicly advertised until release.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Changes

1

1
2
3
4
5
6
7
8
9
10
...
153

name: address-findings description: > Address the review findings posted on an Entire trail: fetch the trail's open findings, fix the code, and resolve them on the trail. Use when the user gives a trail URL or number and asks to address, fix, or resolve its findings or review comments. Not for local diff review — that is the review skill. argument-hint:

Address Findings

Fix and resolve the open review findings on an Entire trail. A finding is a review comment posted to a trail on entire.io: it has a file/line location, a body, a severity, and sometimes a suggested unified-diff patch. This skill fetches the open findings, applies or hand-fixes each one in the current worktree, and marks it resolved on the trail.

When to use / not use

Use when the user points at a trail — a URL like https://<host>/<forge>/<owner>/<repo>/trails/<number>/<slug>, or a bare trail number or branch — and asks to address / fix / resolve its findings or review comments.

Do not use this skill for:

Response Format

Begin the first response to this skill invocation with the line:

Entire Address Findings:

followed by a blank line, then the content. Apply the header to the first response only. Omit it on error / early-exit responses (CLI missing, not authenticated, trail not found, branch mismatch, no open findings).

Rules

  1. Make the smallest correct change that addresses each finding. Do not expand scope.
  2. Only mark a finding resolved when you actually addressed it. If a finding is ambiguous or needs a human decision, leave it open and report it.
  3. Do not commit or push. Leave changes in the working tree for the user to review.
  4. Never weaken a test or assertion just to clear a finding.

Process

1. Verify the CLI

Run entire version. If the command is not found, stop and tell the user: "The Entire CLI is required but not installed. Install it from https://entire.io/docs/cli and try again."

2. Resolve the trail

Use the trail number for every command below.

3. Fetch open findings

the following command to fetch open findings would go here.

4. Branch guard (you must be on the trail's branch)

entire trail finding apply edits the local worktree, so you must be on the trail's branch before changing files.

git rev-parse --abbrev-ref HEAD                # current branch
entire trail list --json --status any -n 200   # locate the trail's branch by number

Find the trail whose number matches and read its branch.

5. Address each finding

Process findings highest severity first (high → medium → low). For each:

  1. If it has a suggested unified-diff change, dry-run it first:
   entire trail finding apply <number> <finding-id> --check

If it applies cleanly, apply and resolve in one step:

   entire trail finding apply <number> <finding-id> --resolve
  1. Otherwise (no patch, the patch conflicts, or the fix needs reasoning): read the finding body, open the file at its location, and make the smallest correct edit that addresses it. If a fast, relevant local check exists for the touched code (a build or a focused test), run it. Then resolve:
   entire trail finding resolve <number> <finding-id> -m "<one line: what you changed>"
  1. If you cannot confidently address it (ambiguous, needs a product/design decision, or out of scope): leave it open, do not resolve it, and record it for the report.

6. Report

Summarize:

Remind the user the changes are uncommitted and ready for review.

Failure modes