跳到正文
cccskills
免费在 GitHub 公开

code-review-specialist

Review code for security, performance, quality, and ease of maintenance. Get an overall assessment and prioritized findings with file locations, severity, explanations of impact, and example fixes to guide improvements or Pull Request reviews.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

提供全面的代码审查能力,覆盖安全、性能和代码质量分析。适用于用户请求代码审查、代码质量评估、Pull Request 审查,或提到安全分析和性能优化时。

查看安装方法

适用场景

  • Reviewing a Pull Request before merging
  • Checking authentication and data exposure risks
  • Finding inefficient queries and processing
  • Assessing code readability and test coverage

包含的文件(3)

  • SKILL.md1.6 KB
  • templates/finding-template.md2.4 KB
  • templates/review-checklist.md1.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

代码审查 Skill

这个 skill 提供全面的代码审查能力,重点关注:

  1. 安全分析

    • 身份验证 / 授权问题
    • 数据泄露风险
    • 注入漏洞
    • 密码学弱点
    • 敏感数据日志记录
  2. 性能审查

    • 算法效率(Big O 分析)
    • 内存优化
    • 数据库查询优化
    • 缓存机会
    • 并发问题
  3. 代码质量

    • SOLID 原则
    • 设计模式
    • 命名规范
    • 文档
    • 测试覆盖率
  4. 可维护性

    • 代码可读性
    • 函数长度(建议少于 50 行)
    • 圈复杂度
    • 依赖管理
    • 类型安全

审查模板

对每一段被审查的代码,请提供:

摘要

  • 整体质量评分(1-5)
  • 关键发现数量
  • 建议优先关注的区域

关键问题(如有)

  • 问题:清晰描述
  • 位置:文件和行号
  • 影响:为什么这很重要
  • 严重性:Critical / High / Medium
  • 修复:代码示例

按类别列出发现

安全性(如有问题)

列出安全漏洞及示例

性能(如有问题)

列出性能问题,并说明复杂度

质量(如有问题)

列出代码质量问题,并给出重构建议

可维护性(如有问题)

列出可维护性问题,并给出改进建议

版本历史

  • v1.0.0 (2024-12-10):首次发布,包含安全、性能、质量和可维护性分析

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Turn ideas and reference materials into a blog draft with source citations. Work through research, topic development, an approved outline, and revisions, while saving source summaries and numbered drafts to track how the article develops.

中文简介正在准备中。当前显示英语简介。

  • Turning an idea into a structured blog draft
  • Writing an article from research and reference materials
  • Revising an existing draft while keeping earlier versions
luongnv89/claude-howto4.3万2026年10月20日 更新

Turn ideas and reference materials into a blog draft through research, discussion, and an approved outline. Produce cited articles tailored to the intended audience, then revise them while keeping each draft version.

中文简介正在准备中。当前显示英语简介。

  • Turning an idea into a blog draft
  • Writing an article from research materials
  • Agreeing on an outline before drafting
luongnv89/claude-howto4.3万2026年10月20日 更新

Turn ideas and reference materials into a blog draft through research, outline approval, and revision. The workflow includes source citations, adjustments for the intended audience and tone, and separate files for each draft version.

中文简介正在准备中。当前显示英语简介。

  • Turning research materials into a blog post
  • Planning an article for a specific audience
  • Drafting articles with source citations
luongnv89/claude-howto4.3万2026年10月20日 更新

Turn ideas and reference materials into a blog draft through research, outline approval, and revision. The workflow includes source citations, adjustments for the intended audience and tone, and separate files for each draft version.

中文简介正在准备中。当前显示英语简介。

  • Turning research materials into a blog post
  • Planning an article for a specific audience
  • Drafting articles with source citations
luongnv89/claude-howto4.3万2026年10月20日 更新

Create marketing copy, customer messages, and public content with a consistent brand voice. Apply clear vocabulary, concise sentences, concrete examples, and a friendly, professional tone so readers can understand the value being offered.

中文简介正在准备中。当前显示英语简介。

  • Aligning marketing copy with a consistent brand voice
  • Keeping customer messages friendly and professional
  • Simplifying technical explanations for general readers
luongnv89/claude-howto4.3万2026年10月20日 更新

Keep marketing copy, customer messages, and public content consistent with a defined brand voice. The skill provides rules for a friendly, professional tone, concise sentences, concrete examples, preferred terminology, and clear calls to action.

中文简介正在准备中。当前显示英语简介。

  • Keeping marketing copy consistent in tone
  • Writing customer messages in the brand's voice
  • Aligning terminology across public content
luongnv89/claude-howto4.3万2026年10月20日 更新

查看 luongnv89 的全部技能

报告此技能的问题