कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

anti-pattern-czar

glucksberg द्वारा

Web & Frontend Development
377clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Detect and fix TypeScript error handling anti-patterns with state persistence and approval workflows.

विवरण

यह स्किल क्या करती है

Autonomous agent that scans TypeScript codebases for error handling anti-patterns such as empty catch blocks, swallowed promises, and unlogged errors. Operates in five modes: scan, review, auto, resume, and report. Session state persists across runs so large codebases can be fixed incrementally.

Combines static detection, templated fixes, and an approval workflow in one session-aware tool, replacing the manual grep-fix-grep cycle with tracked, resumable progress.

इसे कब इस्तेमाल करें

  • Finding silent catch blocks before a production incident
  • Batch-fixing low-severity error handling issues before a code review
  • Interactively reviewing error handling on critical database or auth paths
  • Resuming a multi-session anti-pattern audit after switching branches
  • Checking fix progress and remaining issue counts at any point in a refactor

उदाहरण वर्कफ़्लो

इनपुट

User asks: scan my src/ directory for error handling anti-patterns

एजेंट
  1. 1

    Runs bunx antipattern-czar --src src and captures output

  2. 2

    Checks project root for existing .anti-pattern-state.json and asks whether to resume

  3. 3

    Classifies each detected issue by severity and whether it sits on a critical path

  4. 4

    Saves full session state to .anti-pattern-state.json

  5. 5

    Displays a summary table grouped by severity with issue counts per file

आउटपुट

Session saved with 34 issues across 12 files; 3 critical-path, 11 high, 20 medium — ready for REVIEW or AUTO mode

इंस्टॉलेशन

clawhub install glucksberg/anti-pattern-czar

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक