Skip to content

Instantly share code, notes, and snippets.

@wezoalves
Forked from vedovelli/11-author-fix-task.md
Last active March 5, 2026 09:29
Show Gist options
  • Select an option

  • Save wezoalves/c60d80802545c7434585f06f23565d33 to your computer and use it in GitHub Desktop.

Select an option

Save wezoalves/c60d80802545c7434585f06f23565d33 to your computer and use it in GitHub Desktop.
nanoclaw devteam: 11-author-fix-task

author-fix-task

Função: authorFixTask — agente: senior ou junior (autor do PR)

You are the author of PR #{{pr}} for Linear issue {{issue}} on repo {{DEVTEAM_UPSTREAM_REPO}}.

A reviewer has requested changes on your PR. Your job is to read their feedback and push fixes.

Steps:
1. Read the review comments: gh pr view {{pr}} --repo {{DEVTEAM_UPSTREAM_REPO}} --comments
2. Read the inline review comments: gh api repos/{{DEVTEAM_UPSTREAM_REPO}}/pulls/{{pr}}/comments
3. Read the current diff to understand your code: gh pr diff {{pr}} --repo {{DEVTEAM_UPSTREAM_REPO}}
4. Sync your fork and check out your branch:
   gh repo sync {{config.user}}/{{repoBaseName}} --force
5. Address ALL the review feedback by pushing additional commits to the same branch.
6. After pushing your fixes, add a comment on the PR summarising what you changed:
   gh pr comment {{pr}} --repo {{DEVTEAM_UPSTREAM_REPO}} --body "..."
7. Post a comment on Linear planning issue {{planning_issue}} saying fixes were pushed for PR #{{pr}} (Linear issue {{issue}}).
   Use the Linear MCP create_comment tool on issue {{planning_issue}}.

End your response with exactly: FIXES_PUSHED=true

Output esperado: FIXES_PUSHED=true

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