nds-js-audit

Audit NDS JavaScript files for DRY/KISS violations, scalability risks, maintainability concerns, performance issues, security risks, and cross-file inconsistencies with nds-core.js references, reporting findings with file, line, rule ID, snippet, and suggested fixes, optionally filtered by rule group (performance, dry, security).

14|8|Updated Aug 16, 2025
One-click install
npx skills add https://github.com/mazin-musleh/NDS-vanilla --skill nds-js-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nds-js-audit
Source: https://github.com/mazin-musleh/NDS-vanilla/tree/main/.claude/skills/nds-js-audit
Command: npx skills add https://github.com/mazin-musleh/NDS-vanilla --skill nds-js-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits NDS JavaScript source to identify DRY/KISS violations, performance risks, maintainability concerns, and client-side security pitfalls across the _js directory.

Core Features & Use Cases

  • Rule-based per-file and cross-file JS quality checks aligned with nds-core.js conventions.
  • Reports findings with file, line, rule ID, offending snippet, and suggested fixes, enabling targeted improvements.
  • Supports scoped runs by rule group (performance, dry, security) and produces actionable remediation guidance.

Quick Start

Run the audit against the NDS JS sources for a chosen rule group (performance, dry, or security).

Frequently Asked Questions about nds-js-audit

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

FAQPage Schema
How do I audit NDS JavaScript source code for quality and security risks?

The NDS JavaScript audit checks for cross-file pattern inconsistencies by analyzing relevant _js files while referencing nds-core.js utilities. It identifies scalability risks, maintainability concerns, and DRY violations across the entire _js directory.

Can I run a JavaScript security audit on specific rule groups only?

Yes, the NDS JavaScript audit supports scoped runs by rule group, allowing you to target performance, DRY, or security checks specifically. This enables focused analysis on client-side security risks or performance issues without running the full audit suite.

What issues does an NDS JavaScript audit report identify?

The audit identifies DRY/KISS violations, scalability risks, maintainability concerns, performance issues, client-side security risks, and cross-file pattern inconsistencies. Findings are classified under JSP, JSD, or JSS categories with offending snippets and remediation guidance.

Which JavaScript files are excluded from the NDS audit scan?

The NDS JavaScript audit excludes nds-core.js, nds-loader.js, and nds-showcase.js from its analysis. All other relevant _js files in the directory are scanned for quality, performance, and security issues referencing nds-core.js conventions.

How do I fix DRY violations found in NDS JavaScript files?

The audit produces actionable remediation guidance for DRY violations, providing the file, line number, rule ID, offending snippet, and suggested fixes. You can use the targeted DRY rule group run to focus specifically on code duplication issues.