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

simplify-and-harden

pskoett द्वारा

Coding Agents & IDEs
751clawskills.sh द्वारा बताए गए डाउनलोड
4स्टार
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Post-completion self-review for coding agents that runs simplify, harden, and micro-documentation passes.

विवरण

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

A post-completion review hook for coding agents that runs three sequential passes on the task diff: simplify (dead code, naming, control flow cleanup), harden (input validation, injection vectors, auth checks, secrets), and document (inline comments on non-obvious decisions). Activates after a non-trivial coding task completes and pauses for human approval before applying structural refactors or security changes.

Runs while the agent still holds full context about the task, catching issues a later reviewer would need to reconstruct from scratch.

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

  • Catching unused imports and debug logs after finishing an implementation
  • Checking new API endpoints for missing auth guards before opening a PR
  • Adding decision comments to non-obvious logic before handing off for review
  • Flagging hardcoded secrets or unvalidated user inputs in freshly written code
  • Running a bounded quality and security sweep before marking a task done

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

इनपुट

User asks: Review my changes after completing the user export endpoint

एजेंट
  1. 1

    Re-reads all modified files with fresh eyes before making any edits

  2. 2

    Applies cosmetic fixes automatically (removes unused imports, tightens naming, flattens control flow)

  3. 3

    Presents any structural refactor as an interactive proposal and waits for explicit approval

  4. 4

    Checks the new endpoint for input validation gaps, missing role checks, and exposed secrets

  5. 5

    Adds up to 5 inline comments on non-obvious decisions and outputs a structured YAML summary

आउटपुट

Structured YAML summary listing applied fixes, flagged issues, comments added, budget utilization, and whether follow-up review is required

इंस्टॉलेशन

clawhub install pskoett/simplify-and-harden

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

लिंक