typescript-workflow

Guide TypeScript/JavaScript project development with Bun and Biome.

Updated Apr 11, 2023
One-click install
npx skills add https://github.com/salverius-tech/dotfiles --skill typescript-workflow-salverius-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-workflow
Source: https://github.com/salverius-tech/dotfiles/tree/main/home/dot_claude/skills/typescript-workflow
Command: npx skills add https://github.com/salverius-tech/dotfiles --skill typescript-workflow-salverius-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive workflow for developing TypeScript and JavaScript projects using the Bun package manager, ensuring consistency, type safety, and efficient tooling.

Core Features & Use Cases

  • Bun Package Management: Standardizes dependency installation, updates, and script execution with Bun.
  • Type Safety & Linting: Enforces strict TypeScript typing and code quality with Biome.
  • Module System Guidance: Details best practices for ESM and CommonJS module usage.
  • Project Structure & Naming: Offers clear conventions for organizing code and naming elements.
  • Use Case: When starting a new Node.js backend project, use this Skill to set up Bun, configure TypeScript with strict checks, and establish Biome for linting and formatting, ensuring a robust foundation from day one.

Quick Start

Activate this skill when you need to set up a new TypeScript project using Bun and configure Biome for linting and formatting.

Frequently Asked Questions about typescript-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a TypeScript project with Bun and Biome?

You can set up a TypeScript project with Bun by initializing the package manager, configuring strict TypeScript type checks, and establishing Biome for linting and formatting to ensure code quality from the start.

What is the best way to manage ESM and CommonJS modules in a Bun project?

The best way to manage modules in a Bun project is to follow established best practices for ESM and CommonJS module usage, ensuring consistent module system guidance across your TypeScript and JavaScript codebase.

Can I use Bun for dependency management and script execution in JavaScript?

Yes, Bun supports JavaScript dependency management by standardizing dependency installation, updates, and script execution, which streamlines your overall development workflow.

Does this workflow support strict type safety and linting with Biome?

Yes, this workflow enforces strict TypeScript typing and maintains code quality by integrating Biome for linting and formatting across your JavaScript and TypeScript files.

How do I structure and name files in a TypeScript backend project?

You can structure and name files in a TypeScript backend project by applying the provided project structure and naming conventions, which offer clear guidelines for organizing code and naming elements consistently.