stacks-actions

Manage server-side action lifecycle and execution in the Stacks framework.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies the management, creation, and execution of server-side business logic within the Stacks framework, reducing the complexity of handling API endpoints and event-driven tasks.

Core Features & Use Cases

  • Action Scaffolding: Quickly generate new business logic units using the CLI.
  • API Automation: Automatically generate RESTful endpoints from model traits.
  • Framework Integration: Access over 80 pre-built actions for authentication, commerce, and system management.
  • Use Case: Use this skill to scaffold a new user notification action or to inspect the existing framework actions for authentication and dashboard settings.

Quick Start

Use the stacks-actions skill to scaffold a new action named UserOnboarding in the application directory.

Frequently Asked Questions about stacks-actions

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

FAQPage Schema
How do I create and execute custom server-side actions in the Stacks TypeScript framework?

To create and execute Stacks framework actions, you scaffold new business logic units via the CLI and place them in the correct directory structure. The framework runtime then resolves and executes these custom action handlers automatically.

Can I automatically generate RESTful API routes from my backend models?

Yes, you can automatically generate RESTful API endpoints from model traits. The Stacks framework handles API automation by mapping your backend model definitions directly to accessible routes without manual endpoint configuration.

What built-in framework actions are available for backend authentication and commerce?

The Stacks framework provides over 80 pre-built actions covering authentication, commerce, and system management. You can inspect and utilize these existing actions directly to handle common backend tasks like user dashboard settings.

Do I need a specific directory structure for Stacks framework action handlers to work?

Yes, proper runtime resolution requires strict adherence to the Stacks action handler pattern and directory structure. Placing your TypeScript business logic in the correct application directory ensures the framework can manage the action lifecycle.

What is the best way to scaffold a new user notification action in a TypeScript backend?

The best way to scaffold a user notification action is using the Stacks CLI. This quickly generates a new business logic unit in your application directory, reducing the complexity of handling custom event-driven tasks.