skills/khoahyh/skills/greptile-address

greptile-address

SKILL.md

Greptile Address

Execute exactly one Greptile feedback pass for a PR. Do not run iterative retries.

Inputs

  • PR number (optional): If omitted, detect the PR from the current branch.

One-Pass Workflow

  1. Identify the PR and branch:
gh pr view --json number,headRefName -q '{number: .number, branch: .headRefName}'
  1. Ensure checks are current once:
    • If local commits are not pushed, push once.
    • Wait for checks once:
gh pr checks <PR_NUMBER> --watch
  1. Fetch the latest Greptile review and inline comments:
gh api repos/{owner}/{repo}/pulls/<PR_NUMBER>/reviews
gh api repos/{owner}/{repo}/pulls/<PR_NUMBER>/comments
  1. Read only the latest Greptile review (greptile-apps[bot] or greptile-apps-staging[bot]) and classify open comments as:

    • Actionable: needs code or test changes
    • Informational: no code change required
    • Already addressed: covered by newer commits
  2. Apply fixes for actionable comments once.

  3. Resolve threads that are addressed or informational using queries from references/graphql-queries.md.

  4. If files changed, create one commit and push once.

  5. Stop. Do not trigger a second Greptile run unless the user explicitly asks.

Reporting

Return a concise result summary with:

  • PR number and branch
  • Greptile confidence score (if present)
  • Actionable comments fixed
  • Threads resolved
  • Remaining unresolved comments

Use this format:

Greptile Address complete.
  Confidence:    X/5 (if available)
  Fixed:         N comments
  Resolved:      N threads
  Remaining:     N

If anything remains unresolved, list file + short reason for each remaining comment.

Resource

  • references/graphql-queries.md - GraphQL snippets for listing and resolving review threads.
Weekly Installs
1
Repository
khoahyh/skills
First Seen
1 day ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1