Add An Oxlint Rule
- Treat the current repository as fixture context, not automatically as the central package checkout.
- Search available writable checkouts by their Git remote for
timmo001/oxlint-rules. If none exists, ask where the user wants to clone or fork it. Do not assume the user can write to the upstream account. - Read the central repository guidance, relevant plugin registration, config, nearby rules, tests, and README rule list.
- Define the narrow syntax contract. Add at least one failing fixture and one valid fixture before implementing the rule.
- Put generic upstream-independent rules under the appropriate locally owned
plugin. Never modify
vendor/anti-slop; propose an upstream contribution separately when Dylan Mulroy's plugin should own the behaviour. - Register the rule in its plugin. Verify the matching config and copy command
discover it from the plugin's
rulesmap, then update the README rule list and behaviour description. Keep skills workflow-only; do not duplicate rule or plugin inventories or counts in them. - Run
mise run check,mise run build,npm pack --dry-run, andbunx jsr@0.14.3 publish --dry-run --allow-dirtyin the central checkout. - If the user also asks to publish the change, load
release-oxlint-rulesand hand off the release after the rule checks pass. Do not duplicate or bypass its release workflow.
Report the fixture contract, registration and docs changed, checks, and any consumer rollout left for a separate stage. Do not publish or assume a local machine path.