Agent skill
code-formatter
A simple example skill for demonstration purposes
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/simple-claude-skill
SKILL.md
Code Formatter Skill
Automatically formats code files using industry-standard tools.
Capabilities
- Format JavaScript/TypeScript with Prettier
- Fix ESLint issues automatically
- Format JSON, YAML, and Markdown files
- Run format checks before commits
Usage Examples
Format a single file:
"Format the src/index.js file"
Format entire directory:
"Format all files in the src/ directory"
Check formatting without changes:
"Check if files in src/ are properly formatted"
Configuration
Set these environment variables for custom configuration:
PRETTIER_CONFIG: Path to prettier config (default: .prettierrc)ESLINT_CONFIG: Path to eslint config (default: .eslintrc.js)
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?