一键导入
lint-typescript
Run TypeScript/React lint tools, then check custom coding rules. Severity labels in Japanese.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run TypeScript/React lint tools, then check custom coding rules. Severity labels in Japanese.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run JavaScript/React lint tools, then check custom coding rules. Severity labels in Japanese.
Run Python lint tools, then check custom coding rules. Severity labels in Japanese.
Run shell lint tools, then check custom coding rules. Severity labels in Japanese.
Generates commit messages and checks code quality for staged changes. Prefer gcmA alias for fast use.
基于 SOC 职业分类
| name | lint-typescript |
| description | Run TypeScript/React lint tools, then check custom coding rules. Severity labels in Japanese. |
| allowed-tools | bash, write, edit |
Detect available tools (make, npm, npx, tsc, eslint), then choose ONE branch:
Branch A — Makefile has lint: target:
make lint 2>&1
Branch B — package.json has lint script:
npm run lint 2>&1
Branch C — fallback to ESLint + tsc:
npx eslint --fix . 2>&1 || true
command -v tsc >/dev/null 2>&1 && tsc --noEmit 2>&1 || true
Then scan custom rules (fix iteratively):
[高] Must fix:
t() (i18n)any type usedinterface used for props/state (use type)// prefix)# ------------------------------------------------------------------------------ (80 chars)[中] Should fix:
test_*.ts / test_*.tsxuse prefix[低] Nice to fix:
console.log left in production codePrint summary:
==================================================
Lint complete (TypeScript)
==================================================
Files checked : <N>
[高] Critical : <N>
[中] Important : <N>
[低] Minor : <N>
==================================================