hai-app-create

Enforce a test-first workflow for SvelteKit feature creation with Vitest.

3|7|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/hai-series/hai-framework --skill hai-app-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hai-app-create
Source: https://github.com/hai-series/hai-framework/tree/main/packages/cli/templates/skills/hai-app-create
Command: npx skills add https://github.com/hai-series/hai-framework --skill hai-app-create

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a enforced TDD-driven development workflow for AI-assisted feature creation, ensuring new functionality is defined by tests before coding and validation.

Core Features & Use Cases

  • Enforce Red-Green-Refactor cycle for new features, including pages, APIs, services, and components.
  • Guides test planning, stubs creation, and iterative implementation with Vitest; promotes consistent structure and quality.
  • Supports end-to-end feature pipelines from requirements analysis to verification and refactor.

Quick Start

Analyze a new feature by writing tests first and then implement code until tests pass, all within your AI-assisted workflow.

Frequently Asked Questions about hai-app-create

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

FAQPage Schema
How do I enforce a test-first workflow for new SvelteKit app features?

This skill enforces a TDD workflow by requiring predefined Vitest tests and empty implementation stubs before coding begins. It automates the Red-Green-Refactor cycle, iteratively running tests to verify progress and ensure new SvelteKit features are reliably implemented and validated.

What is the Red-Green-Refactor cycle in AI-assisted feature development?

The Red-Green-Refactor cycle is a test-driven development process where you write failing tests first, implement code until tests pass, and then refactor. This skill automates that cycle for SvelteKit pages, APIs, and components, guiding iterative verification to ensure consistent software design.

Do I need to write Vitest tests before using this automated feature creation process?

Yes, you must write predefined Vitest tests and create empty implementation stubs before using this automated feature creation process. The workflow requires these tests upfront to guide the iterative implementation and verification steps for new SvelteKit features.

Can I use TDD to build SvelteKit APIs and pages with an AI assistant?

Yes, you can use TDD to build SvelteKit APIs and pages with an AI assistant. This skill guides the end-to-end feature pipeline from requirements analysis to verification, specifically supporting new pages, APIs, services, and components within SvelteKit applications.

What's the best way to automate test-driven development for new software components?

The best way to automate test-driven development for new software components is to enforce a structured workflow with predefined tests and iterative validation. This skill automates reliable feature creation by guiding steps from analysis to implementation, ensuring consistent structure, logging, and refactor checks.