Home / Subagents / standards-enforcer
standards-enforcer
markshust/hcfSubagent
Code standards enforcement worker. Reviews and fixes a batch of files to match project coding standards without changing behavior.
Why this score
This repo hosts 3 subagents, so its 81 stars are split between them (about 27 each) for scoring.
Popularity score: 63/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Edit and write files
- Read and search files
Tools listed in the file: Read, Edit, Glob, Grep
Model: opus
The agent file
--- 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
MIT license, from markshust/hcf at commit 7537ca3a2b29.
Security
Scanned Oct 21, 2026 at commit 7537ca3a2b29, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onestandards-enforcer markshust/hcf · Subagent | 63 | ★ 81 | ≈37 in chat | 27d ago |
| policy-enforcer SethGammon/Citadel · Subagent Both about enforcer | 70 | ★ 925 | ≈22 in chat | 17d ago |
| performance-enforcer senaiverse/reactnative-expo-ai-agent-system-workflow · Subagent Both about enforcer | 52 | ★ 131 | ≈88 in chat | 5mo ago |
| vibe-coverage-enforcer ash1794/vibe-engineering · Skill Both about enforcer and standard | 62 | ★ 164 | ≈54 always | 28d ago |
| standard zhnt/loushang · Skill Both about standard and coding | 80 | ★ 1.8k | ≈31 always | 17d ago |
| app-coding-standards Expensify/App · Skill Both about standard and coding | 82 | ★ 5.1k | ≈56 always | 16d ago |