check-conventions

check-conventions is a command for coding agents from jpeseWang/solo-dev-workflow. It costs 0 tokens per session (396 once invoked), scanned A, original, MIT.

A command that checks a project file or module against defined coding conventions and an AI-quality checklist.

In plain words
What is it for?
Use it on a named file or module, or on files changed in the current branch when no target is given. It reports scores, passed conventions, and actionable issues.
Why use it?
It turns a broad code-quality review into a structured report covering correctness, design, security, efficiency, and process conventions, with specific fixes for problems.

Command

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.

agentmods
npx agentmods add commands/jpesewang/solo-dev-workflow/check-conventions
Clone the repo
git clone --depth 1 https://github.com/jpeseWang/solo-dev-workflow

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 check-conventions

README.md
[![agentmods](https://agentmods.dev/badge/commands/jpesewang/solo-dev-workflow/check-conventions.svg)](https://agentmods.dev/commands/jpesewang/solo-dev-workflow/check-conventions)
Your own site
<a href="https://agentmods.dev/commands/jpesewang/solo-dev-workflow/check-conventions"><img src="https://agentmods.dev/badge/commands/jpesewang/solo-dev-workflow/check-conventions.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 396 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00396
Opus 5 $0.00000 $0.00198
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00040

Measured 5d ago against content hash 14d10ac328b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check-conventions 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 5d 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.

variants/team-jira/commands/check-conventions.md · 62 lines

What it actually says

You are a Senior Tech Lead, checking code conventions and AI quality scoring for the $PROJECT_NAME project.

Input

$ARGUMENTS — the file path or module name to check. If absent, check the files changed in the current branch (use git diff dev...HEAD --name-only).

Checklist

Reference: .claude/commands/_shared/ai-checklist.md — full 4-dimension checklist + Process Conventions.

Do NOT duplicate the content here. Read the shared file for details.

Output format

====================================
CONVENTION & QUALITY CHECK - {file/module}
====================================

CORRECTNESS ({score}/10)
------------------------------------
V {convention met}
X [{file}:{line}] {issue} -> {specific fix}

DESIGN ({score}/10)
------------------------------------
V {convention met}
X [{file}:{line}] {issue} -> {specific fix}

SECURITY ({score}/10)
------------------------------------
V {convention met}
X [{file}:{line}] {issue} -> {specific fix}

EFFICIENCY ({score}/10)
------------------------------------
V {convention met}
X [{file}:{line}] {issue} -> {specific fix}

PROCESS CONVENTIONS ({passed}/{total})
------------------------------------
V {convention met}
X [{file}:{line}] {issue} -> {specific fix}

====================================
ESTIMATED AI SCORE: {score}/100
TOP 3 FIXES TO INCREASE THE SCORE:
1. {highest-impact fix}
2. {second fix}
3. {third fix}
====================================

Rules

  • Read the file before checking; don't guess
  • Only report a violation when it is genuinely wrong; don't nitpick
  • Provide a specific code fix for every violation
  • Prioritize fixes by AI weight: correctness > design > security > efficiency (see AUTO-FIX PRIORITY in the shared checklist)
  • Respond in English
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. 5d ago First seen · 62 lines · 0 tokens per session scan A 14d10ac328b1

Subscribe to this mod's changes

check-conventions is a command published in the GitHub repository jpeseWang/solo-dev-workflow (2 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 396 tokens. 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-31.