Address reviews

From FastLED/FastLED · View interactive version

Address reviews is an AI agent skill from the GitHub repository FastLED/FastLED. Fetch CodeRabbit review comments on the current PR, classify each finding, apply fixes for valid issues, and reply to each thread. Use before attempting gh pr merge when CodeRabbit has posted a review. Blocks merge on unresolved threads. Routes security-critical findings to a human.

How to use this skill

Skill file

Address CodeRabbit review comments on a PR end-to-end: fetch, classify, fix, reply, commit, push. See ci/tools/coderabbit_addressor.py for the helper that drives the workflow.

Arguments: $ARGUMENTS

Workflow

  1. Fetch comments. Run:

```bash

uv run ci/tools/coderabbit_addressor.py $ARGUMENTS --plan

```

This prints a JSON plan listing every unresolved CodeRabbit comment, classified into one of four buckets:

  1. Review the plan. For each valid-fix, read the file/line being flagged and decide the concrete change. For false-positive, draft the reply. Do not touch anything in security-flag — leave it for a human reviewer.
  1. Apply fixes one comment at a time. Edit the referenced file, re-read to confirm the change is correct, and stage it.
  1. Reply to each thread via:

```bash

uv run ci/tools/coderabbit_addressor.py $ARGUMENTS --reply <comment-id> "<message>"

```

Keep replies terse: either "Fixed in <commit-sha-short>" or a one-sentence rationale for disagreement.

  1. Commit and push using a conventional-commit-format message that lists each addressed comment:

```

fix: address CodeRabbit review feedback

```

  1. Re-run the plan. If valid-fix count hits zero and no security-flag remains, the PR is ready to merge. Otherwise iterate — hard limit: 3 passes.

Safety rails

When to invoke

When NOT to invoke

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.