stacks-scaffolding

Generate Stacks framework project files and boilerplate via CLI and TypeScript API.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-scaffolding-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-scaffolding
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-scaffolding
Command: npx skills add https://github.com/bughq/bughq --skill stacks-scaffolding-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual overhead of setting up project structures, boilerplate code, and repetitive file generation by providing a standardized, automated scaffolding interface for the Stacks framework.

Core Features & Use Cases

  • CLI Scaffolding: Quickly generate components, functions, migrations, and more using standardized buddy make commands.
  • Programmatic API: Utilize the STX scaffolding module to programmatically create projects, layouts, and stores within your application logic.
  • Customizable Templates: Maintain consistency across your codebase by leveraging and modifying the default templates located in the framework storage.

Quick Start

Use the stacks-scaffolding skill to generate a new component named UserProfile in the resources directory.

Frequently Asked Questions about stacks-scaffolding

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

FAQPage Schema
How do I automate boilerplate code generation for a Stacks framework project?

Automating boilerplate code generation for a Stacks framework project is handled through standardized CLI commands or a programmatic TypeScript API. This approach eliminates manual setup overhead by automatically generating required project files, layouts, and stores.

How do I scaffold Stacks components and migrations from the command line?

Scaffolding Stacks components and migrations from the command line uses standardized buddy make commands. This CLI scaffolding interface quickly generates components, functions, and migrations while maintaining consistency across the codebase.

Do I need the Bun runtime to use Stacks scaffolding?

Yes, the Bun runtime is required to use Stacks scaffolding. The tooling depends on Bun to automate the generation of project files and adhere to Stacks framework directory conventions for consistent output.

Can I initialize Stacks project files programmatically in TypeScript?

Initializing Stacks project files programmatically in TypeScript is supported via the STX scaffolding module. This API allows you to create projects, layouts, and stores directly within your application logic.

What is the best way to maintain consistency when generating Stacks boilerplate?

Maintaining consistency when generating Stacks boilerplate is best achieved by leveraging and modifying default templates located in the framework storage. This standardized approach ensures uniform project structures across your codebase.

Are there limitations when scaffolding Stacks projects outside framework directory conventions?

Scaffolding Stacks projects outside framework directory conventions is limited because the tool requires adherence to specific Stacks framework directory structures. Consistent output depends on following these standardized directory conventions.