rule-implementation

Official

Expert guidance for SonarJS rule implementation and false positive resolution.

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.