Agent skill · Code Review & Quality

typescript-best-practices

Enforces TypeScript best practices and modern patterns

Rohit Ghumare73,165★ · +3,601/wk · 3 repos on radarProfile →
codexcursorApache-2.0
Install
npx skills add rohitg00/skillkit --skill good-skill --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 1.0.0
Path: packages/core/src/eval/__tests__/fixtures/good-skill/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,422
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# TypeScript Best Practices ## When to Use Use this skill when: - Writing new TypeScript code - Reviewing TypeScript pull requests - Refactoring JavaScript to TypeScript ## Triggers Activated when editing `.ts` or `.tsx` files in the project. ## Rules ### Always - Always use `const` for variables that won't be reassigned - Always use explicit return types on exported functions - Always prefer `interface` over `type` for object shapes ### Never - Never use `any` — use `unknown` instead - Never use `var` — use `const` or `let` - Never ignore TypeScript errors with `@ts-ignore` ## Examples ```typescript // Good: explicit return type export function calculateTotal(items: Item[]): number { return items.reduce((sum, item) => sum + item.price, 0); } ``` ```typescript // Good: discriminated union type Result<T> = | { success: true; data: T } | { success: false; error: Error }; ``` ## Boundaries - Do not modify `tsconfig.json` without explicit permission - Do not add new dependencies without checking existing utilities - Focus only on TypeScript patterns, not runtime behavior

What's inside
Steps it walks through
  1. When to Use
  2. Triggers
  3. Rules
  4. Always
  5. Never
  6. Examples
  7. Boundaries
More from skillkit
All skills →
About this skill
What does the typescript-best-practices skill do?

Enforces TypeScript best practices and modern patterns

How do I install it?

Run `npx skills add rohitg00/skillkit --skill good-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rohitg00/skillkit, a repository with 1,422 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going