warden-sweep

작성자: sentry

전체 저장소 코드 스윕. Warden으로 모든 파일을 스캔하고, 심층 추적을 통해 결과를 검증하며, 검증된 이슈에 대한 초안 PR을 생성합니다. 요청 시 사용합니다…

npx skills add https://github.com/getsentry/warden --skill warden-sweep

Warden Sweep

Run a full-repository Warden sweep: scan files, verify findings, create a tracking issue, open draft PRs for validated issues, and organize the final report.

Requires: warden, gh, git, jq, uv.

Run commands from the repository root. Use the host's skill-root path for bundled scripts and references.

Output goes to .warden/sweeps/<run-id>/.

References

Load only the reference for the current phase:

NeedRead
Script arguments, outputs, and side effectsreferences/script-interfaces.md
Phase 1 scan workflowreferences/scan-phase.md
Phase 2 verification workflowreferences/verify-phase.md
Phase 3 tracking issue workflowreferences/issue-phase.md
Phase 4 patch and draft PR workflowreferences/patch-phase.md
Phase 5 organize and final report workflowreferences/organize-phase.md
Resume behavior and artifact layoutreferences/resume-and-artifacts.md
Verification task prompt templatereferences/verify-prompt.md
Patch task prompt templatereferences/patch-prompt.md

Workflow

Track progress across phases:

  • Phase 1: Scan repository files with Warden.
  • Phase 2: Verify findings before patching.
  • Phase 3: Create a tracking issue.
  • Phase 4: Patch verified findings and open draft PRs.
  • Phase 5: Organize results and produce the final report.

Phase Order

  1. Read references/script-interfaces.md once before running scripts.
  2. Run Phase 1 from references/scan-phase.md. Save runId and sweepDir.
  3. Run Phase 2 from references/verify-phase.md. Verify every finding before patching.
  4. Run Phase 3 from references/issue-phase.md. Continue if issue creation fails.
  5. Run Phase 4 from references/patch-phase.md. Patch sequentially, one finding at a time.
  6. Run Phase 5 from references/organize-phase.md.
  7. For interrupted or partial runs, read references/resume-and-artifacts.md and continue from the first incomplete phase.

Non-Negotiable Rules

  • Verify findings before creating fixes.
  • Use draft PRs for generated patches.
  • Branch every patch from the repository default branch.
  • Patch findings sequentially; do not run patch workers in parallel.
  • Skip existing entries in sweep artifacts instead of duplicating work.
  • Record failures in sweep data and continue to the next finding when possible.
  • Clean up each worktree after patch success or failure.

Final Response

After organizing, report:

## Sweep Complete

| Metric | Count |
|--------|-------|
| Files scanned | {filesScanned} |
| Findings verified | {verified} |
| PRs created | {prsCreated} |
| Security findings | {securityFindings} |

Full report: `{summaryPath}`

sentry의 다른 스킬

generate-frontend-forms
sentry
Sentry의 새로운 폼 시스템을 사용하여 폼을 생성하는 가이드입니다. 폼, 폼 필드, 유효성 검사 또는 자동 저장 기능을 구현할 때 사용하세요.
official
sentry-snapshots-cocoa
sentry
Apple/Cocoa 프로젝트를 위한 전체 Sentry Snapshots 설정입니다. "SnapshotPreviews 설정", "Apple 스냅샷 테스트 설정", "Apple 스냅샷 업로드" 요청 시 사용하세요.
official
architecture-review
sentry
직원 수준의 코드베이스 건강 검토. 모놀리식 모듈, 무음 실패, 타입 안전성 격차, 테스트 커버리지 구멍, LLM 친화성 문제를 찾습니다.
official
linear-type-labeler
sentry
Linear 이슈를 분류하고, 각 이슈의 제목과 설명 내용을 기반으로 Sentry 워크스페이스의 레이블 분류 체계에서 Type 레이블을 적용합니다.
official
sentry-flutter-sdk
sentry
Flutter 및 Dart를 위한 완전한 Sentry SDK 설정입니다. "Flutter에 Sentry 추가", "sentry_flutter 설치", "Dart에서 Sentry 설정" 또는 오류 구성을 요청받았을 때 사용하세요.
official
sentry-svelte-sdk
sentry
Svelte 및 SvelteKit을 위한 완전한 Sentry SDK 설정입니다. "Svelte에 Sentry 추가", "SvelteKit에 Sentry 추가", "@sentry/sveltekit 설치" 또는 구성 요청 시 사용하세요.
official
vercel-react-best-practices
sentry
Vercel Engineering의 React 및 Next.js 성능 최적화 가이드라인입니다. 이 스킬은 React/Next.js 코드를 작성, 검토 또는 리팩토링할 때 사용해야 합니다.
official
sentry-tanstack-start-sdk
sentry
TanStack Start React용 전체 Sentry SDK 설정. "TanStack Start에 Sentry 추가", "@sentry/tanstackstart-react 설치" 또는 오류 구성 요청 시 사용…
official