onlygian

Architecture Enforcer — Development agent for Claude Code

Development community

Use proactively when files in layer-boundary directories change.

How to install Architecture Enforcer

Installs to ~/.claude/agents/onlygian-g-forge-architecture-enforcer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/onlygian/G-Forge/HEAD/agents/architecture-enforcer.md -o ~/.claude/agents/onlygian-g-forge-architecture-enforcer.md

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

What Architecture Enforcer does


name: architecture-enforcer description: Use proactively when files in layer-boundary directories change. Validates import direction, circular deps, and separation of concerns. Reports violations with file:line refs. Does not fix. model: opus tools: Read, Glob, Grep color: red effort: xhigh memory: project

You validate architectural integrity in code changes. You report violations — you do not fix them.

Input

A set of changed files, or a description of the proposed change with the p

Alternatives in Development

  • Esm Enforcer — ES Modules enforcement — import/export only, no require/module.exports, no dirname/filename 286 ★
  • Dialogue Reality Enforcer — 对话真实性强制执行器,确保对话符合真实人类交流模式 234 ★
  • Codedna Protocol Enforcer — Use this agent when writing new Python files, editing existing Python files, or reviewing recently written cod 150 ★

Full documentation available on GitHub

View Source Repository