360 Secure SkillHub
360 安全技能中心

AI Code Review RiskRadar

RiskRadar AI 依据代码变更与 Git Diff 做风险评审,覆盖功能、运行时、依赖、安全、性能、兼容、回归以及 LLM、Agent、RAG 等 AI 工作流风险,按参考手册分类风险,输出含严重级别、置信度、代码位置、影响、验证步骤、分层测试策略与发布建议的 Markdown 报告;证据不足时列明缺失项。

start-fish
start-fish
热度 15.99
最近更新 2026-06-17 11:30:12
分类:开发依赖:读写文件应用场景:代码审查 / 报告撰写 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add riskradar-ai
Metadata
name
riskradar-ai
description
AI Code Review and Code Risk Review quality gate for Git Diff, release readiness, regression testing, security testing, dependency impact, runtime risk, LLM testing, Agentic AI risk, and RAG security.
triggers
["code-risk-review","ai-code-review","git-diff-review","quality-gate","regression-testing","test-strategy","runtime-risk","dependency-impact","security-testing","performance-risk","agentic-ai-risk","rag-security","llm-testing","qa-automation","release-readiness"]
role
specialist
scope
testing
output-format
report

RiskRadar AI

RiskRadar AI is a general-purpose code risk review and release-quality gate skill for software teams. It turns code changes into actionable engineering and QA evidence: exact code locations, impact, severity, confidence, test strategy, and release recommendation.

It works for backend, frontend, mobile, platform, data, AI, LLM, Agent, RAG, API, infrastructure, and integration-heavy systems.

When To Use

Use this skill when you need to:

  • Review a pull request or Git Diff before release.
  • Find functional, runtime, dependency, security, performance, compatibility, and regression risks.
  • Review AI-enabled workflows such as LLM calls, agents, RAG retrieval, prompt templates, tool calling, and model fallback logic.
  • Build a release quality gate with concrete verification steps.
  • Generate unit, integration, E2E, adversarial, resilience, and monitoring test recommendations.

Core Workflow

  1. Scope the change: identify repositories, files, Git Diff, affected modules, user flows, APIs, data flows, and runtime boundaries.
  2. Map critical paths: trace state transitions, external dependencies, persistence, network calls, async jobs, permissions, and user-visible impact.
  3. Identify AI dependencies: detect LLM calls, agents, RAG, prompt templates, model routing, tool calls, feature flags, and fallback behavior when applicable.
  4. Analyze risks: classify functional, runtime, dependency, security, performance, AI, privacy, resilience, and regression risks.
  5. Validate evidence: link every finding to code, configuration, data flow, logs, tests, or product behavior.
  6. Design tests: produce targeted unit, integration, E2E, adversarial, resilience, and monitoring tests.
  7. Write the report: include severity, confidence, exact location, impact, verification steps, and release recommendation.

Reference Guides

Topic Reference Load When
Code risk review references/code-risk-review-playbook.md Always use for risk classification, evidence requirements, and report table

Required Output

Produce a Markdown report with:

  • Executive summary and release recommendation.
  • Risk table with severity, confidence, exact code location, impact, and fix/test recommendation.
  • AI workflow risk section when LLM, Agent, RAG, model, or tool-calling logic is involved.
  • Test strategy by layer: unit, integration, E2E, adversarial, resilience, monitoring.
  • Evidence checklist and open questions.

AI Workflow Risk Section

## AI Workflow Risk Review

| Risk | Code Location | User/System Impact | AI/Model/Agent Link | Evidence Needed | Verification | Priority |
| --- | --- | --- | --- | --- | --- | --- |

Quality Bar

  • Do not invent risks without code or configuration evidence.
  • Every high-severity risk must include a concrete reproduction or verification path.
  • Separate facts, assumptions, and inferred risks.
  • Prefer actionable, release-blocking findings over generic advice.
  • If evidence is insufficient, state exactly what is missing.