Skip to content
Back to skills

Typescript Conventions

ASecurity

Apply TypeScript conventions for composition, small single-purpose functions, tests for new functions, and formatter and import-alias discipline. Use when writing or reviewing TypeScript files.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 16, 2026
developmenttypescripttesting

Works with

  • claude code

Security analysis

A100/100

Scanned November 16, 2026

npx -y skills add msolecki/developer-os --skill typescript-conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Typescript Conventions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Typescript Conventions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/msolecki-typescript-conventions/badge)](https://www.skillsdirectory.com/skills/msolecki-typescript-conventions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: typescript-conventions
description: Apply TypeScript conventions for composition, small single-purpose functions, tests for new functions, and formatter and import-alias discipline. Use when writing or reviewing TypeScript files.
license: MIT
compatibility: "Claude Code"
---

# TypeScript rules

- Keep `strict` mode enabled in `tsconfig.json`; never turn it off to make a build pass.
- Prefer composition over inheritance.
- Give every function one purpose and keep it near 30 lines or fewer.
- Add tests for every new exported function or changed contract and its edge cases. See `developer-os:testing-conventions` for how to write them.
- Follow the quote style and formatting the project's formatter enforces.
- Use the project's configured import alias instead of long relative paths.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.