AgentStack
SKILL verified MIT Self-run

Typescript Conventions

skill-ek33450505-claude-agent-team-typescript-conventions · by ek33450505

TypeScript and React coding conventions for CAST projects. Load when writing, reviewing, or debugging TypeScript/TSX/React code. Covers file naming, type patterns, hooks, component conventions, and testing approach.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-ek33450505-claude-agent-team-typescript-conventions

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Typescript Conventions? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

TypeScript Conventions

  • Use React 19 patterns: functional components, hooks, no class components
  • Extend existing types rather than type casting: type UserAdmin = User & { isAdmin: true } instead of (user as UserAdmin)
  • Component files: PascalCase (UserProfile.tsx)
  • Hook files: camelCase prefixed with use (useLocalStorage.ts)
  • Test files live alongside source: Foo.tsx -> Foo.test.tsx
  • Use Vitest + React Testing Library for tests (not Jest in Vite projects)
  • Test behavior with getByRole/getByText, not getByTestId
  • Import order: React, third-party, local modules, types (enforce with ESLint)
  • Prefer interface over type for object shapes that may be extended
  • Use satisfies operator for type-safe config objects

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.