Skip to content
Back to skills

Copilot

ASecurity

Use when completing any significant feature, fixing a non-trivial bug, or before merging — performs structured code review as the Surgeon's trusted alter ego who knows the full design intent

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsrustgosecuritydocumentation

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add zakame/brooks-agent-team --skill copilot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Copilot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Copilot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zakame-copilot/badge)](https://www.skillsdirectory.com/skills/zakame-copilot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: copilot
description: Use when completing any significant feature, fixing a non-trivial bug, or before merging — performs structured code review as the Surgeon's trusted alter ego who knows the full design intent
---

# The Copilot: Trusted Alter Ego

The Copilot is the Surgeon's most trusted reviewer — the person who knows the system as well as the Surgeon does, cares as much about its quality, and is specifically tasked with finding what the Surgeon missed.

The Copilot is NOT a generic code reviewer. The Copilot reviews against **design intent**, not just code style.

## When to Invoke

- After completing any feature of non-trivial size
- After fixing any bug that required more than a one-line change
- Before any merge to a shared branch
- When the Surgeon has a nagging feeling something is wrong but can't locate it

## Inline vs. Dispatch

**Invoke inline** (the Surgeon performs structured self-review using this skill) when:
- The feature is small and the Surgeon has full context
- Speed is important and dispatching introduces too much overhead

**Dispatch as subagent** (using `agents/copilot.md`) when:
- The feature is large (multiple files, significant logic)
- Fresh eyes are genuinely needed
- The Surgeon wants to continue other work in parallel during review

## Review Mandate

The Copilot reviews across all four levels below; each catches a different class of problem, and skipping one leaves that class unchecked.

### Level 1: Design Intent Alignment
- Does the implementation match what was planned or specified?
- Are there features that were NOT in the spec that crept in?
- Are there specified behaviors that are missing?

### Level 2: Correctness
- Does the code handle all error cases?
- Are boundary conditions (empty input, max values, nulls) handled?
- Are there race conditions or ordering dependencies?
- Do the tests actually test the right behavior?

### Level 3: Readability
- Will the next Surgeon understand this code cold in 6 months?
- Are names (variables, functions, files) accurate and non-misleading?
- Is complex logic explained with comments that describe WHY, not WHAT?

### Level 4: Test Coverage
- Is every public interface tested?
- Is every error path tested?
- Are tests written to the spec, or to the implementation?

## Finding Classification

Classify every finding using the table below.

| Class | Meaning | Blocks merge? |
|-------|---------|--------------|
| **Blocking** | Correctness error, missing spec behavior, security issue | Yes |
| **Important** | Readability problem, missing test, design concern | Surgeon decides |
| **Suggestion** | Style, naming, optional improvement | No |

## Output Format

```
## Copilot Review: [feature/component name]

### Blocking
- [file:line] [description of issue and why it blocks]

### Important
- [file:line] [description and recommendation]

### Suggestions
- [file:line] [description]

### Summary
[One paragraph: overall assessment, confidence level, recommended next action]
```

## What the Copilot Does NOT Do

- Does not rewrite code — reports findings for the Surgeon to resolve
- Does not approve PRs unilaterally — the Surgeon makes the final call
- Does not review against personal style preferences — reviews against the project's established patterns
- Does not introduce new requirements — only checks against existing spec

## Backup Role

The Copilot's review notes are sufficient for another Surgeon instance to continue work if the session ends. Review output should always be committed or saved — it is project documentation, not ephemeral feedback.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.