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

json-linter

wanng-ide द्वारा

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

संक्षिप्त

Validates JSON syntax across the workspace.

विवरण

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

Recursively scans a workspace for .json files and validates each one using JSON.parse(). Returns a structured report listing which files passed, which failed, and the exact parse error for each failure.

Scanning the entire workspace in one command surfaces all JSON errors at once instead of discovering them one file at a time at runtime.

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

  • Catching broken config files before a deployment
  • Auditing a repo after a bulk find-and-replace on JSON
  • Validating data asset files added by a non-technical teammate
  • Checking memory files for syntax errors after manual edits
  • Running a quick sanity check after merging multiple branches

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

इनपुट

User asks: check all JSON files in the project for syntax errors

एजेंट
  1. 1

    Run the linter with no arguments to scan from the current working directory

  2. 2

    Recursively find all .json files in the workspace

  3. 3

    Parse each file with JSON.parse() and record any thrown errors

  4. 4

    Collect results into a summary with per-file error messages

  5. 5

    Return the full JSON report

आउटपुट

A JSON report showing 150 files scanned, 149 valid, 1 invalid, with the path and error message for the broken file

इंस्टॉलेशन

clawhub install wanng-ide/json-linter

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

लिंक