coding-guard

coding-guard is a skill for Claude Code, Codex from explyt/spring-plugin. It costs 67 tokens per session (2,924 once invoked), scanned A, original, Apache-2.0.

Repository-specific coding rules for the Explyt Spring IntelliJ plugin, including how to plan changes, follow its Kotlin and IntelliJ conventions, test code, and prepare pull requests.

In plain words
What is it for?
Use it when modifying the plugin to follow its module layout, IntelliJ threading and PSI rules, inspections, tests, message bundles, statistics tracking, and review practices.
Why use it?
It keeps changes small and consistent with the existing project, while encouraging developers to state assumptions and resolve unclear requirements before editing code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: agent in frontmatter.

Good fit Use it when modifying the plugin to follow its module layout, IntelliJ threading and PSI rules, inspections, tests, message bundles, statistics tracking, and review practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/explyt/spring-plugin/coding-guard
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 explyt/spring-plugin --skill coding-guard
Clone the repo
git clone --depth 1 https://github.com/explyt/spring-plugin

Made for: Claude Code, Codex.

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 coding-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/explyt/spring-plugin/coding-guard/github.svg)](https://agentmods.dev/skills/explyt/spring-plugin/coding-guard)
Your own site
<a href="https://agentmods.dev/skills/explyt/spring-plugin/coding-guard"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/coding-guard/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 coding-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/explyt/spring-plugin/coding-guard"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/coding-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,924 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.00067 $0.02924
Opus 5.5 $0.00027 $0.01170
Sonnet 5.5 $0.00013 $0.00585
Haiku 4.5 $0.00007 $0.00292

Measured 5d ago against content hash 030d98d21bdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coding-guard 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.

.explyt/skills/coding-guard/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coding Guard — explyt/spring-plugin

Rules to follow when writing or modifying code in this repository (Explyt Spring IntelliJ plugin). Grounded in CONTRIBUTING.md, build.gradle.kts, gradle.properties, and existing sources.


0. Before coding (process rules)

These apply before any technical rule below. Bias toward caution over speed; for trivial tasks use judgement.

0.1 Think before coding

  • State assumptions explicitly. If uncertain about intent, data shape, or an API contract — ask. Don't guess.
  • Surface ambiguity, don't resolve it silently. If the request has multiple reasonable interpretations, list them and let the user choose.
  • Push back when warranted. If a simpler approach exists, say so before implementing the requested one.
  • Stop and name confusion. Don't patch over unclear behavior with plausible-looking code.

0.2 Simplicity first

  • Minimum code that solves the problem. No features beyond what was asked, no abstractions for single-use code, no unrequested configurability.
  • No defensive code for scenarios the type system or existing invariants already rule out (null checks on non-nullable Kotlin types, unreachable branches after an exhaustive when over a sealed type). Apply this only when an external explicit mechanism rules the case out — not your own "this can't happen" reasoning.
  • Do not remove platform-mandated guards: PSI isValid checks, VirtualFile validity checks, read/write-action wrappers, ProgressManager.checkCanceled() calls, and dumb-mode guards are required even if they look defensive.
  • If you wrote 200 lines where 50 would do — rewrite.

0.3 Surgical changes

  • Touch only what's needed. Don't "improve" adjacent code, comments, formatting, or imports outside your change.
  • Don't refactor code that isn't broken. If a rule below flags nearby code you are not editing — mention it to the user, don't silently rewrite it.
  • Match existing style, even if you'd write it differently.
  • Clean up only your own orphans: imports/variables your edit made unused. Flag pre-existing dead code instead of deleting it.
  • Traceability test: every changed line should trace directly to the user's request.

Read the full file on GitHub · 170 lines

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 Changed · +2 lines 030d98d21bdf
  2. 6d ago Changed fa677b6dadef
  3. 1mo ago First seen · 168 lines · 67 tokens per session scan A 3b9394caba9f

Subscribe to this mod's changes

coding-guard is a skill published in the GitHub repository explyt/spring-plugin (164 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 2,924 once invoked, about $0.0003 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.