一键导入
lint-js
Check JavaScript/TypeScript code quality with ESLint
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check JavaScript/TypeScript code quality with ESLint
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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 JavaScript/TypeScript code with Prettier
Format Python code with Black
Kubernetes YAML validation - Use kube-linter and kubeconform to check K8s config security and best practices
| name | lint-js |
| description | Check JavaScript/TypeScript code quality with ESLint |
Use ESLint to check JavaScript and TypeScript code quality:
| Tool | Min Version | Check Command | Installation |
|---|---|---|---|
| Node.js | 16+ | node --version | nodejs.org |
| ESLint | 8.0+ | eslint --version | npm install -g eslint |
"Use lint-js to check my JavaScript code"
# Windows
.\.agents\skills\lint-js\scripts\lint.ps1
# Linux/Mac
./.agents/skills/lint-js/scripts/lint.sh
# Auto-fix
.\.agents\skills\lint-js\scripts\lint.ps1 -Fix
# Specific file types
.\.agents\skills\lint-js\scripts\lint.ps1 -Extensions "ts,tsx"
Safety Gate: By default, this skill skips protected folders (
.agents/,bmad/) andREADME.md.
// .eslintrc.json
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-unused-vars": "warn",
"no-console": "off",
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}