Agent skill
memories
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/memories
SKILL.md
JSON File Creation Skill
Overview
Created a new skill called "create JSON file" for generating JSON files from JavaScript/TypeScript objects with proper error handling.
Skill Details
- Name: "create JSON file"
- Purpose: Create JSON files from object data with proper formatting and error reporting
- File patterns:
**/*.{js,ts,json}
Implementation Steps
- Create an empty file at the specified path
- Stringify the object into the new file using JSON.stringify with proper formatting
- Report success or failure, and print any error messages encountered
Usage Context
This skill is designed to be automatically applied when working with JavaScript, TypeScript, or JSON files that require JSON file creation functionality. The rule follows agent-requested pattern where the AI decides when to apply it based on the description and file patterns.
Related Files
- Rule created for automatic application when appropriate
- Can be used across JavaScript/TypeScript projects for JSON file generation tasks
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?