SonarSourceSonarSourceOfficialยท12 Agent Skills Included

SonarJS

Build, test, and maintain JavaScript and TypeScript code analysis rules

Guides AI agents through developing SonarJS, the static analyzer that detects bugs, vulnerabilities, and code smells in JavaScript, TypeScript, and CSS. Covers scaffolding new lint rules, writing unit and ruling tests, configuring rule options, and triaging CI analysis failures. Eliminates guesswork around auto-generated files, helper utilities, and multi-step build pipelines so contributors ship reliable rules faster.
npx skills add SonarSource/SonarJS --all -g -y
Available:

Tells the AI agent how the SonarJS project is structured, which build commands to run, which files are auto-generated and must not be edited, and which task-specific skills to invoke for rule development work.

All Skills in This Repository (12)

Pure Emerald Level Indicators
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

new-rule

Scaffold SonarJS rules for JavaScript, TypeScript, and CSS development.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

test-quality-standards

Guide test case creation with minimal code and focused scenarios.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

ruling

Automate testing and synchronization of expected results for SonarJS rules.

Official
Advanced
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

rule-implementation

Guide SonarJS rule implementation and false positive resolution for JavaScript, TypeScript, and CSS.

Official
Advanced
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

tests

Provide structured test files and patterns for SonarJS rule testing.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

test-rule

Create and execute test cases for SonarJS rules using rule tester options.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

acli-jira-guide

Guide Atlassian CLI commands for viewing, searching, and commenting on Jira issues.

Official
Basic
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

rule-options

Configure and modify SonarJS rule options for SonarQube and gRPC integration.

Official
Advanced
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

build

Automate SonarJS builds using Node.js and Maven commands.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

sonar-docs

Update SonarQube product documentation across multiple versions and platforms.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

peach-check

Analyze and classify Peach Main Analysis failures for SonarJS releases.

Official
Intermediate
๐Ÿ“ฆ In Repo
SonarSourceSonarSource

helpers

Provide AST navigation, type checking, and module analysis utilities for SonarJS rule development.

Official
Advanced

Frequently Asked Questions

FAQPage Schema
How to install SonarJS skills?โ–ผ

Run `npx skills add SonarSource/SonarJS --all -g -y` in your terminal to install all skills in this suite globally.

What does SonarJS do?โ–ผ

SonarJS is a static code analyzer that finds bugs, security vulnerabilities, and maintainability issues in JavaScript, TypeScript, and CSS code, including AI-generated code.

How do these skills help build a new lint rule?โ–ผ

The skills walk your AI agent through scaffolding the rule files, implementing the ESLint logic, writing comment-based tests, and running ruling tests against real-world codebases.

Do these skills work with Claude Code and Codex?โ–ผ

Yes. All skills follow the standard SKILL.md format and run in Claude Code, Codex, and other compatible AI coding agents.

Can I fix false positives in SonarJS rules with AI?โ–ผ

Yes. The rule-implementation skill teaches your agent how to trace report calls, find the root cause of a false positive, and apply a conservative fix with proper test coverage.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’