/nsolid-plugin:ns-optimize-functionfrom N|Solid Plugin
Optimizes a specific local Node.js function by analyzing context, measuring baseline performance, proposing a behavior-preserving rewrite, and validating improvement via A/B benchmarking.
Ships in N|Solid Plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This is the grounding step. Do not write any optimization yet.
Measure before changing anything — optimization without a baseline is guessing.
ns-benchmark-run skill to benchmark the current implementation. It builds the benchmark inputs and runs the measurement.ns-validate-optimization skill to verify the improvement. It builds the benchmark inputs, runs the A/B comparison between the original and optimized code, and retries up to 3 times until the improvement clears the effectiveness threshold.run_benchmark, get_benchmark_result, compare_benchmarks, the retry loop) — ns-validate-optimization owns all of that.ns-validate-optimization owns the full benchmark report, save-to-disk prompt, and benchmark evidence/logs.ns-benchmark-run and ns-validate-optimization.ns-validate-optimization compares the same contract — a different one invalidates the A/B comparison.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nodesource/nsolid-plugin --plugin nsolid-plugin18 skills in this plugin
/ns-advanced-memory-leak-hunterPerforms an advanced N|Solid memory leak hunt comparing baseline vs peak heap evidence to isolate retained constructors, closures, and retainer paths. Use when the user reports recurring/staircase memory growth, elusive leaks, retained objects, closures holding references, or a standard heap sample/snapshot analysis was inconclusive. Prefer supplied baseline/peak assets; capture new samples only when needed./ns-analyze-assetAnalyzes an existing N|Solid diagnostic asset by asset ID or local asset path using asset-summary. Use when the user asks to inspect, review, summarize, or interpret an already-captured CPU profile, heap profile, heap sample, or heap snapshot, including assets just produced by ns-generate-asset. Do not use to capture new profiles/snapshots./ns-analyze-eventInvestigates an existing N|Solid event payload and correlates relevant MCP evidence. Use when the user provides or references an event such as process-blocked, new-vulnerability-found, agent-exit, uncaught exception, stack trace, span data. Routes follow-up to CPU, memory, vulnerability, or tracing workflows when needed./ns-analyze-tracingAnalyzes N|Solid/OpenTelemetry tracing evidence for request latency, HTTP errors, and service dependencies. Use when the user asks about slow endpoints, API timeouts, distributed traces/spans, N+1 queries, await chains, microservice latency, cascading failures, or trace IDs. Query N|Solid only when no trace data was provided. Builds the span waterfall with `tracing-detail` when the console offers it./ns-analyze-vulnerabilitiesAnalyzes live runtime vulnerabilities loaded by connected N|Solid Node.js processes. Use when the user wants to know which CVEs are actually present in running apps, active exploitable/live vulnerabilities, zero-day exposure, supply-chain risk in production, or production package risk. For static npm-audit-style project dependency scans, use ns-audit-dependencies instead./ns-audit-dependenciesAudits a local Node.js project dependency tree with NCM vulnerability data. Use when the user asks for an npm audit-style security review, package CVEs, direct/transitive vulnerability report, dependency risk assessment, or remediation plan before upgrading. For vulnerabilities actually loaded in running N|Solid processes, use ns-analyze-vulnerabilities instead.2 plugins ship this exact skill · first indexed Jul 15, 2026
Other plugins' skills for the same job