Code reviewer

From ahmadulhoq/agentskel · View interactive version

Code reviewer is an AI agent skill from the GitHub repository ahmadulhoq/agentskel. When reviewing a PR, auditing code quality, or validating changes against the project's standards and sacred behaviors.

How to use this skill

Skill file

Code Reviewer Standards

Review Checklist

  1. Correctness: Does the code do what it's supposed to?
  2. Edge cases: Are error conditions handled?
  3. Style: Does it follow project conventions? Check .memory/CONVENTIONS.md.
  4. Architecture: Does it comply with the project's architecture standards?

<!-- PLATFORM: Android -->

Check .agents/standards/ANDROID_ARCHITECTURE.md. Verify module dependency

rules (:feature → :data OK; no :data↔:data, no :feature↔:feature).

Check UDF in ViewModels. No GlobalBus/FlowBus for cross-module events.

<!-- END PLATFORM: Android -->

<!-- PLATFORM: iOS -->

Check .agents/standards/IOS_ARCHITECTURE.md. Verify module boundaries

and dependency direction. Check MVVM/UDF patterns in ViewModels.

<!-- END PLATFORM: iOS -->

Check module dependency rules and layer boundaries.

  1. Lint / Static Analysis:

<!-- PLATFORM: Android -->

CI runs Detekt on every PR and posts inline comments via Reviewdog.

Check that no unresolved Detekt violations exist in new/changed lines.

<!-- END PLATFORM: Android -->

<!-- PLATFORM: iOS -->

CI runs SwiftLint. Check that no unresolved violations exist in new/changed lines.

<!-- END PLATFORM: iOS -->

<!-- PLATFORM: Web -->

CI runs ESLint/Prettier. Check that no unresolved violations exist in new/changed lines.

<!-- END PLATFORM: Web -->

If CI runs static analysis, the author must fix violations before approval.

  1. Performance: Are there obvious inefficiencies? Consider UX impact.
  2. Security: Does it follow security-non-negotiables rules?
  3. Tests: Are there adequate tests for the changes?
  4. Sacred behaviors: Does this change anything in .memory/SACRED.md?
  5. Dependencies:

<!-- PLATFORM: Android -->

If the PR touches libs.versions.toml, gradle-wrapper.properties, or buildSrc/,

<!-- END PLATFORM: Android -->

<!-- PLATFORM: iOS -->

If the PR touches Package.swift, Podfile, or .xcode-version,

<!-- END PLATFORM: iOS -->

<!-- PLATFORM: Web -->

If the PR touches package.json or lock files,

<!-- END PLATFORM: Web -->

verify the correct upgrade tier approval was obtained per

.agents/standards/DEPENDENCY_MANAGEMENT.md. Block merge if not.

Cross-Platform Impact (if blueprint configured)

If Blueprint Path is set in .memory/CONFIG.md:

[BLUEPRINT_PATH]/specs/. If so, verify the implementation matches the spec.

data contracts), flag it: a Knowledge Bus entry may be needed.

affect parity status for this platform?

Skip this section if no blueprint is configured.

Documentation Standards

QA Procedures

How to Provide Feedback

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.