Skip to content

/sniper-check

Use when validating code quality after modifications. Runs sniper agent in isolated forked context for clean, fast validation.

shell
$ npx -y skills add fusengine/agents --skill sniper-check --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/sniper-check
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when validating code quality after modifications. Runs sniper agent in isolated forked context for clean, fast validation.

SKILL.md

sniper-check.SKILL.md
name: sniper-check
description: Use when validating code quality after modifications. Runs sniper agent in isolated forked context for clean, fast validation.
context: fork
agent: fuse-ai-pilot:sniper
user-invocable: true
argument-hint: "[file-or-directory]"

<objective> Sniper Check runs the full sniper agent 6-phase code-quality workflow (parallel explore-codebase + research-expert, Grep-based impact analysis, linter error detection, minimal correction, re-verification to zero errors) in an isolated forked context, so only the final validation report returns to the parent conversation -- nothing of the investigation itself pollutes it. Use it after any code modification, on a specific file, a directory, or the whole project. </objective>

**Target:** $ARGUMENTS

Sniper Check

Overview

Quick code quality validation using the sniper agent in an isolated forked context. Executes the full 6-phase workflow without polluting the main conversation context.

| Feature | Detail | |---------|--------| | **Context** | Forked (isolated sub-agent) | | **Agent** | sniper (Sonnet) | | **Phases** | 6-phase code-quality workflow | | **Result** | Only final report returns to parent |

---

When to Use

| Scenario | Use | |----------|-----| | After code modifications | `/sniper-check src/` | | Validate specific file | `/sniper-check path/to/file.ts` | | Full project check | `/sniper-check .` | | After refactoring | `/sniper-check src/components/` |

---

Workflow

Execute the mandatory 6-phase `code-quality` workflow:

1. **PHASE 1+2 (PARALLEL)**: Launch both in parallel:

  • `explore-codebase` (Haiku) → Architecture discovery
  • `research-expert` (Sonnet) → Documentation verification

2. **PHASE 3**: Grep all usages → Impact analysis 3. **PHASE 4**: Run linters → Detect errors 4. **PHASE 5**: Apply corrections → Minimal changes 5. **PHASE 6**: Re-run linters → Zero errors

**CRITICAL**: Phases 1+2 must run in PARALLEL (two Task calls in one message).

---

Critical Rules

| Rule | Reason | |------|--------| | Never skip phases 1+2 | Documentation-backed fixes only | | Always run phases in order | Dependencies between phases | | Zero linter errors | Non-negotiable exit criteria | | Minimal changes only | Smallest fix necessary |

---

Report Format

Return a validation report with:

  • Architecture summary (from explore-codebase)
  • Documentation references (from research-expert)
  • Impact analysis table (usages, risk level)
  • Errors fixed (critical, high, medium, low)
  • SOLID compliance status
  • Final linter status (must be ZERO errors)
Read more
Read it on GitHub ↗
Ships withfusengine-agents

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.

Get the whole plugin, auto-invoked
Stats
22
Stars
0
Views
3
Forks
Active
Maintenance
CSS
Language
MIT
License
1d ago
Last commit
6mo ago
Created

Repo: fusengine/agents