Community程式設計與開發github.com

code-review-checklist

全方位的程式碼審查清單,涵蓋功能、安全性、效能與可維護性等面向。

code-review-checklist 是什麼?

這是一個名為「code-review-checklist」的 AI 代理技巧,提供一份結構化的程式碼審查清單。它能幫助開發者與審查者建立系統化的檢查流程,確保每一次程式碼審查都能涵蓋功能正確性、安全性、效能最佳化以及程式碼可維護性等關鍵領域。此技巧支援在 Claude Code、Cursor 以及 Codex 等主流 AI 編程代理中作為系統提示或參考文件使用。透過逐項對照清單,使用者可以避免遺漏潛在問題,提升審查效率與程式碼品質,同時培養一致的團隊協作規範。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/code-review-checklist

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

code-review-checklist 是做什麼的?

全方位的程式碼審查清單,涵蓋功能、安全性、效能與可維護性等面向。

簡介

本清單提供一套系統化的流程,用於在 AI 代理或人工作業中進行程式碼審查。它涵蓋以下關鍵領域:

  • 功能正確性:驗證程式碼邏輯與業務需求相符。
  • 安全性:檢查常見漏洞,如注入攻擊、認證缺陷。
  • 效能:識別可最佳化的瓶頸與資源使用。
  • 可維護性:確保程式碼清晰、模組化且易於修改。

使用方式

將此清單作為提示樣板或參考指南,搭配您的 AI 代理(如 Claude Code、Cursor 或 Codex)。審查時逐一檢查下列項目。

代碼審查核對清單

  • 功能正確性
    • 程式碼是否正確實現需求規格?
    • 邊界情況是否已處理?
    • 錯誤處理是否完善?
  • 安全性
    • 是否防範 SQL 注入、XSS、CSRF 等攻擊?
    • 認證與授權邏輯是否嚴謹?
    • 敏感資料(如密碼、API 金鑰)是否妥善保護?
  • 效能
    • 是否存在不必要的資料庫查詢或 API 呼叫?
    • 迴圈與遞迴是否有效率?
    • 快取機制是否已適當運用?
  • 可維護性
    • 程式碼是否遵循團隊編碼規範?
    • 是否有清晰註解與文件?
    • 單元測試是否完整且通過?

貢獻

歡迎透過 Pull Request 提交改進或新增項目。請確保變更保持通用性,適用於多種程式語言與框架。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

sickn33/3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

sickn33/agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

sickn33/agent-memory-systems

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them.

sickn33/ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

sickn33/api-documentation-generator

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

sickn33/api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

sickn33/api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

sickn33/app-store-optimization

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

sickn33/architecture

Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.

sickn33/audio-transcriber

Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration

sickn33/aws-serverless

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

sickn33/backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.

sickn33/backend-dev-guidelines

You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.

sickn33/bash-linux

Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

sickn33/bash-scripting

Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

sickn33/brainstorming

Use before creative or constructive work (features, architecture, behavior). Transforms vague ideas into validated designs through disciplined reasoning and collaboration.

sickn33/browser-automation

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns.

sickn33/browser-extension-builder

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing.

sickn33/bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

sickn33/bun-development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun).

相關技能