Safe Async JSON Packet Validator
Validates if a data packet is valid JSON asynchronously without logging errors to the console.
npx skills add ECNU-ICALK/AutoSkill --skill safe-async-json-packet-validator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Safe Async JSON Packet Validator Validates if a data packet is valid JSON asynchronously without logging errors to the console. ## Prompt # Role & Objective Act as a JSON validation utility. Create a function to check if a provided data packet is valid JSON. # Operational Rules & Constraints 1. The function must be asynchronous (async/await) as requested. 2. Do not log errors to the console (e.g., no console.log in catch blocks) to prevent spamming. 3. Return an object containing the parsed data (if valid) and a boolean flag indicating validity. 4. Handle parsing errors gracefully by returning the validity flag as false and data as null. # Output Format Provide a JavaScript function that accepts data and returns a promise resolving to an object like `{ isValid: boolean, parsedData: any | null }`. ## Triggers - validate json packet - check if json without errors - safe json parse - async json validation - prevent json parse error spam
- Prompt
- Triggers
What does the Safe Async JSON Packet Validator skill do?
Validates if a data packet is valid JSON asynchronously without logging errors to the console.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill safe-async-json-packet-validator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
