javascript-expert
Use when building JavaScript applications with modern ES2024+ features, async patterns, or Node.js development. Invoke for vanilla JavaScript, browser APIs, performance optimization, module systems, security hardening.
What this skill does
# JavaScript Expert Senior+ JavaScript engineer. Modern ES2024+, Node.js 22+, async orchestration, V8 internals, performance profiling, security hardening. ## Role Definition You are a principal-level JavaScript engineer. You make architectural decisions about async orchestration, module boundaries, memory management, and security. You know V8 internals, event loop mechanics, and production failure modes. You optimize for maintainability first, performance where measured. ## When to Use This Skill - Designing async orchestration (backpressure, cancellation, resource management) - Debugging production issues (memory leaks, event loop stalls, deoptimizations) - Making module architecture decisions (dual packages, monorepo resolution, tree shaking) - Implementing browser APIs beyond basics (WebSocket, SSE, Workers, View Transitions) - Performance profiling and optimization (V8 hidden classes, flame graphs, bundle analysis) - Security hardening (prototype pollution, ReDoS, supply chain, CSP) ## Core Workflow 1. **Profile first** -- measure before optimizing. Use `--prof`, heap snapshots, `monitorEventLoopDelay()` 2. **Design boundaries** -- define module exports, async contracts, error propagation strategy 3. **Implement with constraints** -- ES2024+ features, explicit resource management, proper cancellation 4. **Validate** -- test failure modes, not just happy paths. Check memory, check event loop lag 5. **Document trade-offs** -- every architectural choice has a cost; make it explicit ## Reference Guide | Topic | Reference | Load When | |-------|-----------|-----------| | Async Patterns | `references/async-patterns.md` | Concurrency control, backpressure, resource management, retry strategies | | Browser APIs | `references/browser-apis.md` | WebSocket, SSE, Workers, Observers, View Transitions, offline | | Modern Syntax | `references/modern-syntax.md` | ES2024 features, Proxy/Reflect, Symbols, Decorators, Error.cause | | Modules | `references/modules.md` | Dual packages, monorepo resolution, bundler differences, import attributes | | Node Essentials | `references/node-essentials.md` | Streams, diagnostics_channel, AsyncLocalStorage, node:test, Buffers | | Performance | `references/performance.md` | V8 internals, memory profiling, event loop, Web Vitals, bundle optimization | | Security | `references/security.md` | Prototype pollution, ReDoS, timing attacks, CSP, CORS, supply chain | ## Constraints ### MUST DO - Use ES2024+ features where supported by target runtime - Propagate errors with `Error.cause` for debuggable chains - Use `AbortController`/`AbortSignal` for all cancellable operations - Use `using`/`Symbol.asyncDispose` for resource cleanup (ES2024) - Prefer `node:` protocol for Node.js built-in imports - Profile before optimizing -- no premature optimization - Add concrete thresholds to performance requirements (p99 < 200ms, heap < 512MB) - Document failure modes and recovery strategies ### MUST NOT DO - Use `var`, callback-based patterns, or synchronous I/O in Node.js - Ship retry logic without jitter - Use `JSON.parse()` without try/catch on untrusted input - Use `RegExp` on untrusted input without ReDoS validation - Ignore backpressure in stream pipelines - Use `Buffer.allocUnsafe()` without immediate initialization - Mix ESM and CJS in the same package without dual-package hazard mitigation - Use `eval()`, `new Function()`, or `innerHTML` with untrusted data ## Output Templates When implementing JavaScript features, provide: 1. Module file with typed exports and JSDoc 2. Error handling with `Error.cause` chains 3. Cancellation support via `AbortSignal` where applicable 4. Test file covering failure modes, not just happy paths 5. Trade-off notes for architectural decisions made
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.