Skip to content
Back to skills

Examples

ASecurity

A complete skill demonstrating all gold-standard conventions, annotated with convention callouts. --- ```yaml --- name: review # kebab-case, matches skill directory name description: Multi-agent code review # trigger-focused, no workflow details with specialized perspectives user-invocable: true argument-hint: "PR number, branch # shown in / menu name, file path, or 'staged'" --- ```

  • 511 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsgogitsecurityperformance

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add rsmdt/the-startup --skill examples --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Examples?

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

Security grade badge for Examples
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rsmdt-examples/badge)](https://www.skillsdirectory.com/skills/rsmdt-examples)

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
# Canonical Skill Example: review

A complete skill demonstrating all gold-standard conventions, annotated with convention callouts.

---

```yaml
---
name: review                          # kebab-case, matches skill directory name
description: Multi-agent code review  # trigger-focused, no workflow details
  with specialized perspectives
user-invocable: true
argument-hint: "PR number, branch     # shown in / menu
  name, file path, or 'staged'"
---
# Note: allowed-tools is deprecated — tools are available by default
```

## Persona                             <!-- PICS: P -->

Act as a code review orchestrator...   <!-- role + expertise frame -->

**Review Target**: $ARGUMENTS          <!-- binds argument to context -->

## Interface                           <!-- PICS: I -- data shapes, State included -->

Finding {                              <!-- data shape with inlined enums (no type aliases) -->
  severity: CRITICAL | HIGH | MEDIUM | LOW
  confidence: HIGH | MEDIUM | LOW
  title: String
  location: String
  issue: String
  fix: String
  code_example?: String                <!-- ? for optional -->
}

State {
  target = $ARGUMENTS
  perspectives = []                    <!-- populated from reference/perspectives.md -->
  mode: Standard | Team                <!-- chosen by user in step 2 -->
  findings: [Finding]                  <!-- collected from agents -->
}

## Constraints                         <!-- PICS: C -- markdown Always/Never lists -->

**Always:**
- Launch ALL applicable review activities simultaneously.
- Every finding must have a specific, implementable fix.
- Provide full file context to reviewers, not just diffs.

**Never:**
- Review code yourself -- always delegate to specialist agents.
- Present findings without actionable fix recommendations.

## Reference Materials                 <!-- optional, progressive disclosure -->

- reference/perspectives.md -- review perspectives
- reference/output-format.md -- output guidelines
- reference/checklists.md -- security, performance, quality checklists
- reference/classification.md -- severity/confidence definitions

## Workflow                            <!-- numbered ### headings, not fn definitions -->

### 1. Gather Context

Determine the review target from $ARGUMENTS.

match (target) {                       <!-- match for 3+ branch routing -->
  /^\d+$/       => gh pr diff $target
  "staged"      => git diff --cached
  default       => git diff main...$target
}

Retrieve full file contents for context (not just diff).

Read reference/perspectives.md. Determine applicable conditional perspectives:

match (changes) {                      <!-- conditional perspective activation -->
  async/await | Promise => +Concurrency
  dependency changes    => +Dependencies
}

### 2. Select Mode

Ask the user to choose between:
  Standard (default) -- parallel fire-and-forget subagents
  Agent Team -- persistent teammates with peer coordination

### 3. Launch Reviews

Launch one subagent per applicable perspective. Provide full file context to each.

### 4. Synthesize Findings

Process findings:
1. Deduplicate overlapping findings by location (within 5 lines).
2. Sort by severity descending, then confidence descending.
3. Assign IDs using pattern `$severityLetter$number` (C1, C2, H1, M1, L1...).
4. Build summary table.

Determine verdict:

verdict = match (criticalCount, highCount, mediumCount) {
  (> 0, _, _)  => REQUEST CHANGES
  (0, 0, 0)    => APPROVE
}

### 5. Next Steps

Read reference/output-format.md and present verdict-based options — ask the user to choose.

### Entry Point

match (mode) {
  Standard   => steps 1, 2, 3, 4, 5
  Agent Team => steps 1, 2, 3 (with team), 4, 5
}

Files in this skill

  • canonical-skill.md3.6 KB
  • output-example.md2 KB

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…