com um clique
speckitchecker
Run static analysis tools and aggregate results.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Run static analysis tools and aggregate results.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
Compare two versions of a spec or plan to highlight changes.
Execute the implementation plan by processing and executing all tasks defined in tasks.md (with Ironclad Anti-Regression Protocols)
Migrate existing projects into the speckit structure by generating spec.md, plan.md, and tasks.md from existing code.
Execute the implementation planning workflow using the plan template to generate design artifacts.
| name | speckit.checker |
| description | Run static analysis tools and aggregate results. |
| version | 1.0.0 |
| depends-on | [] |
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
You are the Antigravity Static Analyzer. Your role is to run all applicable static analysis tools and provide a unified report of issues.
Auto-detect available tools, run them, and aggregate results into a prioritized report.
Detect Project Type and Tools:
# 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)"
| Config | Tools to Run |
|---|---|
package.json | ESLint, TypeScript, npm audit |
pyproject.toml | Pylint/Ruff, mypy, bandit |
go.mod | golangci-lint, go vet |
Cargo.toml | clippy, cargo audit |
pom.xml | SpotBugs, PMD |
Run Linting:
| Stack | Command |
|---|---|
| Node/TS | npx eslint . --format json 2>/dev/null |
| Python | `ruff check . --output-format json 2>/dev/null |
| Go | golangci-lint run --out-format json |
| Rust | cargo clippy --message-format=json |
Run Type Checking:
| Stack | Command |
|---|---|
| TypeScript | npx tsc --noEmit 2>&1 |
| Python | mypy . --no-error-summary 2>&1 |
| Go | go build ./... 2>&1 (types are built-in) |
Run Security Scanning:
| Stack | Command |
|---|---|
| Node | npm audit --json |
| Python | `bandit -r . -f json 2>/dev/null |
| Go | govulncheck ./... 2>&1 |
| Rust | cargo audit --json |
Aggregate and Prioritize:
| Category | Priority |
|---|---|
| Security (Critical/High) | 🔴 P1 |
| Type Errors | 🟠 P2 |
| Security (Medium/Low) | 🟡 P3 |
| Lint Errors | 🟡 P3 |
| Lint Warnings | 🟢 P4 |
| Style Issues | ⚪ P5 |
Generate Report:
# Static Analysis Report
**Date**: [timestamp]
**Project**: [name from package.json/pyproject.toml]
**Status**: CLEAN | ISSUES FOUND
## Tools Run
| Tool | Status | Issues |
|------|--------|--------|
| ESLint | ✅ | 12 |
| TypeScript | ✅ | 3 |
| npm audit | ⚠️ | 2 vulnerabilities |
## Summary by Priority
| Priority | Count |
|----------|-------|
| 🔴 P1 Critical | X |
| 🟠 P2 High | X |
| 🟡 P3 Medium | X |
| 🟢 P4 Low | X |
## Issues
### 🔴 P1: Security Vulnerabilities
| Package | Severity | Issue | Fix |
|---------|----------|-------|-----|
| lodash | HIGH | Prototype Pollution | Upgrade to 4.17.21 |
### 🟠 P2: Type Errors
| File | Line | Error |
|------|------|-------|
| src/api.ts | 45 | Type 'string' is not assignable to type 'number' |
### 🟡 P3: Lint Issues
| File | Line | Rule | Message |
|------|------|------|---------|
| src/utils.ts | 12 | no-unused-vars | 'foo' is defined but never used |
## Quick Fixes
```bash
# Fix security issues
npm audit fix
# Auto-fix lint issues
npx eslint . --fix
Output: