金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

tooling

tooling 是面向测试与安全、效率工具、软件开发的 Agent Skill,来自 HoangNguyen0403/agent-skills-standard。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Development tools, linting, and build configuration for TypeScript projects.

SKILL.md

下载 MD ↓
nameTypeScript Tooling
descriptionDevelopment tools, linting, and build configuration for TypeScript projects.
metadata{"labels": ["tooling", "typescript", "eslint", "prettier", "testing"], "triggers": {"files": ["tsconfig.json", ".eslintrc.*", "jest.config.*", "package.json"], "keywords": ["eslint", "prettier", "jest", "vitest", "build", "compile", "lint"]}}

TypeScript Tooling

Priority: P1 (OPERATIONAL)

Essential tooling for TypeScript development and maintenance.

Implementation Guidelines

  • Compiler: tsc for CI. ts-node/esbuild for dev.
  • Lint: ESLint + @typescript-eslint. Strict type checking.
  • Format: Prettier (on save + commit).
  • Test: Jest/Vitest > 80% coverage.
  • Build: tsup (libs), Vite/Webpack (apps).
  • Check: tsc --noEmit in CI.

Anti-Patterns

  • No Disable: Avoid // eslint-disable.
  • No Skip: Avoid skipLibCheck: true if possible.
  • No Ignore: Use @ts-expect-error > @ts-ignore.

Configuration

// tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "noImplicitReturns": true,
    "noUnusedLocals": true
  }
}

Reference & Examples

For testing configuration and CI/CD setup: See references/REFERENCE.md.

Related Topics

best-practices | language

来源:HoangNguyen0403/agent-skills-standard · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本