with one click
format-js
Format JavaScript/TypeScript code with Prettier
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Format JavaScript/TypeScript code with Prettier
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
Structure, validate, and locally manage evolution assets (Gene, Capsule, EvolutionEvent). Use when the user wants to record a solution, document a bug fix, create a Gene or Capsule, capture an evolution process, or compute an asset_id locally. No network connection required. Trigger keywords: Gene, Capsule, EvolutionEvent, evolution asset, asset_id, record solution, save fix, document repair.
Format Python code with Black
Kubernetes YAML validation - Use kube-linter and kubeconform to check K8s config security and best practices
Check JavaScript/TypeScript code quality with ESLint
| name | format-js |
| description | Format JavaScript/TypeScript code with Prettier |
Use Prettier to automatically format JavaScript and TypeScript code:
| Tool | Min Version | Check Command | Installation |
|---|---|---|---|
| Node.js | 16+ | node --version | nodejs.org |
| Prettier | 2.8+ | prettier --version | npm install -g prettier |
"Use format-js to format my JavaScript code"
# Windows
.\.agents\skills\format-js\scripts\format.ps1
# Linux/Mac
./.agents/skills/format-js/scripts/format.sh
# Check without modifying
.\.agents\skills\format-js\scripts\format.ps1 -Check
# Format specific file types
.\.agents\skills\format-js\scripts\format.ps1 -Extensions "js,ts,jsx,tsx"
Safety Gate: By default, this skill skips protected folders (
.agents/,bmad/) andREADME.md.
// .prettierrc
{
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 80,
"arrowParens": "avoid"
}