spectra-audit

Audit current git diffs for security sharp edges using the spectra CLI.

Updated Mar 26, 2024
One-click install
npx skills add https://github.com/SHUSHU010829/shushu.tw --skill spectra-audit-shushu010829
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spectra-audit
Source: https://github.com/SHUSHU010829/shushu.tw/tree/main/.claude/skills/spectra-audit
Command: npx skills add https://github.com/SHUSHU010829/shushu.tw --skill spectra-audit-shushu010829

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit changed code for security sharp edges — API design traps, dangerous defaults, and interfaces that make it easy to do the wrong thing.

Core Features & Use Cases

  • Standalone mode provides full 3-agent parallel analysis on the current git diff.
  • Discipline mode enables a condensed checklist applied during implementation when audit: true is set.
  • Core framework unifies the three adversaries (Scoundrel, Lazy Developer, Confused Developer) to surface security pitfalls during review.

Quick Start

Run spectra-audit to analyze the current git diff for security issues.

Frequently Asked Questions about spectra-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a git diff for security vulnerabilities?

The spectra-audit Skill analyzes your current git diff for security vulnerabilities by coordinating three adversarial agents to surface API design traps and dangerous defaults during code review.

What security issues does a code review of changed code typically look for?

A code review of changed code looks for security sharp edges like API design traps, dangerous defaults, and interfaces that make it easy to do the wrong thing, using a multi-agent framework to surface these pitfalls.

Can I run security checks during implementation instead of just at review time?

Yes, you can run security checks during implementation by enabling Discipline mode with the audit: true setting, which applies a condensed checklist to provide secure-by-default checks as you write code.

Do I need the spectra CLI to perform an automated multi-agent code review?

Yes, you need the spectra CLI installed to drive the multi-agent workflow, as the core framework requires the spectra CLI to coordinate the three adversaries and run the automated code review.

What is the best way to find dangerous defaults in a software project's changed code?

The best way to find dangerous defaults is using a multi-agent code review approach like spectra-audit's Standalone mode, which performs a full parallel analysis on the current git diff to identify insecure interfaces.