javascript-development

Community

Modern JavaScript patterns for Metalsmith plugins.

Authorwernerglinka
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a structured, consensus-driven approach to JavaScript development across Metalsmith plugins, browser scripts, and Node.js tooling, addressing inconsistencies that slow projects and complicate maintenance.

Core Features & Use Cases

  • Functional-first patterns: Promote pure functions, immutability, and clear data flow to reduce bugs.
  • ES6+ best practices: Guidance on modern syntax (const/let, destructuring, template literals, async/await).
  • Documentation discipline: Use JSDoc for type hints and API clarity, with dual ESM/CJS module support for broad compatibility.
  • Testing and tooling: Mocha-based testing patterns and a scalable project structure for plugin development, browser scripts, and Node build tasks.
  • Use Case: Build a Metalsmith plugin that processes files with pure transformations, and test it with Mocha to ensure predictable results.

Quick Start

Install Node.js, initialize a Metalsmith project, and apply the described patterns to implement a simple plugin with unit tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: javascript-development
Download link: https://github.com/wernerglinka/metalsmith-website-skills/archive/main.zip#javascript-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.