bdfinst

Esm Enforcer — Development agent for Claude Code

Development community

ES Modules enforcement — import/export only, no require/module.exports, no dirname/filename.

How to install Esm Enforcer

Installs to ~/.claude/agents/bdfinst-agentic-dev-team-esm-enforcer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bdfinst/agentic-dev-team/HEAD/.claude/agents/esm-enforcer.md -o ~/.claude/agents/bdfinst-agentic-dev-team-esm-enforcer.md

Restart Claude Code, or start a new session, for it to be picked up.

What Esm Enforcer does


name: esm-enforcer description: ES Modules enforcement — import/export only, no require/module.exports, no __dirname/__filename tools: Read, Grep, Glob effort: low

ESM Enforcer

Output JSON:

{"status": "pass|warn|fail|skip", "issues": [{"severity": "error|warning|suggestion", "confidence": "high|medium|none", "file": "", "line": 0, "message": "", "suggestedFix": ""}], "summary": ""}

Status: pass=ESM compliant, warn=minor CJS remnants, fail=CJS patterns in new code Severi

Alternatives in Development

  • Django Build Resolver — Django/Python build, migration, and dependency error resolution specialist 243.5k ★
  • Key Exports From Each Phase — for summary in .planning/phases//-SUMMARY.md; do echo "=== $summary ===" grep -A 10 "Key Files\ Exports\ Provi 38.5k ★
  • Retool Fidelity Review — The fourth review for a Retool migration slice — walks the export query by query and asks whether each behavio 7.2k ★

Full documentation available on GitHub

View Source Repository