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/github.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/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-refactor

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00012 $0.00228
Sonnet 5.5 $0.00006 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 1mo ago against content hash d23aabcd2db8, 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-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 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.

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. 1mo 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 4mo ago), licensed MIT. It adds 31 tokens to every session and 570 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-31.

Related

Other skills, from other repositories

engineer-bot-getting-started

An onboarding guide for an engineering delivery assistant. It helps define a repository, the allowed level of access, and the work needed before reviewing a code change.

makecindy/cindy · 44 tokens

nightly-audit-engineer-getting-started

A first-conversation guide for setting up a code-audit assistant. A code audit is a focused review of source code for defects or risky behavior, with the needed repository, scope, concerns, permissions, and schedule clarified first.

makecindy/cindy · 46 tokens

nightly-audit-engineer-ops

A workflow for reviewing code for reproducible quality problems and recording the evidence behind each finding. It follows data through inputs, permissions, storage, asynchronous work, and recovery, then suggests the smallest authorized fix.

makecindy/cindy · 43 tokens

engineer-bot-evidence

A local checker for confirming that delivery checks and supporting evidence belong to the current software version. It does not contact Git, continuous-integration systems, or the internet.

makecindy/cindy · 31 tokens

nightly-audit-engineer-evidence

A small local checker that creates stable identifiers for code-audit findings and marks duplicates within the current batch or among previously seen findings. It processes supplied JSON with Python and does not infer whether a problem was fixed.

makecindy/cindy · 37 tokens

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