Receber por email
← Voltar para o catálogo

typescript-write

Write TypeScript and JavaScript code following Metabase coding standards and best practices. Use when developing or refactoring TypeScript/JavaScript code.

367estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add aiskillstore/marketplace

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/typescript-write-aiskillstore/svg)](https://www.skillteca.com.br/skills/typescript-write-aiskillstore)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

TypeScript/JavaScript Development Skill

Autonomous Development Workflow

  • Do not attempt to read or edit files outside the project folder
  • Add failing tests first, then fix them
  • Work autonomously in small, testable increments
  • Run targeted tests, and lint continuously during development
  • Prioritize understanding existing patterns before implementing
  • Don't commit changes, leave it for the user to review and make commits

Linting and Formatting

  • Lint: yarn lint-eslint-pure
  • Run ESLint on the codebase
  • Format: yarn prettier
  • Format code using Prettier
  • Type Check: yarn type-check-pure
  • Run TypeScript type checking

Testing

JavaScript/TypeScript Tests

  • Test a specific file: yarn test-unit-keep-cljs path/to/file.unit.spec.js
  • Test by pattern: yarn test-unit-keep-cljs -t "pattern"
  • Runs tests matching the given pattern

ClojureScript Tests

  • Test ClojureScript: yarn test-cljs
  • Run ClojureScript tests
Compartilhar X LinkedIn