Skip to content
alinaqi avatar

Typescript

TypeScript strict-mode guardrails covering tsconfig, eslint, Jest testing, and pre-commit gates.

CCM score
47 of 100
skills.sh installs
286
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project layout, tsconfig strict flags, eslint rules, Jest test patterns, and type design idioms
  • Includes npm scripts for lint, typecheck, test, and format, plus a GitHub Actions quality gate with 80% coverage
  • Enforces no any, explicit return types, max 20-line functions, max depth 2, and max 3 parameters
  • Designed for TypeScript projects that want Husky and lint-staged checks run on every commit

Install

$ npx -y skills add alinaqi/maggy --skill typescript -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

TypeScript Skill


Strict Mode (Non-Negotiable)

// tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noImplicitReturns": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true
  }
}

Project Structure

project/
├── src/
│   ├── core/               # Pure business logic
│   │   ├── types.ts        # Domain types/interfaces
│   │   ├── services/       # Pure functions
│   │   └── index.ts        # Public API
│   ├── infra/              # Side effects
│   │   ├── api/            # HTTP handlers
│   │   ├── db/             # Database operations
│   │   └── external/       # Third-party integrations
│   └── utils/              # Shared utilities
├── tests/
│   ├── unit/
│   └── integration/
├── package.json
├── tsconfig.json
└── CLAUDE.md

Tooling (Required)

Details

Repository
github.com/alinaqi/maggy
Categories
Frontend & UI Code, Testing & QA
First seen
Jun 3, 2026

Questions

What does the typescript skill do for Claude Code?

The typescript skill sets up TypeScript strict mode with eslint and jest for Claude Code. It applies to TypeScript files, covering a strict tsconfig, a src and tests folder layout, lint, typecheck and test scripts, Jest unit tests, and a GitHub Actions quality gate.

How do I install the typescript skill?

Run npx -y skills add alinaqi/maggy --skill typescript -y in a project to install it. Once installed, the typescript skill guides Claude Code when it works on TypeScript and tsconfig files.

Where does the typescript skill stand in Frontend & UI Code on Claude Marketplaces?

The typescript skill is listed under Frontend & UI Code, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It covers typed code patterns such as discriminated unions, branded IDs and Zod runtime validation.

Which TypeScript rules does the typescript skill enforce?

The typescript skill enforces strict mode with noImplicitAny, strictNullChecks and noUnusedLocals in tsconfig. Its eslint config bans explicit any, requires explicit return types, and caps functions at 20 lines, 3 params and nesting depth of 2.

Does the typescript skill need any accounts or API keys?

The typescript skill needs no accounts or API keys. It relies on a Node project with eslint, Jest, Prettier, Husky and lint-staged, which you add to your own package.json.

More from alinaqi/maggy

All 54

Similar to Typescript

More Frontend & UI Code