add-regression-point
为已有 PageObject 增量添加回归测试点。触发:新增测试点、添加回归点、add test point、增加覆盖、扩展页面方法。
AST 知识图谱:变更审查、探索、调试、重构。触发:知识图谱、代码审查、影响分析、爆炸半径、重构。
Claude Code
$ npx -y skills add danielsuo117/velocitai --skill code-review-graph --agent claude-code
Codex
$ npx skills add danielsuo117/velocitai --skill code-review-graph -a codex -y
Cursor
$ npx skills add danielsuo117/velocitai --skill code-review-graph -a cursor -y
Gemini CLI
$ npx skills add danielsuo117/velocitai --skill code-review-graph -a gemini-cli -y
GitHub Copilot
$ npx skills add danielsuo117/velocitai --skill code-review-graph -a github-copilot -y
OpenCode
$ npx skills add danielsuo117/velocitai --skill code-review-graph -a opencode -y
Windsurf
$ npx skills add danielsuo117/velocitai --skill code-review-graph -a windsurf -y
name: code-review-graph description: AST 知识图谱:变更审查、探索、调试、重构。触发:知识图谱、代码审查、影响分析、爆炸半径、重构。
本项目通过 code-review-graph MCP 接入了基于 AST 的代码知识图谱。探索代码时**优先使用图谱工具**,再降级到 Grep/Glob/Read。
---
利用知识图谱进行风险感知的代码审查。
1. 运行 `detect_changes` 获取带风险评分的变更分析。 2. 运行 `get_affected_flows` 查找受影响的执行路径。 3. 对高风险函数,运行 `query_graph` pattern="tests_for" 检查测试覆盖。 4. 运行 `get_impact_radius` 理解影响范围。 5. 对未覆盖测试的变更,建议具体的测试用例。
按风险等级(高/中/低)分组,包含:变更内容、测试覆盖状态、改进建议、合并建议。
---
利用图谱快速理解代码库结构。
1. 运行 `list_graph_stats` 查看整体指标。 2. 运行 `get_architecture_overview` 了解高层模块结构。 3. 使用 `list_communities` 查找主要模块,用 `get_community` 获取详情。 4. 使用 `semantic_search_nodes` 按名称或关键词查找函数/类。 5. 使用 `query_graph` 的 `callers_of`、`callees_of`、`imports_of` 追踪关系。 6. 使用 `list_flows` 和 `get_flow` 理解执行路径。
---
利用图谱系统化追踪和调试问题。
1. 使用 `semantic_search_nodes` 查找与问题相关的代码。 2. 使用 `query_graph` 的 `callers_of` 和 `callees_of` 追踪调用链。 3. 使用 `get_flow` 查看可疑区域的完整执行路径。 4. 运行 `detect_changes` 检查近期变更是否引发了问题。 5. 对可疑文件使用 `get_impact_radius` 查看受影响范围。
---
利用图谱自信地规划和执行重构。
1. 使用 `refactor_tool` mode="suggest" 获取重构建议。 2. 使用 `refactor_tool` mode="dead_code" 查找死代码。 3. 重命名时用 `refactor_tool` mode="rename" 预览所有受影响位置。 4. 使用 `apply_refactor_tool` 配合 refactor_id 应用重命名。 5. 变更后运行 `detect_changes` 验证影响。
Next-generation UI automation harness powered by Python & Playwright. Chat with AI Agents to seamlessly generate, architect, and execute enterprise-grade UI test code.
为已有 PageObject 增量添加回归测试点。触发:新增测试点、添加回归点、add test point、增加覆盖、扩展页面方法。
浏览器 viewport / headless / 超时分层配置。触发:viewport、浏览器配置、导航超时、headless、slow_mo、incognito。
共享 page 下用例离开起点后必须 UI 返回并断言。触发:往返闭合、case round trip、复位超时、scope 共享 page。
一键生成 PageObject + 配套测试。触发:新增页面、生成页面、gen page、create page、添加页面对象。
替换占位定位符为真实选择器(六级优先级)。触发:替换定位符、locator、selector、定位失败、元素找不到、DOM 分析。
Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…
Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…