sonar-properties

Generate SonarQube configuration files for Vue.js projects with auto-detected test frameworks.

Updated Nov 20, 2025
One-click install
npx skills add https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template --skill sonar-properties
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sonar-properties
Source: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template/tree/main/.github/agents/app-starter/agents-context/skills/sonar-properties
Command: npx skills add https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template --skill sonar-properties

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a ready-to-run SonarQube configuration for Vue.js projects by auto-detecting the test framework (Vitest/Jest) and mapping coverage paths.

Core Features & Use Cases

  • Auto-detects test framework from package.json to choose coverage reporting paths.
  • Configures sonar-project.properties with projectKey/projectName derived from application_name and a descriptive projectDescription.
  • Builds coverage exclusions dynamically based on common project structure (src/main.ts, services, routers, interfaces, constants) and ensures UTF-8 encoding, git SCM provider, and QC wait setting.

Quick Start

Provide the application_name config and run the SonarQube properties generator to produce sonar-project.properties with detected test framework and coverage paths.

Frequently Asked Questions about sonar-properties

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a SonarQube configuration for a Vue.js project?▼

You can generate a SonarQube configuration for a Vue.js project by providing the application name, allowing the generator to auto-detect Vitest or Jest from package.json and map coverage paths into sonar-project.properties.

How does auto-detection work for Vitest and Jest coverage paths in SonarQube?▼

Auto-detection for Vitest and Jest coverage paths works by reading the package.json file to identify the active test framework, then dynamically configuring the sonar-project.properties coverage report locations based on that specific framework.

Can I use this to automatically exclude specific files like services and routers from SonarQube coverage?▼

Yes, you can automatically exclude specific files like services, routers, interfaces, and constants from SonarQube coverage. The generator builds exclusions dynamically based on common project structures alongside the src/main.ts file.

Does the generated sonar-project.properties file configure SCM and encoding settings?▼

Yes, the generated sonar-project.properties file configures SCM and encoding settings by enforcing UTF-8 encoding, setting git as the SCM provider, and enabling the QC wait setting for the Vue.js project analysis.

What do I need to provide to start generating SonarQube properties for my TypeScript project?▼

To start generating SonarQube properties for your TypeScript project, you only need to provide the application_name config. The generator handles test framework detection, projectKey derivation, and coverage exclusions automatically.

Are there limitations when mapping coverage paths for Vue.js projects in SonarQube?▼

A limitation when mapping coverage paths for Vue.js projects in SonarQube is that the generator relies on predefined common project structures like src/main.ts and specific directories, meaning non-standard file layouts may require manual adjustments after generation.