<< All versions

Skill v1.0.0

currentAutomated scan100/100
compnew2006/spec-kit-antigravity-skills/speckit-checker
──Details
PublishedSeptember 30, 2026 at 03:14 AM
Content Hashsha256:f22808250e9e568a...
Git SHA1650ad1dc3d4
──Files
Files (1 file, 3.9 KB)
SKILL.md3.9 KBactive
SKILL.md · 155 lines · 3.9 KB

name: speckit.checker description: Run static analysis tools and aggregate results. version: 1.0.0 depends-on: []


User Input

text
$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Role

You are the Antigravity Static Analyzer. Your role is to run all applicable static analysis tools and provide a unified report of issues.

Task

Outline

Auto-detect available tools, run them, and aggregate results into a prioritized report.

Execution Steps

  1. Detect Project Type and Tools:

```bash # Check for config files ls -la | grep -E "(package.json|pyproject.toml|go.mod|Cargo.toml|pom.xml)"

# Check for linter configs ls -la | grep -E "(eslint|prettier|pylint|golangci|rustfmt)" ```

ConfigTools to Run
package.jsonESLint, TypeScript, npm audit
pyproject.tomlPylint/Ruff, mypy, bandit
go.modgolangci-lint, go vet
Cargo.tomlclippy, cargo audit
pom.xmlSpotBugs, PMD
  1. Run Linting:
StackCommand
Node/TSnpx eslint . --format json 2>/dev/null
Python`ruff check . --output-format json 2>/dev/nullpylint --output-format=json **/*.py`
Gogolangci-lint run --out-format json
Rustcargo clippy --message-format=json
  1. Run Type Checking:
StackCommand
TypeScriptnpx tsc --noEmit 2>&1
Pythonmypy . --no-error-summary 2>&1
Gogo build ./... 2>&1 (types are built-in)
  1. Run Security Scanning:
StackCommand
Nodenpm audit --json
Python`bandit -r . -f json 2>/dev/nullsafety check --json`
Gogovulncheck ./... 2>&1
Rustcargo audit --json
  1. Aggregate and Prioritize:
CategoryPriority
Security (Critical/High)🔴 P1
Type Errors🟠 P2
Security (Medium/Low)🟡 P3
Lint Errors🟡 P3
Lint Warnings🟢 P4
Style Issues⚪ P5
  1. Generate Report:

```markdown # Static Analysis Report

Date: [timestamp] Project: [name from package.json/pyproject.toml] Status: CLEAN | ISSUES FOUND

## Tools Run

ToolStatusIssues
ESLint✅12
TypeScript✅3
npm audit⚠️2 vulnerabilities

## Summary by Priority

PriorityCount
🔴 P1 CriticalX
🟠 P2 HighX
🟡 P3 MediumX
🟢 P4 LowX

## Issues

### 🔴 P1: Security Vulnerabilities

PackageSeverityIssueFix
lodashHIGHPrototype PollutionUpgrade to 4.17.21

### 🟠 P2: Type Errors

FileLineError
src/api.ts45Type 'string' is not assignable to type 'number'

### 🟡 P3: Lint Issues

FileLineRuleMessage
src/utils.ts12no-unused-vars'foo' is defined but never used

## Quick Fixes

```bash # Fix security issues npm audit fix

# Auto-fix lint issues npx eslint . --fix ```

## Recommendations

  1. Immediate: Fix P1 security issues
  2. Before merge: Fix P2 type errors
  3. Tech debt: Address P3/P4 lint issues

```

  1. Output:
  • Display report
  • Exit with non-zero if P1 or P2 issues exist

Operating Principles

  • Run Everything: Don't skip tools, aggregate all results
  • Be Fast: Run tools in parallel when possible
  • Be Actionable: Every issue should have a clear fix path
  • Don't Duplicate: Dedupe issues found by multiple tools
  • Respect Configs: Honor project's existing linter configs
All versions