stacks-types

Look up TypeScript type definitions for Stacks framework ORM models and globals.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the complexity of navigating the Stacks framework's auto-generated TypeScript environment, ensuring developers can accurately reference models, request types, and global framework components without guessing.

Core Features & Use Cases

  • Type Discovery: Provides immediate access to definitions for ORM models, environment variables, and framework-specific request instances.
  • Global Context: Clarifies the usage of auto-imported globals like Actions, Router, and Vue components.
  • Use Case: When building a new feature, use this Skill to verify the exact structure of a ModelRow or to identify the correct environment variable type for a database connection.

Quick Start

Use the stacks-types skill to look up the required fields for a new Subscription model instance.

Frequently Asked Questions about stacks-types

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

FAQPage Schema
How do I look up TypeScript type definitions for ORM models in the Stacks framework?

You can look up TypeScript type definitions for Stacks ORM models by querying the framework's documentation to map model structures and verify exact fields. This ensures accurate referencing of ModelRow instances without guessing.

What are the auto-imported global modules available in the Stacks framework?

Auto-imported global modules in the Stacks framework include Actions, Router, and Vue components. These globals are mapped within the TypeScript environment to provide immediate access to framework-specific functionality without explicit imports.

How do I find the correct environment variable type for a database connection in Stacks?

To find the correct environment variable type for a database connection in Stacks, review the environment configuration type definitions. This provides immediate access to the required structure and ensures type safety across your framework-specific configuration.

Does TypeScript type checking work with auto-imported Stacks framework components?

TypeScript type checking works seamlessly with auto-imported Stacks framework components by clarifying their global context usage. This resolves the complexity of navigating the auto-generated environment to ensure type safety and consistency across generated codebases.

What is the best way to ensure type safety for request traits in a Stacks application?

The best way to ensure type safety for request traits in a Stacks application is to reference the framework's specific request instance definitions. This maps the ORM models and request traits accurately, preventing type mismatches during development.

Why am I getting type errors when referencing a new model instance in Stacks?

You might get type errors when referencing a new model instance in Stacks due to guessing the auto-generated TypeScript environment structure. Verify the exact ModelRow structure using the framework's type lookup to resolve inconsistencies.