Qa Code Review For Test logo

Qa Code Review For Test

Community
Kokxi
qa-code-review-for-test

当开发提了 PR、代码变更需要确定测试范围、或者想通过分析代码来预测可能出 Bug 的区域时使用此技能。从测试视角分析代码变更的影响范围、识别高危模式和典型风险区域。不要看完整代码逻辑——你只需要关注变更类型(新增/修改/删除/重构)、影响范围(接口定义/数据库字段/业务逻辑)和相关依赖,据此确定最小回归测试范围。输出代码变更影响分析报告。 触发场景:代码评审、CR、测试视角、看代码、代码变更、Diff、代码变更后需要确定测试范围时。 Use when the user asks about: reviewing a PR or code diff from a testing perspective to determine regression scope and high-risk areas.

Overview

PublisherKokxi
Repositoryqa-test-skills
Skill nameqa-code-review-for-test
Stars
39
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Kokxi on GitHub. Read the source before you install it.

Installation

Install the Qa Code Review For Test AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Kokxi/qa-test-skills/tree/master/skills/qa-code-review-for-test
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Kokxi/qa-test-skills.git /tmp/qa-test-skills
mkdir -p .claude/skills
cp -r /tmp/qa-test-skills/skills/qa-code-review-for-test .claude/skills/qa-code-review-for-test
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qa Code Review For Test in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Qa Code Review For Test on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Qa Code Review For Test is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

⚠️ 本技能单独使用效果有限,建议配合完整技能集(12 步工作流)使用。安装:npx skills add Kokxi/qa-test-skills

⚠️ 安全警告:本技能的示例可能涉及代码变更分析(新增/修改/删除/重构)。 实际使用时请勿直接基于评审结论修改源码,先与开发确认变更范围和回归风险。 本技能仅在 workspace/ 输出评估文件,不持久化、不外传、不跨会话复用。

测试视角的代码评审

核心原则

看代码不是为了Review代码质量,而是判断变更影响范围、识别需要重点回归的区域。

代码读取许可:本技能需要读取代码变更(git diff)进行分析,仅关注测试影响,不评估代码质量。

深度要求(参考值)

关键指标:根据代码变更复杂度调整CR深度

复杂度CR检查点要求说明
简单变更5-8个检查点单文件/配置/文案变更
中等变更12-20个检查点多文件/逻辑修改
复杂变更25-40个检查点重构/重写/核心模块变更

加载时机

什么时候读读哪个
从测试角度评审代码变更时references/cr-lens.md

测试视角CR四看的完整内容已下沉至 references/cr-lens.md,避免每次触发都占用上下文。

代码评审检查清单

功能变更检查

  • 业务逻辑是否正确?
  • 边界条件是否处理?
  • 异常处理是否完善?
  • 数据校验是否完整?

数据变更检查

  • 数据库变更是否兼容?
  • 数据迁移是否安全?
  • 索引变更是否影响性能?
  • 数据一致性是否保证?

接口变更检查

  • 接口入参是否兼容?
  • 接口出参是否变化?
  • 错误码是否变化?
  • 文档是否更新?

配置变更检查

  • 配置项是否新增?
  • 默认值是否合理?
  • 环境差异是否考虑?
  • 回滚方案是否准备?

性能变更检查

  • 是否有性能影响?
  • 是否有内存泄漏风险?
  • 是否有并发问题?
  • 是否有资源竞争?

应用场景

开发提交了登录模块的代码变更 → CR四看分析:

  • 看diff:修改了LoginController.java,新增密码加密逻辑
  • 看影响:影响登录流程、密码验证、Session创建
  • 看风险模式:加密算法变更可能导致兼容性问题
  • 看测试建议:回归登录成功/失败流程,新增加密算法兼容性测试

配置项变更(数据库连接池大小调整) → 影响范围评估:确定需要回归的接口和场景

自检清单

代码评审完成后检查:

  • 是否分析了diff内容?
  • 是否评估了影响范围?
  • 是否识别了风险模式?
  • 是否给出了测试建议?
  • 建议是否可执行?

检查清单

  • 变更类型是否识别?
  • 影响范围是否分析?
  • 高风险模式是否标注?
  • 回归范围是否建议?
  • 可测试性问题是否提出?

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Qa Code Review For Test AI skill do?

当开发提了 PR、代码变更需要确定测试范围、或者想通过分析代码来预测可能出 Bug 的区域时使用此技能。从测试视角分析代码变更的影响范围、识别高危模式和典型风险区域。不要看完整代码逻辑——你只需要关注变更类型(新增/修改/删除/重构)、影响范围(接口定义/数据库字段/业务逻辑)和相关依赖,据此确定最小回归测试范围。输出代码变更影响分析报告。 触发场景:代码评审、CR、测试视角、看代码、代码变更、Diff、代码变更后需要确定测试范围时。 Use when the user asks about: reviewing a PR or code diff from a testing perspective to determine regression scope and high-risk areas.

Why use Qa Code Review For Test on TypingMind?

Because you install it once and use it with any model. Qa Code Review For Test is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Qa Code Review For Test in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Kokxi/qa-test-skills/tree/master/skills/qa-code-review-for-test. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Qa Code Review For Test?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Qa Code Review For Test?

As many as you like. As long as a model supports skills, you can use Qa Code Review For Test with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Qa Code Review For Test AI skill free?

Yes. It is published on GitHub by Kokxi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇