getsentry/warden
Overview
This skill detects Warden-specific recurring bugs by inspecting code changes against historical fault patterns. It focuses on the architectural seams where bugs repeat: SDK IPC, dual report paths, config threading, concurrent execution, and output rendering. The analysis is deterministic and only reports issues provable from the provided code chunk.
How this skill works
You feed scoped diffs from Warden's pipeline into the skill. It classifies the touched zone(s) (SDK, CLI, Config, Output, Types, Action, Triggers) and runs zone-relevant checks derived from 40+ historical fixes. Findings are emitted only at HIGH or MEDIUM confidence when code demonstrates a provable pattern; vague matches are ignored until more context is available.
When to use it
- Pull requests that change SDK response handling, IPC, or usage aggregation
- Refactors touching CLI rendering, runPool/semaphore code, or Ink callbacks
- Schema or defaults changes in config that must thread through resolveSkillConfigs()
- Any change to report assembly paths (runSkill vs runSkillTask) or SkillReport shape
- Modifications to output serialization, JSON/JSONL, or GitHub check assembly
Best practices
- Classify the code to limit checks to relevant architectural zones before running inspections
- Report only provable issues; when confidence is LOW, fetch more files or skip
- Prefer shared utilities for report assembly and config resolution to avoid dual-path drift
- Use nullish checks (??) for config merging and explicit null handling for SDK usage fields
- Guard concurrent callbacks with semaphore patterns and check shouldAbort() after acquire
- Separate machine output generation from display-level filters to preserve full findings
Example use cases
- Detecting access of response.content[0] without length/type checks in SDK handlers
- Finding added SkillReport fields updated in only one of the two report assembly paths
- Flagging config defaults that were not threaded through resolveSkillConfigs() into runners
- Catching mutations of shared state inside runPool workers or Ink render callbacks
- Spotting display-level severity filtering applied before JSON/JSONL serialization
FAQ
Findings are calibrated: HIGH when the pattern is directly provable from code, MEDIUM when context may mitigate and more files are needed, and LOW matches are not reported.
Will this skill guess or produce false positives?
No guessing. It only reports issues with code evidence. If the pattern is ambiguous, it will request more context rather than report a low-confidence issue.
8 skills
This skill helps identify recurring Warden bugs at architectural seams by analyzing code for known failure patterns and historical triggers.
This skill performs a full-repository sweep using warden to identify issues, verify findings, and draft pull requests across the codebase.
This skill performs a staff-level architecture review to identify monoliths, silent failures, type safety gaps, and testing holes to improve long-term
This skill reviews code for issues and reports findings, while always succeeding to ensure tests pass and quality checks.
This skill helps you craft effective agent prompts and Warden skill prompts by applying reference guides and best practices.
This skill identifies and proves code bugs with certainty, tracing exact location, input, and root cause to prevent false positives.
This skill analyzes diffs on the current branch to uncover bugs, security issues, and quality problems.
This skill generates valid Warden skill definitions from user descriptions, producing ready-to-use YAML with prompts, tools, and output schema.