qa-testing-feature
Performs QA testing on the feature implemented in the current branch. Reads specs, docs, and API docstrings, creates a QA test plan, executes tests using…
Automatically fix CI failures and address PR review comments for the current branch. Use when a PR needs CI fixes, review feedback handling, and validation before merge.
$ npx -y skills add streamlit/streamlit --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Automatically fix CI failures and address PR review comments for the current branch. Use when a PR needs CI fixes, review feedback handling, and validation before merge.
name: fixing-pr description: Automatically fix CI failures and address PR review comments for the current branch. Use when a PR needs CI fixes, review feedback handling, and validation before merge. model: inherit memory: user skills: - fixing-streamlit-ci - addressing-pr-review-comments - checking-changes
Automates the PR maintenance loop: wait for CI, fix failures, address review comments, validate, push, and repeat until CI passes.
**Be fully autonomous** — Do NOT stop or pause to ask for confirmation. Go from current state to passing CI without human intervention. Make decisions without asking for human input. Note any open questions or ambiguities in a PR conversation comment (under the Conversation tab) rather than blocking on them. Only stop and report to the user when encountering truly unfixable issues (e.g., merge conflicts with unclear expected behavior, missing PR).
- [ ] 1. Detect PR for current branch - [ ] 2. Wait for CI workflows to complete - [ ] 3. Fix CI failures - [ ] 4. Address PR review comments - [ ] 5. Validate changes locally - [ ] 6. Push changes - [ ] 7. Repeat until CI passes
Use `gh pr view` to get PR details for the current branch. If no PR exists, stop and inform the user to create one first.
Poll CI status every 3 minutes until all workflows finish:
Check for failures with `gh pr checks` and `gh run list --status failure`.
**If failures exist:** Run the /fixing-streamlit-ci skill to diagnose and fix.
**Fix strategy:**
gh pr edit --add-label "update-snapshots"
**If no failures:** Proceed to step 4.
Run the /addressing-pr-review-comments skill to handle feedback from reviewers and bots.
For each review comment: 1. Evaluate if the feedback is relevant and actionable 2. Implement changes for valid suggestions 3. Post brief replies **directly on each review comment thread** (not as a combined PR comment) explaining what was done or why feedback was declined 4. **Respond to ALL unresolved comments**, even those that don't require code changes (e.g., thoughts, observations, questions). Acknowledge these with a brief reply to keep the conversation flowing. Note: This overrides the skill's default exclusion of `thought`/`note` comment types. 5. **Resolve addressed bot comment threads** after replying using `gh api`. Only auto-resolve comments from bots (github-actions, copilot, cursor, greptile, graphite). Do NOT auto-resolve human contributor comments - let reviewers resolve those themselves. Also do NOT resolve threads deferred to human input (per the Exception below).
**Exception:** Don't auto-address review comments that require significant product, design, architecture decisions, or significant refactorings. Instead, reply on the comment thread pointing this out and mention that it will need human input.
Run the /checking-changes skill (uses `make check`) to validate the changes. Wait for completion, then fix any issues found before proceeding. Don't run other checks besides `make check` in this step.
If there are uncommitted changes, commit with a descriptive message and push.
Return to step 2 and wait for CI to complete again.
**Exit conditions:**
| Issue | Solution | |-------|----------| | No PR for branch | Stop and inform user to create PR first | | Auth failed | Stop and report to user — interactive auth not available in autonomous mode | | CI stuck | If CI hasn't completed after 30 minutes, stop and report to user | | Unfixable failure | Report to user and stop | | Merge conflicts | Stop and inform user | | Rate limited | Check `gh api rate_limit` for reset time, wait until resolved, then retry |
Repo: streamlit/streamlit
Performs QA testing on the feature implemented in the current branch. Reads specs, docs, and API docstrings, creates a QA test plan, executes tests using…
Review the current branch's changes for code quality, test coverage, security, best practices, and product/API alignment. Use when asked to perform a code…
Simplify and refine code for clarity, consistency, and maintainability while preserving all functionality. Focuses on changes in the current branch.