| name | refaster-rule |
| description | Use this skill when asked to create or modify Refaster rules in this repository. It covers choosing the right rule collection, updating test fixtures and registration, and following the repository validation workflow.
|
Refaster Rule
Use this skill for requests to add or change files in */refasterrules/*.
Read .github/instructions/refaster-rules.instructions.md
for the full conventions. Then:
- Determine the target collection based on the topic: add to an existing
{Topic}Rules.java or create a new one.
- Implement the rule following the conventions in the instructions (rule
file structure and advanced patterns).
- Write the test input and output files following the test conventions.
- Register the collection (if new) in
RefasterRulesTest.java.
- Verify by running the tests.
- Review all changes against
.github/instructions/review.instructions.md.
- Follow the workflow in
AGENT.md (apply suggestions, full
build).