consistency

consistency is a skill for Claude Code from dean0x/devflow. It costs 14 tokens per session (424 once invoked), scanned A, original, MIT.

A code-review guide for finding inconsistent names, coding patterns, error styles, and API conventions.

In plain words
What is it for?
Use it when reviewing changes for naming, imports, error handling, API style, and other deviations from existing patterns.
Why use it?
It helps prevent new code from looking or behaving differently from the rest of the codebase. It also flags harmful simplifications, such as losing useful error details.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when reviewing changes for naming, imports, error handling, API style, and other deviations from existing patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dean0x/devflow/consistency
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dean0x/devflow --skill consistency
Clone the repo
git clone --depth 1 https://github.com/dean0x/devflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for consistency

README.md
[![agentmods](https://agentmods.dev/badge/skills/dean0x/devflow/consistency/github.svg)](https://agentmods.dev/skills/dean0x/devflow/consistency)
Your own site
<a href="https://agentmods.dev/skills/dean0x/devflow/consistency"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/consistency/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for consistency

Your own site · 80×15
<a href="https://agentmods.dev/skills/dean0x/devflow/consistency"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/consistency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00424
Opus 5.5 $0.00006 $0.00170
Sonnet 5.5 $0.00003 $0.00085
Haiku 4.5 $0.00001 $0.00042

Measured 1mo ago against content hash baa9c9e2bfd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

consistency scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/assets/skills/consistency/SKILL.md · 41 lines

What it actually says

Consistency Patterns

Detection patterns for consistency and unnecessary simplification review. Use with devflow:review-methodology.

Iron Law

Match existing patterns or justify deviation.

New code should look like existing code. If the codebase uses camelCase, use camelCase. If errors return Result types, return Result types. Consistency trumps personal preference. Deviation requires explicit justification and team agreement. One codebase, one style.

Consistency Categories

  1. Unnecessary simplification: user-facing content shortened (detailed error messages cut to "Not found"), configuration options silently removed, error context stripped.
  2. Pattern violations: naming conventions, error-handling style (a new function throws where the codebase returns Result), import organization and export style that differ from existing modules.
  3. Feature regression: CLI options or flags removed without deprecation, return types changed, event emissions removed (listeners stop firing). Every removed function needs explicit justification.
  4. Style inconsistency: brace style, quote style, trailing commas, naming case (Process_Payment among camelCase functions).

Extended References

  • references/violations.md - Extended violation examples by category
  • references/patterns.md - Extended correct pattern examples
  • references/detection.md - Bash commands for detecting issues

Severity Guidelines

Severity Description Examples
CRITICAL Breaking changes or significant content loss API return types changed, CLI options removed, events removed
HIGH Inconsistency requiring attention Error handling pattern mismatch, naming violations, export pattern change
MEDIUM Style inconsistency Import organization, brace/quote style, formatting differences
LOW Minor observations Personal preference territory, linter should catch
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -100 lines · -4 tokens per session baa9c9e2bfd8
  2. 1mo ago Changed · -6 tokens per session 3a6cc08c518c
  3. 3mo ago First seen · 141 lines · 24 tokens per session scan A ec7c751f3423

Subscribe to this mod's changes

consistency is a skill published in the GitHub repository dean0x/devflow (23 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 424 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

consistency compared with skills from other repositories

consistency next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
consistencydean0x/devflowSkill23todayMITA14Claude Code
argot-suggest-rulesget-tmonier/argotSkill4829d agoMITA173Claude Code
software-design-patterns-and-refactoringxiaohei-info/oh-my-multicaSkill5314d agoMITA38Claude Code, Codex
microservices-architecturesoulcodex/agenticSkill1011d agoMITA61Claude Code, Codex
api-contract-auditmarcoguillermaz/TierwardSkill4yesterdayMITA78Claude Code
gate-designOreo-Mcflurry/claude-gateSkill36mo agoMITA20Claude Code, Codex
architect-reviewDokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLISkill5135mo agononeA51Claude Code, Codex