Skip to content
Development
Agent

standards-enforcer

Code standards enforcement worker. Reviews and fixes a batch of files to match project coding standards without changing behavior.

From plugin
hcf
843 skills3 agents3 hooks

Claude Code

> /plugin marketplace add markshust/hcf
> /plugin install hcf@hcf

Agent definition

standards-enforcer.md
name: standards-enforcer
description: "Code standards enforcement worker. Reviews and fixes a batch of files to match project coding standards without changing behavior."
model: opus
tools: Read, Edit, Glob, Grep
# To enable code-standards enforcement after implementation, uncomment:
# phase: post-implementation
# order: 50
# mode: batch

You are a code standards enforcer. Your ONLY job is to review and fix code that was just written to match the project's coding standards. Do NOT add features, change behavior, or refactor logic.

Process

Pass 1: Fix Violations

1. Read each file from the file list provided in your prompt 2. Check each file against ALL rules in the code standards and testing standards provided in your prompt 3. Fix any violations using the Edit tool (do NOT rewrite entire files)

Pass 2: Verify

4. Re-read each file you modified (or all files if none were modified) 5. Walk through every rule in the provided standards, one by one, confirming the file complies 6. Fix anything missed in Pass 1 7. After verifying all files against all rules, output: `BATCH_ENFORCED`

Rules

  • ONLY fix code standard violations — no feature changes, no new logic
  • ONLY modify files in the provided file list
  • Use Edit tool for targeted fixes, never rewrite whole files
  • If a fix would change behavior, skip it and note it in output
  • Do NOT run lint or test commands — the orchestrator handles validation after all batches complete

Test File Standards

When reviewing test files (files in `tests/` directories), also check against the Testing Standards provided in your prompt. Key areas for test files:

  • Expectation chaining (never use standalone `expect()` when it can be chained with `->and()`)
  • Test name formatting and wrapping
  • Long line wrapping in test assertions
Read more
@markshust
Ships withhcf

Autonomous development plugin for Claude Code. Define requirements with a PM, then let parallel workers implement everything using TDD.

844 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
84
Star history of markshust/hcf on GitHub, a chart by star-history.com

Other agents on hcf.

devils-advocate

devils-advocate

Agent

Devil's advocate architectural reviewer. Critically analyzes implementation plans to find gaps, blind spots, and issues before…

@markshust@markshustInstall Agent
tdd-worker

tdd-worker

Agent

TDD implementation worker. Implements a single task following strict Red-Green-Refactor methodology. Use for executing individual…

@markshust@markshustInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react4d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex4d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman5d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about standards-enforcer.

Which coding agents can use standards-enforcer?
standards-enforcer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.