Code Review Checklist
Purpose
Use this skill to run a repeatable checklist over supplied code-review evidence.
The skill is read-only: it may inspect code, diffs, rules, package manifests,
test output, CI output, and audit reports, but it does not edit target code.
[CONFIG]
Deterministic Resources
assets/manifest.json declares every deterministic asset. [CÓDIGO]
assets/activation-policy.json defines activation and missing-input routing.
[CÓDIGO]
assets/checklist-taxonomy.json defines fixed checklist IDs, domains,
blocking behavior, statuses, and decision rules. [CÓDIGO]
assets/evidence-policy.json defines evidence tags and required source
fields. [CÓDIGO]
assets/report-contract.json defines the JSON report shape. [CÓDIGO]
assets/source-boundary-policy.json defines read-only scope, hotfix handling,
and forbidden behaviors. [CÓDIGO]
scripts/check.sh runs deterministic validator fixtures. [CÓDIGO]
When To Activate
Activate when the user asks for a code review checklist, PR checklist, OWASP
review, Firebase review, TypeScript review checklist, performance review
checklist, or merge-readiness checklist for code artifacts. [CONFIG]
Do not activate for generic product reviews, book reviews, service reviews, or
non-code checklists unless the user supplies code artifacts. If no code, diff,
PR, branch, rules file, package manifest, test output, or audit report is
available, return needs_context with minimum inputs instead of inventing
checklist results. [CONFIG]
Checklist Domains
Security
SEC-01: No secrets in code; use environment variables or Secret Manager.
SEC-02: User-controlled HTML is sanitized before dangerouslySetInnerHTML.
SEC-03: Firestore rules enforce authentication and least privilege.
SEC-04: CORS does not allow wildcard origins for production endpoints.
SEC-05: Dependency audit has no high or critical vulnerabilities.
Performance And Firebase
FB-01: Firestore reads use limit(), pagination, or a bounded query plan.
FB-02: Firestore reads are not executed inside unbounded loops.
PERF-03: Images use optimized formats, lazy loading, or responsive sizing
when image changes are in scope.
PERF-04: New dependencies above 50KB are justified or split.
FB-05: Cloud Functions minimize cold-start cost through scoped imports or
lazy initialization.
Quality And Types
QUAL-01: No new any types without a documented boundary and type guard.
QUAL-02: No @ts-ignore, eslint-disable, or suppression without ticket
or policy evidence.
QUAL-03: Changed functions/files remain within stated size policy unless
generated code or documented exception applies.
QUAL-04: Naming is intention-revealing for changed public code.
QUAL-05: Error handling is explicit; catches are not silently swallowed.
Output Contract
Preferred output is JSON matching assets/report-contract.json. Markdown
reports must preserve these sections:
# Code Review Checklist Report
## Scope
## Scores
## Checklist Results
## Findings
## Missing Evidence
## Validation
## Decision
## Risks and Limits
Every checklist result must include id, domain, status, evidence_tag,
source.file, source.line, and why. Status values are pass, fail,
not_applicable, and not_verified. [CONFIG]
Validation Gate
- Any failing security item (
SEC-*) blocks merge. [CONFIG]
- Failing
FB-01, FB-02, QUAL-01, or QUAL-02 blocks merge. [CONFIG]
- Missing minimum input produces
needs_context, not a guessed checklist.
[CONFIG]
- Clean PRs must include positive evidence and must not fabricate findings.
[CONFIG]
- Hotfix reviews may run only security plus critical Firebase/performance gates,
but must record a full-review follow-up within 48 hours. [CONFIG]
- Reports must pass
bash skills/code-review-checklist/scripts/check.sh before
this skill can be marked complete. [CÓDIGO]
Decision Rules
request_changes: one or more blocking checklist failures.
approve_with_comments: non-blocking failures only.
approve: no failures, no missing required evidence, and positive evidence
exists.
needs_context: minimum inputs are missing.
Anti-Patterns
- Treating style preferences as blockers without policy evidence.
- Approving despite a failed security, unbounded Firestore,
any, or
unapproved suppression gate.
- Treating safe React JSX escaping as an XSS finding.
- Flagging batched Firestore reads as loop reads.
- Loading remote assets or using implicit current dates in report templates.
- Using
Write or Edit tools while performing checklist review.
Assumptions & Limits
- The checklist validates supplied artifacts only. [CONFIG]
- It cannot prove runtime safety outside inspected code, tests, CI, rules, audit
output, or user-supplied evidence. [CONFIG]
- It complements
code-review; it does not replace deeper implementation
review or audit-security for specialized security audits. [CONFIG]
Source: JaviMontano/jm-adk-alfa — distributed by TomeVault.
1---2name: javimontano-jm-adk-alfa-code-review-checklist3description: Code Review Checklist4---56# Code Review Checklist78## Purpose910Use this skill to run a repeatable checklist over supplied code-review evidence.11The skill is read-only: it may inspect code, diffs, rules, package manifests,12test output, CI output, and audit reports, but it does not edit target code.13[CONFIG]1415## Deterministic Resources1617- `assets/manifest.json` declares every deterministic asset. [CÓDIGO]18- `assets/activation-policy.json` defines activation and missing-input routing.19 [CÓDIGO]20- `assets/checklist-taxonomy.json` defines fixed checklist IDs, domains,21 blocking behavior, statuses, and decision rules. [CÓDIGO]22- `assets/evidence-policy.json` defines evidence tags and required source23 fields. [CÓDIGO]24- `assets/report-contract.json` defines the JSON report shape. [CÓDIGO]25- `assets/source-boundary-policy.json` defines read-only scope, hotfix handling,26 and forbidden behaviors. [CÓDIGO]27- `scripts/check.sh` runs deterministic validator fixtures. [CÓDIGO]2829## When To Activate3031Activate when the user asks for a code review checklist, PR checklist, OWASP32review, Firebase review, TypeScript review checklist, performance review33checklist, or merge-readiness checklist for code artifacts. [CONFIG]3435Do not activate for generic product reviews, book reviews, service reviews, or36non-code checklists unless the user supplies code artifacts. If no code, diff,37PR, branch, rules file, package manifest, test output, or audit report is38available, return `needs_context` with minimum inputs instead of inventing39checklist results. [CONFIG]4041## Checklist Domains4243### Security4445- `SEC-01`: No secrets in code; use environment variables or Secret Manager.46- `SEC-02`: User-controlled HTML is sanitized before `dangerouslySetInnerHTML`.47- `SEC-03`: Firestore rules enforce authentication and least privilege.48- `SEC-04`: CORS does not allow wildcard origins for production endpoints.49- `SEC-05`: Dependency audit has no high or critical vulnerabilities.5051### Performance And Firebase5253- `FB-01`: Firestore reads use `limit()`, pagination, or a bounded query plan.54- `FB-02`: Firestore reads are not executed inside unbounded loops.55- `PERF-03`: Images use optimized formats, lazy loading, or responsive sizing56 when image changes are in scope.57- `PERF-04`: New dependencies above 50KB are justified or split.58- `FB-05`: Cloud Functions minimize cold-start cost through scoped imports or59 lazy initialization.6061### Quality And Types6263- `QUAL-01`: No new `any` types without a documented boundary and type guard.64- `QUAL-02`: No `@ts-ignore`, `eslint-disable`, or suppression without ticket65 or policy evidence.66- `QUAL-03`: Changed functions/files remain within stated size policy unless67 generated code or documented exception applies.68- `QUAL-04`: Naming is intention-revealing for changed public code.69- `QUAL-05`: Error handling is explicit; catches are not silently swallowed.7071## Output Contract7273Preferred output is JSON matching `assets/report-contract.json`. Markdown74reports must preserve these sections:75761. `# Code Review Checklist Report`772. `## Scope`783. `## Scores`794. `## Checklist Results`805. `## Findings`816. `## Missing Evidence`827. `## Validation`838. `## Decision`849. `## Risks and Limits`8586Every checklist result must include `id`, `domain`, `status`, `evidence_tag`,87`source.file`, `source.line`, and `why`. Status values are `pass`, `fail`,88`not_applicable`, and `not_verified`. [CONFIG]8990## Validation Gate9192- Any failing security item (`SEC-*`) blocks merge. [CONFIG]93- Failing `FB-01`, `FB-02`, `QUAL-01`, or `QUAL-02` blocks merge. [CONFIG]94- Missing minimum input produces `needs_context`, not a guessed checklist.95 [CONFIG]96- Clean PRs must include positive evidence and must not fabricate findings.97 [CONFIG]98- Hotfix reviews may run only security plus critical Firebase/performance gates,99 but must record a full-review follow-up within 48 hours. [CONFIG]100- Reports must pass `bash skills/code-review-checklist/scripts/check.sh` before101 this skill can be marked complete. [CÓDIGO]102103## Decision Rules104105- `request_changes`: one or more blocking checklist failures.106- `approve_with_comments`: non-blocking failures only.107- `approve`: no failures, no missing required evidence, and positive evidence108 exists.109- `needs_context`: minimum inputs are missing.110111## Anti-Patterns112113- Treating style preferences as blockers without policy evidence.114- Approving despite a failed security, unbounded Firestore, `any`, or115 unapproved suppression gate.116- Treating safe React JSX escaping as an XSS finding.117- Flagging batched Firestore reads as loop reads.118- Loading remote assets or using implicit current dates in report templates.119- Using `Write` or `Edit` tools while performing checklist review.120121## Assumptions & Limits122123- The checklist validates supplied artifacts only. [CONFIG]124- It cannot prove runtime safety outside inspected code, tests, CI, rules, audit125 output, or user-supplied evidence. [CONFIG]126- It complements `code-review`; it does not replace deeper implementation127 review or `audit-security` for specialized security audits. [CONFIG]128129---130> Source: [JaviMontano/jm-adk-alfa](https://github.com/JaviMontano/jm-adk-alfa) — distributed by [TomeVault](https://tomevault.io).131<!-- tomevault:4.0:skill_md:2026-06-16 -->