lang-javascript

Generate Bun and Hono JavaScript projects with Valibot validation and Drizzle ORM.

8|Updated Mar 28, 2024
One-click install
npx skills add https://github.com/joncrangle/.dotfiles --skill lang-javascript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lang-javascript
Source: https://github.com/joncrangle/.dotfiles/tree/main/dot_config/opencode/skills/lang-javascript
Command: npx skills add https://github.com/joncrangle/.dotfiles --skill lang-javascript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers quickly generate and refine JavaScript code for modern runtimes (Bun) and frameworks (Hono), covering ES2024+ features, module patterns, and testing setups.

Core Features & Use Cases

  • Generates and explains patterns for Bun runtime, Hono-based APIs, and Valibot validation.
  • Provides example configurations and implementation patterns for end-to-end projects (API, data access, testing, linting).
  • Use case: design a small REST API using Hono, with Valibot validation and Drizzle ORM.

Quick Start

Ask for a Bun-ready Hono API skeleton with validation and a basic CRUD example.

Frequently Asked Questions about lang-javascript

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

FAQPage Schema
How do I build a REST API using Bun and Hono with validation?

You can build a Hono-based REST API on the Bun runtime by applying ES2024+ module patterns, integrating Valibot for request validation, and running tests with bun test to verify endpoints.

What is the best way to set up Drizzle ORM for data access in a Bun project?

Setting up Drizzle ORM in a Bun project involves applying implementation patterns that configure data access layers alongside Hono routes, ensuring structured database interactions within your microservices.

Does Hono work with Bun runtime for serverless routes?

Hono works with the Bun runtime to build serverless routes and microservices, allowing you to leverage ES2024+ features and modern module patterns to generate fast JavaScript endpoints.

Can I use Biome for linting and formatting in a modern JavaScript project?

You can use Biome for linting and formatting in a modern JavaScript project, enforcing coding standards automatically while integrating with your Bun and Hono workflow to maintain consistent code quality.

How do I validate API requests in Hono using Valibot?

Validating API requests in Hono using Valibot involves applying schema patterns that intercept and verify incoming data before it reaches your route handlers, ensuring data integrity in your REST APIs.