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

  • Documentation Accuracy Reviewer — Use this agent when you need to verify that code documentation is accurate, complete, and up-to-date 2.8k ★
  • Clean Code Refactor — Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose 358 ★
  • Dialogue Reality Enforcer — 对话真实性强制执行器,确保对话符合真实人类交流模式 234 ★

Full documentation available on GitHub

View Source Repository