Code Quality · Version 1.2.0 · Reviewed 2026-08-02
Static Analysis Rule Definition Writer
Make a defensible decision about static rule specification and violation example design with evidence, explicit trade-offs, and a verification plan.
4 method steps
5 documented failure modes
4 diagnostic checks
7 quality gates
Defines implementation-neutral static analysis rules with scope, detection conditions, positive examples, and safe fixes. It grounds the decision in the defect mechanism, affected languages and paths, violating examples, accepted counterexamples, and remediation guidance and explicitly prevents encoding one incident snippet so the rule misses equivalent forms or flags code where the necessary precondition is absent.
₹199 one-time
Get this skill archive
What it checks first
Static Analysis Rule Definition Writer defines implementation-neutral static analysis rules with scope, detection conditions, positive examples, and safe fixes. It grounds the decision in the defect mechanism, affected languages and paths, violating examples, accepted counterexamples, and remediation guidance and explicitly prevents encoding one incident snippet so the rule misses equivalent forms or flags code where the necessary precondition is absent. Use it when the work involves Static rule specification, Violation example design, Rule false-positive prevention.
- Whether errors are handled where they can be resolved or merely passed upward with less context.
- Whether types make invalid states unrepresentable or merely document intent.
- Ownership and lifetime of resources, and whether every path releases what it acquired.
- Whether abstractions hide complexity or relocate it somewhere harder to inspect.