Skip to content

chore(devex): delete the reviewing-before-pr skill - #90912

Merged
trunk-io[bot] merged 1 commit into
masterfrom
chore/remove-local-greptile-review
Aug 28, 2026
Merged

chore(devex): delete the reviewing-before-pr skill#90912
trunk-io[bot] merged 1 commit into
masterfrom
chore/remove-local-greptile-review

Conversation

@gantoine

@gantoine gantoine commented Aug 28, 2026

Copy link
Copy Markdown
Member

Problem

An agent told only to build a feature and open a PR ran a full local code review on its own. It fanned out parallel agents over a 2,400-line diff and spent over a hundred dollars of one person's tokens. Nobody asked for it.

The reviewing-before-pr skill described itself as covering "a review before opening or pushing a PR". A task that says to open a PR matches that. The skill then names /code-review as the thing to run, so a routine instruction reached an expensive fan-out with no one deciding to spend.

Changes

  • An agent told to open, push, or prepare a PR now opens the PR. No skill loads, and no review runs.
  • Deletes .agents/skills/reviewing-before-pr/SKILL.md, the last file from feat(devex): local greptile review before opening a PR #88409.
  • Someone who wants a local review still asks for one. /code-review is a harness skill and needs nothing from this repo.

Narrowing the description was the alternative. Deleting wins because the skill's remaining content is "run /code-review, then write the findings in the PR description", which an agent does not need a skill to be told.

#90039 removed the mandatory AGENTS.md entry and the PR-template rule. #90504 removed the hogli review command. Nothing else in the repo references the skill, so this is the last piece.

How did you test this code?

Automatic notifications

  • Publish to changelog?

Docs update

None. The skill is agent guidance under .agents/skills/, and nothing under docs/ describes it.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

  • Built with Claude Code (Opus 5), directed by the assignee, after a teammate reported the unprompted review in Slack.
  • Skills invoked: /writing-skills, /writing-pr-descriptions.
  • The session tried narrowing the skill's trigger first, then deleted it on the assignee's call.
  • Also removed the leftover Greptile CLI from the machine that ran this session, which chore(devex): remove the greptile cli review, keep the skill #90504 stopped installing.
  • No local review ran on this branch, for the reason this PR exists.

@gantoine gantoine added the skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs label Aug 28, 2026
@gantoine gantoine self-assigned this Aug 28, 2026
@trunk-io

trunk-io Bot commented Aug 28, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@gantoine
gantoine marked this pull request as ready for review August 28, 2026 14:02
Copilot AI lite review requested due to automatic review settings August 28, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 CI report

Trunk lane — non-backend lane

This PR is assigned to the non-backend lane. It does not run backend Python tests and may merge in parallel with PRs in other lanes.

@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "chore(devex): remove the reviewing-befor..." | Re-trigger Greptile

@gantoine
gantoine force-pushed the chore/remove-local-greptile-review branch from 4b8a49d to 07b81ba Compare August 28, 2026 14:06
@gantoine gantoine changed the title chore(devex): remove the reviewing-before-pr skill chore(devex): stop the pre-pr review skill from firing unasked Aug 28, 2026
@gantoine
gantoine marked this pull request as draft August 28, 2026 14:06
A task that only said to open a PR matched the skill's description,
which then pointed at the harness code review. That fans out parallel
agents and cost one person over a hundred dollars on a 2,400-line diff.

#90039 and #90504 already removed the mandatory rules and the hogli
review command. Nothing else references the skill.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@gantoine
gantoine force-pushed the chore/remove-local-greptile-review branch from 07b81ba to 503af4e Compare August 28, 2026 14:07
@gantoine gantoine changed the title chore(devex): stop the pre-pr review skill from firing unasked chore(devex): delete the reviewing-before-pr skill Aug 28, 2026
@gantoine
gantoine marked this pull request as ready for review August 28, 2026 14:15
@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Reviews (2): Last reviewed commit: "chore(devex): delete the reviewing-befor..." | Re-trigger Greptile

@trunk-io
trunk-io Bot merged commit 5e0c644 into master Aug 28, 2026
285 checks passed
@trunk-io
trunk-io Bot deleted the chore/remove-local-greptile-review branch August 28, 2026 14:35
@deployment-status-posthog

deployment-status-posthog Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-08-28 14:57 UTC Run
prod-us ✅ Deployed 2026-08-28 15:24 UTC Run
prod-eu ✅ Deployed 2026-08-28 15:26 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-agent-review Save $$$, skip auto agent reviews (Greptile) — use for trivial or chore PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants