android-code-review
Skill3 starsChanged 7 months agoMITView on GitHub
Structured Android code review skill with severity-based findings across architecture, correctness, maintainability, performance, and security. Use this for PR reviews and technical debt assessments.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- android-engineering-skillSkill
- android-architectureSkill
- android-composeSkill
- android-debuggingSkill
- android-gradle-buildSkill
- android-kotlin-concurrencySkill
- android-performanceSkill
- android-release-engineeringSkill
- android-securitySkill
- android-testingSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run disciplined Android code reviews that prioritize issues by incident risk and provide implementation-ready fixes.
- Very specific: line 17
when the primary task is deep root-cause investigation (android-debugging)
- Very specific: line 18
when the primary goal is new architecture design selection (android-architecture)
- Distinctive: line 29
Check non-negotiable constraints first.
- Distinctive: line 64
run normal severity-based review flow
- Distinctive: line 68
do not approve/reject code quality conclusively
- Distinctive: line 74
Use measurable evidence gates for high-impact findings:
- Distinctive: line 87
Always include confidence on non-trivial findings.
- Distinctive: line 96
If confidence is medium/low:
- Very specific: line 105
Follow global order from ../../AGENTS.md:
- Distinctive: line 126
When PR diff or runtime artifacts are missing, add:
- Very specific: line 136
Use the standard payload defined in ../../AGENTS.md (section: Cross-skill handoff contract).
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Run disciplined Android code reviews that prioritize issues by incident risk and provide implementation-ready fixes.
Scope and authority
This skill is synthesis authority across domains. It consolidates architecture, security, performance, testing, and release concerns into a prioritized outcome.
When not to use
- when the primary task is deep root-cause investigation (
android-debugging) - when the primary goal is new architecture design selection (
android-architecture)
When to use
- pull request reviews
- technical debt audits
- release-candidate quality checks
Decision engine workflow
- Establish change intent and blast radius.
- Check non-negotiable constraints first.
- Evaluate architecture, correctness, maintainability, performance, and security implications.
- Rank findings by severity and operational impact.
- Propose fix order and verification strategy.
Branching decision tree
Branch A: change risk profile
high blast radius(cross-module, auth, payment, startup, release-critical):- perform deep multi-domain review with stricter evidence requirements
medium blast radius:- prioritize correctness, maintainability, and boundary consistency
low blast radius:- focus on local quality and regression prevention
Branch B: release proximity
near release:- prioritize regressions and production-risk findings first
normal window:- include strategic maintainability improvements with staged follow-up
Branch C: change category
security-sensitive:- require stronger evidence and verification for exploitability/reachability concerns
performance-sensitive:- require measurement-backed findings for hotspot regressions
boundary-sensitive:- prioritize dependency direction and ownership violations
Branch D: evidence availability
full diff/artifacts available:- run normal severity-based review flow
partial artifacts only:- scope findings to verified surfaces, mark unknowns explicitly
no diff/artifacts provided:- do not approve/reject code quality conclusively
- return a provisional risk review with required evidence checklist
- provide a low-risk fallback path (narrow merge scope or hold)
Quantitative gates
Use measurable evidence gates for high-impact findings:
- evidence sufficiency gate:
passwhen finding has concrete code evidence and reproducible risk pathat-riskwhen evidence is partial but plausiblefailwhen claim is mostly speculative
- verification readiness gate:
passwhen recommended fix includes clear verification stepsat-riskwhen verification is incompletefailwhen no verification plan exists
Uncertainty protocol
Always include confidence on non-trivial findings. For medium/low confidence findings, include the minimum evidence needed to confirm/refute.
Confidence bands:
High(>= 0.80)Medium(0.60-0.79)Low(< 0.60)
If confidence is medium/low:
- list assumptions explicitly
- request minimum additional evidence that can re-rank severity
- provide at least one fallback recommendation with lower regression risk
- escalate to specialized skill when domain certainty is insufficient
Output contract
Follow global order from ../../AGENTS.md:
Context and constraintsDecision and rationaleAlternatives consideredTradeoffsRisks and mitigationsConfidence and unknownsCross-skill impactsNext implementation steps
Then include review-specific artifacts:
Findings by severityEvidenceRisk impactRecommended fixFollow-up checks
No-diff fallback template (required when artifacts are missing)
When PR diff or runtime artifacts are missing, add:
Review status:Provisional - insufficient evidenceBlocking unknowns: exact missing artifacts (diff, module list, benchmarks, security config deltas)Provisional findings: only evidence-backed risks, each markedconfirmedorhypothesisMinimum evidence to finalize: smallest artifact set needed for final severity rankingFallback path: low-risk option (scope split, hold merge, or merge non-runtime subset only)
Cross-skill handoff payload
Use the standard payload defined in ../../AGENTS.md (section: Cross-skill handoff contract).
Set requesting_skill to android-code-review.
Anti-pattern detection
- hidden coupling or boundary violations
- missing tests on behavior-critical changes
- performance-sensitive changes with no measurements
- security-impacting changes with weak controls
Related resources
references/review-severity-evidence.mdtemplates/review-report.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

