Skip to content
T

typescript-write

Write or modify TypeScript and JavaScript code

by metabaseFree

#1371in AI Skills
0In stores

Description

typescript-write is an agent skill for writing or modifying TypeScript and JavaScript code, including tests and test helpers, to Metabase's…

Highlights

  • Covers TypeScript, JavaScript, tests and helpers
  • Hard rule against any in edited code
  • Captures untyped data as unknown
  • Requires a type check before finishing
  • Points to the frontend guidelines and React patterns

Ratings & Reviews

No ratings yet

Be the first to rate typescript-write.

People also visit

T

typescript-best-practices

Reading or writing TypeScript or JavaScript files

AI Skills
Get
T

typescript-magician

Designs complex generic types, refactors `any` types to strict alternatives

AI Skills
Get
T

typescript-pro

Implements advanced TypeScript type systems, creates custom type guards

AI Skills
Get
T

typescript-review

Review TypeScript and JavaScript code changes for compliance

AI Skills
Get
T

typescript-expert

TypeScript and JavaScript expert

AI Skills
Get
T

typescript-advanced-types

Comprehensive guidance

AI Skills
Get

typescript-write FAQ

When should it be used?

Before editing any TypeScript, TSX, JavaScript or JSX file in the Metabase frontend, including test-only changes.

What is the no-any rule?

New, moved or edited code must not contain any, explicit or implicit. This includes as-any casts and untyped destructures.

How should untyped data be handled?

Capture it as unknown, then narrow or validate it before use. The skill names JSON.parse and response .json() results as examples.

Does it run checks?

It requires the project's pure type-check command to run before a TypeScript change is finished.

How do I install it?

Run npx skills add https://github.com/metabase/metabase --skill typescript-write.

Is it checked for security?

Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk.

What are the best typescript-write alternatives?

Popular alternatives to typescript-write include typescript-best-practices, typescript-magician and typescript-pro. See all typescript-write alternatives

Developer Stuff

Badges