code-review-refactor

code-review-refactor is a skill for Claude Code, Codex from GDvega/super-android-kotlin-firebase-skill. It costs 31 tokens per session (570 once invoked), scanned A, original, MIT.

A guide for reviewing Android code and planning small refactors. It covers architecture, user-interface code, security, performance, and testing while keeping existing behavior unless a change is requested.

In plain words
What is it for?
Use it to review a diff or project, identify risks, plan a refactor, add validation, and reduce technical debt safely.
Why use it?
It helps distinguish actual bugs and risks from personal style preferences, then address them in small steps that can be checked.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/validate-skills.mjs.

Good fit Use it to review a diff or project, identify risks, plan a refactor, add validation, and reduce technical debt safely.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/GDvega/super-android-kotlin-firebase-skill
agentmods
npx agentmods add skills/gdvega/super-android-kotlin-firebase-skill/code-review-refactor

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-refactor

README.md
[![agentmods](https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/code-review-refactor.svg)](https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/code-review-refactor)
Your own site
<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/code-review-refactor"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/code-review-refactor.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 570 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.00031 $0.00570
Opus 5 $0.00015 $0.00285
Sonnet 5 $0.00006 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 7d ago against content hash d23aabcd2db8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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

skills/code-review-refactor/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.

Purpose

Provide senior review findings and turn risky refactors into small verifiable steps.

When to use

  • Reviewing a diff or project.
  • Planning a refactor.
  • Finding architecture, security, testing or performance risks.
  • Reducing technical debt safely.

Inputs to inspect

  • Diff, files or module tree.
  • User goal and risk tolerance.
  • Existing tests and failing commands.
  • Architecture constraints.

Required workflow

  1. Read relevant files before judging.
  2. Lead with findings ordered by severity.
  3. Separate bugs from preferences.
  4. Propose the smallest safe refactor.
  5. Add tests/validation before broad cleanup.

Rules

  • Findings first for reviews.
  • Do not do cosmetic rewrites unless requested.
  • Do not revert unrelated user changes.
  • Preserve behavior unless asked to change it.
  • Mention test gaps honestly.

Local skills to invoke

  • testing
  • security-privacy
  • compose-performance
  • screen-ux-audit
  • debugging

External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.

  • vercel-labs/skills — use for Agent Skills CLI, packaging and multi-agent installation patterns when repository maintenance guidance is needed.

Files commonly touched

  • Any changed files
  • README/AGENTS
  • build files
  • tests
  • rules files

Commands to validate

./gradlew test
./gradlew lint
./gradlew assembleDebug
node scripts/validate-skills.mjs

Common mistakes to avoid

  • Large unrelated refactors.
  • No file/line evidence.
  • Ignoring security or test gaps.
  • Mixing personal style with correctness.

Checklist

  • Findings prioritized.
  • Evidence included.
  • Safe plan given.
  • Tests/commands included.
  • Residual risks named.

Example prompts

  • Use $super-android-kotlin-firebase to review this Android project.
  • Use $super-android-kotlin-firebase to refactor this repository layer safely.

Read the full file on GitHub · 102 lines

Files

What ships with it

2 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. 7d ago First seen · 102 lines · 31 tokens per session scan A d23aabcd2db8

Subscribe to this mod's changes

code-review-refactor is a skill published in the GitHub repository GDvega/super-android-kotlin-firebase-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 570 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

shepherd

Use when asked to shepherd, babysit, monitor, or poll open pull requests or merge requests, including triaging review feedback, CI failures, and routine follow-up.

chrisbanes/skills · 37 tokens

kotlin-api-design

Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.

chrisbanes/skills · 46 tokens

kotlin-concurrency-and-flow

Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.

chrisbanes/skills · 60 tokens

review-request

A tool for sending a code change, document, or commit range to a colleague’s own coding agent for review, and receiving review requests from them.

heypandax/cc-pocket · 79 tokens

shepherd

Use when asked to shepherd, babysit, monitor, or poll open pull requests or merge requests — including triaging review comments, detecting CI failures, fixing trivial CI issues, and keeping PRs/MRs moving without manual intervention.

ashtanko/compose-android-template · 49 tokens

swiftlint

Configure and roll out SwiftLint for an iOS/Swift (or KMP-iOS) fintech app — author .swiftlint.yml (disabledrules / optinrules / onlyrules / analyzerrules / included / excluded / customrules, per-rule severity thresholds, parentconfig / childconfig), wire it via the SwiftLintPlugins SPM build-tool plugin (SimplyDanny)…

TalissonVitorino/kmp-ios-skills · 251 tokens