fix-sus-pr

Automate GeoLens-rejected PR handling by classifying review comments and applying fixes.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/tecnologia-ibtech/geo-codex --skill fix-sus-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-sus-pr
Source: https://github.com/tecnologia-ibtech/geo-codex/tree/main/geo-sus/skills/fix-sus-pr
Command: npx skills add https://github.com/tecnologia-ibtech/geo-codex --skill fix-sus-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recebe uma PR do GeoLens com comentarios de rejeicao e age sobre ela: se o comentario eh valido, implementa o fix e faz push; se nao procede, comenta no PR explicando o motivo. Em ambos os casos, reenvia a PR ao GeoLens para nova revisao. Triggers: /fix-sus-pr <PR_URL>, 'corrigir PR rejeitada', 'responder revisao GeoLens', 'fix PR review'.

Core Features & Use Cases

  • Analisa os comentarios de revisão rejeitados e classifica cada um como valido ou nao procede.
  • Aplica o fix no branch correspondente, faz commit e push, e responde aos comentarios no PR.
  • Reenvia o PR para revisao no GeoLens via endpoint dedicado, preparando um novo ciclo de validação.

Quick Start

Envie o comando /fix-sus-pr <PR_URL> no PR do GeoLens para iniciar o processamento.

Frequently Asked Questions about fix-sus-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate fixes for pull requests rejected by code review?

Automating fixes for rejected pull requests involves inspecting review comments, applying code corrections to the branch, committing, and pushing the changes. This Skill automatically classifies comments as valid or invalid, applies fixes, and re-submits the PR for review.

What happens if a PR review comment is invalid or unjustified?

When a PR review comment is invalid, the automation posts a justified contestation directly on the pull request explaining why the suggestion is not applicable. It then triggers a new validation cycle via a dedicated HTTP endpoint to request another review.

Can I use GitHub CLI to respond to pull request reviews automatically?

Yes, you can use GitHub CLI alongside Git to automate responding to pull request reviews. The process checks out the branch, applies fixes, commits, pushes, and updates PR comments without manual intervention.

What is the workflow for re-submitting a rejected PR to GeoLens?

The workflow for re-submitting a rejected PR involves reading review comments, applying fixes or contestations, and pushing the updated branch. It then calls a dedicated HTTP endpoint to trigger the GeoLens recheck for a new validation cycle.

Do I need any specific environment setup to automate PR review responses?

You need Git and GitHub CLI installed in your environment to automate PR review responses. The automation uses these tools to read comments, checkout branches, push commits, and interact with a dedicated HTTP endpoint for triggering rechecks.