copilot-setting: Skill for Claude Code

.github/skills/code-review/SKILL.md

code-review is a skill for Claude Code, Codex from zexion7873/copilot-setting. It costs 80 tokens per session (1,353 once invoked), scanned A, original, MIT.

A code-review skill for checking correctness, style, bugs, and maintainability against the project’s Java, Spring, SQL, security, XML, JSP, Maven, and testing rules.

In plain words
What is it for?
Use it to review code or a pull request, find defects and maintainability issues, and report which findings need attention.
Why use it?
It provides a structured review with severity levels and a verdict, while requiring the relevant project rules to be read first.

Skill for Claude CodeCodex

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

This is zexion7873/copilot-setting's own configuration. It tells Claude Code and Codex how to work on copilot-setting itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-setting configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zexion7873/copilot-setting. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zexion7873/copilot-setting/main/.github/skills/code-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zexion7873/copilot-setting

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 code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/zexion7873/copilot-setting/code-review/github.svg)](https://agentmods.dev/skills/zexion7873/copilot-setting/code-review)
Your own site
<a href="https://agentmods.dev/skills/zexion7873/copilot-setting/code-review"><img src="https://agentmods.dev/badge/skills/zexion7873/copilot-setting/code-review/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 code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/zexion7873/copilot-setting/code-review"><img src="https://agentmods.dev/badge/skills/zexion7873/copilot-setting/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,353 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.
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.00080 $0.01353
Opus 5.5 $0.00032 $0.00541
Sonnet 5.5 $0.00016 $0.00271
Haiku 4.5 $0.00008 $0.00135

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

Security

Grade A, and why

code-review 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.

.github/skills/code-review/SKILL.md · 102 lines

How it starts

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

Code Review — Workflow

Structured code review.

Phase 0 — Load canonical rules

MANDATORY pre-load gate — do NOT render a verdict (Phase 5) until you have opened the instruction files for the layers under review. Your training data defaults to modern Java/Spring; these files are the version lock for Java 8 / Spring 3.2 / Hibernate 4.2. Open them first, every time — the negative lists in the agent body are a floor, not the full rules. Read-back receipt: NAME each file you opened and QUOTE its single most load-bearing rule for this change — a generic restatement you could have written from memory means you skipped the file.

Layers under review — open each one the change touches: instructions/java.instructions.md, instructions/spring-hibernate.instructions.md, instructions/sql.instructions.md, instructions/sql-ddl.instructions.md, instructions/security.instructions.md, instructions/jsp.instructions.md, instructions/xml-config.instructions.md, instructions/testing.instructions.md (test-class @Transactional auto-rollback is sanctioned).

Phase 1 — Understand the Change

Read the diff and the files under review; establish the intent (what problem it solves) and whether the approach matches existing patterns.

Phase 2 — Review by Category

Correctness (check each):

  • Shared mutable state accessed from multiple threads → synchronized or thread-local?
  • JDBC resources (Connection, PreparedStatement, ResultSet, streams) managed via try-with-resources; Hibernate Session from getCurrentSession() is never closed/flushed manually (Spring owns its lifecycle)

Security (check each):

  • Every SQL query uses bind parameters (? or :named)
  • Every JSP output wrapped in <c:out> or equivalent encoding
  • Every endpoint has explicit access control check
  • No hardcoded credentials, API keys, or secrets

Performance (check each):

  • No SQL inside a loop (N+1)
  • No SELECT * — columns listed explicitly
  • WHERE/JOIN columns have indexes
  • Result sets bounded (LIMIT or pagination)

Read the full file on GitHub · 102 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. 1mo ago Changed · -11 lines a70cc82c9aa7
  2. 2mo ago First seen · 113 lines · 80 tokens per session scan A 34d8564a0542

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository zexion7873/copilot-setting (1 stars, last pushed 1mo ago), licensed MIT. It adds 80 tokens to every session and 1,353 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-31.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewzexion7873/copilot-settingSkill11mo agoMITA80Claude Code, Codex
code-reviewgithub/awesome-copilotSkill41kyesterdayMITA27Claude Code, Codex
code-review-csharppnp/copilot-promptsSkill9023d agoMITA66Claude Code, Codex
mcp-server-reviewpnp/copilot-promptsSkill9023d agoMITA93Claude Code, Codex
814-regulations-iso-25010jabrena/plinthSkill460yesterdayApache-2.0A83Claude Code, Codex
059-design-atddjabrena/plinthSkill460yesterdayApache-2.0A93Claude Code, Codex
121-java-object-oriented-designjabrena/plinthSkill460yesterdayApache-2.0A107Claude Code, Codex