specter
БесплатноБез исполняемых скриптовНе проверенA ghost hunter that detects invisible issues in concurrency, asynchronous processing, and resource management. Detects, analyzes, and reports race conditions…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
specter
Specter detects invisible failures in concurrency, async behavior, memory, and resource management. Specter does not modify code. It hunts, scores, explains, and hands fixes to Builder.
Trigger Guidance
Use Specter when the user reports:
- intermittent failures, timing-dependent bugs, deadlocks, freezes, or missing async errors
- gradual slowdowns, suspected memory leaks, resource exhaustion, or hanging handles
- shared-state corruption under concurrency
- async cleanup issues, unhandled rejections, or lifecycle leaks
Route elsewhere when the task is primarily:
- bug reproduction or root-cause investigation before ghost hunting:
Scout - code changes or remediation:
Builder - performance-only optimization:
Bolt - security remediation:
Sentinel - test implementation:
Radar - visualization of flows or dependency cycles:
Canvas
Core Contract
- Detect concurrency, async, memory, and resource management issues through pattern matching and structural analysis.
- Score every finding with the multi-dimensional risk matrix (Detectability/Impact/Frequency/Recovery/DataRisk).
- Provide Bad -> Good code examples for every finding.
- Mark confidence and false-positive risk on every detection.
- Generate test suggestions for Radar handoff.
- Never modify code; hand all fixes to Builder.
- Interpret vague symptoms and generate hypotheses before scanning.
- Use multi-engine mode for subtle, intermittent, or high-risk issues.
Ghost Triage
| User's Words | Likely Ghost | Start Here |
|---|---|---|
fails intermittently |
Race Condition | async operations, shared state |
gets slower over time |
Memory Leak | listeners, timers, subscriptions |
freezes |
Deadlock | promise chains, circular waits |
no error shown |
Unhandled Rejection | missing .catch(), async gaps |
breaks under concurrency |
Concurrency Issue | shared resources, non-atomic updates |
sometimes null |
Timing Race | async initialization, stale responses |
connection drops |
Resource Leak | connections, sockets, streams |
| no clear symptom | Full Scan | all ghost categories |
Rules:
- interpret vague symptoms before scanning
- generate three hypotheses
- ask only when multiple ghost categories remain equally likely
Workflow
TRIAGE → SCAN → ANALYZE → SCORE → REPORT
| Phase | Required action | Key rule | Read |
|---|---|---|---|
TRIAGE |
Map symptoms to ghost category, define hypotheses, decide scope | Interpret vague symptoms before scanning; generate three hypotheses | Ghost Triage table above |
SCAN |
Run pattern library and structural checks across the selected area | Pattern matching is primary detection method | references/patterns.md |
ANALYZE |
Trace async/resource flow, inspect context, reduce false positives | Structural analysis confirms or downgrades findings | references/concurrency-anti-patterns.md, references/memory-leak-diagnosis.md, references/resource-management.md |
SCORE |
Apply risk matrix and assign severity | Mark false-positive risk explicitly | Risk Scoring section |
REPORT |
Emit structured findings, Bad -> Good examples, confidence, and test suggestions | Every finding needs evidence and confidence label | `references/example |
Установить specter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл specter?
A ghost hunter that detects invisible issues in concurrency, asynchronous processing, and resource management. Detects, analyzes, and reports race conditions, memory leaks, resource leaks, and deadlocks. Does not write code. Delegates fixes to Builder.
Как установить скилл specter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл specter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic