| name | bug-checker |
| description | Use this skill when asked to create or modify an Error Prone `BugChecker`. It covers choosing the right module, implementing the checker and tests, and following the repository validation workflow.
|
Bug Checker
Use this skill for requests to add or change files in */bugpatterns/*.
Read .github/instructions/bug-checkers.instructions.md for
the full conventions. Then:
- Determine the target module based on the purpose of the checker:
error-prone-contrib (general-purpose), error-prone-experimental
(experimental), or error-prone-guidelines (covering Refaster and
BugChecker implementation best-practices).
- Implement the checker following the conventions in the instructions
(checker file structure and advanced patterns).
- Write the test following the test file structure conventions.
- Verify by running the tests.
- Review your changes following
.github/instructions/review.instructions.md.
- Follow the workflow described in
AGENT.md (mutation tests,
apply suggestions, full build).