Require Hm
Description
RequireJS loader plugin that supports ES6 Modules
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
require-hm
A simulation of some APIs that are proposed for ECMAScript Harmony for JavaScript modules, but done as a loader plugin that works with [RequireJS](http://requirejs.org), and other AMD loaders that support the [loader plugin API](http://requirejs.org/docs/plugins.html) supported by RequireJS. See `dist/hm.js`.
The APIs are taken from here:
Not all the APIs are supported, see further below for more details.
Goals
The goal is to allow using harmony-like modules today, that work in today's browsers and in Node. This allows playing with the APIs to make sure they get some use and understanding before baking them into a standard.
It is also a way for me to experiment with the API and suggest changes in a way that holds together in real code.
Limitations
The loader plugin just uses some regular expressions, and it relies on existing JavaScript engines, which cannot do the fancy compilation and linking that native support can do.
This means some things that would be early errors in a native implementation are not early errors with this approach, and there are probably some parsing edge cases that fail with this approach vs. native support.
It is possible to take this code and go further with a real parser, and this code may expand for that purpose, but for now, the regexp approach allows a quicker proof of concept.
Supportedå
Note that literal module syntax is not used here (e.g `module moduleName {}`), instead opting for the module body for each module file. This isn't an issue however as Require HM will still allow modules to be imported and used as normal.
A simple module
// math.hm
export function sum(x, y) {
return x + y;
}
export var pi = 3.141593;
A simple client
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11