Skip to content
Skills Library
Programming · Building & coding

modern-javascript

/modern-javascript

Implement or debug JavaScript language behavior, including promise completion, async iteration, mutation, and runtime compatibility. Use for ECMAScript semantics or polyfill/transform choices; not unrelated framework or TypeScript type design.

Licence
MIT
Last repository change
12.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
12
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 12.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Implement or debug JavaScript language behavior, including promise completion, async iteration, mutation, and runtime compatibility. Use for ECMAScript semantics or polyfill/transform choices; not unrelated framework or TypeScript type design.

Original author description

Implement or debug JavaScript language behavior, including promise completion, async iteration, mutation, and runtime compatibility. Use for ECMAScript semantics or polyfill/transform choices; not unrelated framework or TypeScript type design.

How it works

  1. Work against the target
  2. Preserve semantics
  3. References
Original SKILL.md headings · 42 lines, 386 words
SKILL.md preview
---
name: modern-javascript
description: Implement or debug JavaScript language behavior, including promise completion, async iteration, mutation, and runtime compatibility. Use for ECMAScript semantics or polyfill/transform choices; not unrelated framework or TypeScript type design.
---

# Modern JavaScript

Keep specification status, runtime support, and toolchain support separate. The user's explicit instructions take precedence over this skill's guidelines.

## Work against the target

Use the relevant JavaScript, required behavior, and declared runtime as input. Inspect `engines`, browser targets, lockfiles, and build configuration as needed for the feature. Do not invent a baseline or upgrade runtimes merely to use newer syntax.

Prefer a supported standardized feature. A proposal can fit when the user/project chooses it and a maintained transform or polyfill implements the required revision. Bundled edition and support tables are dated snapshots; verify changing status against the sources below.

## Preserve semantics

- Keep mutation, property access, iterator consumption, evaluation order, error propagation, and concurrency behavior intact when modernizing.
- Distinguish syntax transforms from runtime polyfills. TypeScript declarations do not supply missing runtime APIs.
- Treat iterator helpers as lazy and single-pass; `Array.fromAsync` consumes sequentially, while `Promise.all` observes already-started work concurrently.
- Do not use `forEach(async ...)` when completion must be awaited. Rejection and timeouts do not cancel underlying work by themselves.
- Distinguish host APIs such as `fetch` and `structuredClone` from ECMA-262 features, and `Intl` from the separate ECMA-402 standard.
- Do not introduce withdrawn Records & Tuples syntax or silently switch between legacy and standard-style decorator semantics.

Deliver the requested code or explanation, noting a required compatibility path when relevant. Verify changed behavior and any fallback that ships; select checks proportional to the change rather than requiring every project check for a syntax answer.

## References

Load the semantic or compatibility topic needed, not every edition.

| Task | Reference |
|---|---|
| Runtime targets, Babel, TypeScript, polyfills | [COMPATIBILITY.md](references/COMPATIBILITY.md) |
| Async functions and early annual additions | [ES2016-ES2017.md](references/ES2016-ES2017.md) |
| Object spread, async iteration, RegExp, flattening | [ES2018-ES2019.md](references/ES2018-ES2019.md) |
| Classes, property checks, change-by-copy | [ES2022-ES2023.md](references/ES2022-ES2023.md) |
| Grouping, promise resolvers, buffers, Unicode sets | [ES2024.md](references/ES2024.md) |
| Set/iterator helpers, import attributes, RegExp | [ES2025.md](references/ES2025.md) |
| ES2026 additions such as `Array.fromAsync` | [ES2026.md](references/ES2026.md) |
| Temporal, resource management, proposals, withdrawn syntax | [UPCOMING.md](references/UPCOMING.md) |
| Promise combinators and error behavior | [PROMISES.md](references/PROMISES.md) |
| Pools, retries, cancellation, async iteration | [CONCURRENCY.md](references/CONCURRENCY.md) |
| Compact syntax lookup | [CHEATSHEET.md](references/CHEATSHEET.md) |

Use [frozen ECMA-262 editions](https://262.ecma-international.org/) for edition membership, [TC39 proposals](https://github.com/tc39/proposals) for proposal status, and official runtime/toolchain documentation for availability.
Files in this package (12)
  • SKILL.md 3 KB
  • references/CHEATSHEET.md 13 KB
  • references/COMPATIBILITY.md 10 KB
  • references/CONCURRENCY.md 8 KB
  • references/ES2016-ES2017.md 5 KB
  • references/ES2018-ES2019.md 9 KB
  • references/ES2022-ES2023.md 9 KB
  • references/ES2024.md 8 KB
  • references/ES2025.md 11 KB
  • references/ES2026.md 8 KB
  • references/PROMISES.md 7 KB
  • references/UPCOMING.md 10 KB

Versions

The database has no other skills named modern-javascript.

Database snapshot: 13.11.2026 · package version 386fb584884e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100javascript-pro
    Create and debug modern JavaScript code with ES6+, async patterns, and Node.js APIs. Use when working on runtime behavior, promises, or browser and Node compatibility.
  • 100javascript-expert
    Expert-level JavaScript development with modern ES2024+ features, Node.js, npm ecosystem, and best practices. Use when the user mentions ECMAScript, ES2024, Node.js, npm, or web, or when the task involves Modern JavaScript, Node.js Development, Modern Tooling, or Functional Programming.
  • 100javascript-es2024-deep-dive
    Use this skill when utilizing modern ECMAScript features including Temporal API, Symbols, Proxies, and structuredClone for clean code.
  • 90neo-javascript
    Use this skill when writing, reviewing, debugging, or modernizing JavaScript across browser, Node.js, and pure JS projects. Trigger for ES module/CommonJS issues, async patterns, functional array/set/iterator code, DOM/runtime behavior, or version-aware ECMAScript syntax.
  • 100bun-runtime
    Use when working with Bun's runtime APIs including file I/O, HTTP servers, and native APIs. Covers modern JavaScript/TypeScript execution in Bun's fast runtime environment.
  • 100js-modern
    Write modern JavaScript and TypeScript — ES6+ features, async/await, modules, destructuring, optional chaining, TypeScript types, and modern tooling. Use when writing JavaScript/TypeScript for BigCommerce themes, apps, or headless storefronts.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.