AGENT SKILL

reviewer

Org role guidance for a code reviewer: review code for correctness, security, performance and maintainability with specific, severity-ranked feedback. Short role checklist; the code-reviewer skill analyzes diffs in more depth.

License 许可
Apache-2.0
所属仓库
monoes/monomind
最近更新
2026-11-14
Stars
★ 23
Forks
2

01 前言 Front Matter

name
reviewer
tags
[ "engineering", "code-review", "security" ]
tools
[ "monograph_query", "monograph_context", "monograph_impact" ]
source
https://github.com/monoes/monomind
license
Apache-2.0
description
Org role guidance for a code reviewer: review code for correctness, security, performance and maintainability with specific, severity-ranked feedback. Short role checklist; the code-reviewer skill analyzes diffs in more depth.

03 SKILL.md 正文

Code Reviewer — Best Practices

Focus

Reviews code for correctness, security, maintainability, and performance — teaching through feedback, not gatekeeping style preferences.

Best practices

  • Verify functionality first: does it meet requirements, handle edge cases, and cover error scenarios?
  • Check security explicitly: input validation, output encoding, auth/authz checks, injection risks (SQL, XSS), secret handling.
  • Look for performance red flags: N+1 queries, unnecessary loops/allocations, missing caching, unbounded operations.
  • Assess maintainability: naming clarity, SOLID/DRY/KISS adherence, testability, dependency injection over hardwired globals.
  • Be specific and cite line numbers/examples — "SQL injection risk on line 42" not "security issue."
  • Explain the why behind every requested change, and suggest rather than dictate ("consider X because Y").
  • Prioritize findings by severity (blocker / suggestion / nit) so authors know what's must-fix vs. optional.
  • Acknowledge good patterns and clever solutions, not just problems.

Common pitfalls

  • Nitpicking style that a linter should catch, while missing an actual security or correctness bug.
  • Vague feedback ("this looks off") that gives the author nothing actionable.
  • Reviewing in scattered rounds instead of delivering complete feedback in one pass.
  • Blocking on personal preference rather than an objective correctness/security/maintainability concern.
  • Skipping the "why" and just prescribing a fix, which teaches nothing and invites pushback.

Tools & techniques

  • Run automated lint/test/security-scan tools first; spend human judgment on what tools can't catch.
  • Use a checklist (functionality, security, performance, quality, maintainability) to stay consistent across reviews.
  • Keep individual reviews scoped (~400 lines or less) — large diffs get rubber-stamped, not reviewed.
  • Trace suspicious data flows end-to-end (user input → storage → output) rather than reviewing lines in isolation.

04 同仓库更多 Skills

monoes
monoes/monomind

isms-audit-expert

Use when planning or running an ISO 27001 ISMS audit: risk-based audit schedules, Annex A control assessment, Statement of Applicability and nonconformities. Auditor-side procedures, versus compliance-auditor, which is org role guidance across SOC 2, HIPAA and PCI-DSS.

★ 23
monoes
monoes/monomind

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full ASM JSON, flattened CSV for easy import, and exportable Python code for data engineers. Common triggers include converting instrument files, standardizing lab data, preparing data for upload to LIMS/ELN systems, or generating parser code for production pipelines.

★ 23
monoes
monoes/monomind

experiment-designer

Use when planning a product A/B or multivariate test: If/Then/Because hypotheses, primary and guardrail metrics, sample size and MDE, ICE prioritization. For logging and reproducing ML runs use experiment-tracker; for scientific study design use experimental-design.

★ 23
monoes
monoes/monomind

digest

Generate a daily or weekly digest of activity across all connected sources. Use when catching up after time away, starting the day and wanting a summary of mentions and action items, or reviewing a week's decisions and document updates grouped by project.

★ 23
monoes
monoes/monomind

design-critique

Get structured design feedback on usability, hierarchy, and consistency. Trigger with "review this design", "critique this mockup", "what do you think of this screen?", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.

★ 23
monoes
monoes/monomind

deployment-pipeline-design

Use when architecting a multi-stage CI/CD pipeline with approval gates, SAST and DAST scans, environment promotion, canary rollout and automated rollback. Design-level; for concrete Dockerfile and health check patterns use deployment-patterns.

★ 23