rule-implementation
OfficialExpert guidance for SonarJS rule implementation and false positive resolution.
Software Engineering#rule implementation#rule configuration#SonarJS#false positive resolution#AST traversal
AuthorSonarSource
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive guidance for implementing and fixing SonarJS rules, including resolving false positives and understanding rule configurations.
Core Features & Use Cases
- Rule Implementation Guidance: Offers detailed steps and best practices for implementing SonarJS rules.
- False Positive Resolution: Helps identify and resolve false positives by analyzing rule implementations and control flows.
- Rule Configuration Architecture: Explains the configuration layers and workflows for external rule configurations.
- AST Traversal Strategy: Provides strategies for efficient and safe AST traversal in rule implementations.
- Type Safety: Offers guidelines for maintaining type safety in TypeScript rule implementations.
- FP Remediation Quality: Ensures high-quality remediation by avoiding suppressions that are not justified.
- Decorator Design: Offers best practices for designing decorators that correctly identify owning components.
- Code Style: Provides recommendations for maintaining clean and efficient code style in rule implementations.
Quick Start
Use the rule-implementation skill to learn how to implement a new SonarJS rule or resolve a false positive in an existing rule.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rule-implementation Download link: https://github.com/SonarSource/SonarJS/archive/main.zip#rule-implementation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.