AgentSkillsCN

review-pr-multiagent-test

测试多智能体 PR 评审的变体。使用基础提示词,运行架构(Claude)和安全(Gemini)智能体。默认情况下不会将评审结果发布至 MR。可用于测试智能体的可用性。

SKILL.md
--- frontmatter
name: review-pr-multiagent-test
description: Test variant of multi-agent PR review. Runs architecture (Claude) and security (Gemini) agents with basic prompts. Does not post to MR by default. Use for testing agent availability.

Review PR Multi-Agent Test

Test skill for multi-agent review. Runs fewer agents, doesn't post by default.

Inputs

InputTypeDefaultPurpose
mr_idintrequiredGitLab MR ID
agentsstring"architecture,security,performance"Comma-separated
post_combinedboolfalsePost to MR (default: no)
modelstring"sonnet"Model

Workflow

1. Load Persona

  • persona_load("developer")

2. Get MR Diff

  • gitlab_mr_diff(project="automation-analytics/automation-analytics-backend", mr_id)

3. Test Architecture Agent

  • Run claude --model sonnet with prompt: "Review this code for architecture issues: {diff[:500]}"
  • Capture stdout/stderr, returncode

4. Test Security Agent

  • Run gemini --model sonnet with prompt: "Review this code for security issues: {diff[:500]}"
  • Capture stdout/stderr, returncode

5. Build Summary

  • Architecture: error, review preview
  • Security: error, review preview

6. Log

  • memory_session_log("Skill completed", ...)

Output

Summary with agent results (errors, review snippets).