feat: redesign document-review skill with persona-based review (#359)

This commit is contained in:
Trevin Chow
2026-03-24 01:51:22 -07:00
committed by GitHub
parent e932276866
commit 18d22afde2
18 changed files with 1259 additions and 64 deletions

View File

@@ -53,7 +53,7 @@ function convertAgent(agent: ClaudeAgent, usedNames: Set<string>): CopilotAgent
infer: true,
}
if (agent.model) {
if (agent.model && agent.model !== "inherit") {
frontmatter.model = agent.model
}

View File

@@ -75,7 +75,10 @@ function convertAgent(agent: ClaudeAgent): DroidAgentFile {
const frontmatter: Record<string, unknown> = {
name,
description: agent.description,
model: agent.model && agent.model !== "inherit" ? agent.model : "inherit",
}
if (agent.model && agent.model !== "inherit") {
frontmatter.model = agent.model
}
const tools = mapAgentTools(agent)

View File

@@ -264,7 +264,7 @@ function rewriteClaudePaths(body: string): string {
// Update these when new model generations are released.
const CLAUDE_FAMILY_ALIASES: Record<string, string> = {
haiku: "claude-haiku-4-5",
sonnet: "claude-sonnet-4-5",
sonnet: "claude-sonnet-4-6",
opus: "claude-opus-4-6",
}