Back to Commands

fix

Update an existing pull request with additional changes. Perfect for addressing code review feedback or making quick iterations.

Syntax

@Smart Workflow fix <PR_link> <changes>
@Smart Workflow fix <repo> <PR#> <changes>

Examples

Using full PR link
@Smart Workflow fix https://github.com/org/repo/pull/123 fix the button styling
Using repo name and PR number
@Smart Workflow fix api-service 45 add error handling for null inputs
Address review feedback
@Smart Workflow fix frontend 78 address review feedback: use memo for expensive calculation
Shorthand syntax
@Smart Workflow fix my-repo #42 fix typo in variable name

How it works

1

Fetches PR

Gets the existing PR branch

2

Reads changes

Understands current modifications

3

Makes updates

Applies additional changes

4

Commits & pushes

Pushes to the PR branch

5

Comments

Adds summary to the PR

Best for

Addressing code review

Quickly implement feedback from reviewers.

Quick fixes

Make small updates to existing PRs.

Iterating on features

Continue building on previous work.

⚠️ Important Notes

  • The PR must be open—you cannot update closed or merged PRs
  • Changes are pushed directly to the PR branch
  • A summary comment is automatically added to the PR

💡 Pro Tips

  • Copy the exact review feedback into your command for context
  • Reference specific files or functions that need changes
  • Use in the same thread as ship for context