stacks-path

Build absolute file paths for Stacks framework directories with Node.js compatibility.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates path-related errors and manual string concatenation when navigating the complex directory structure of a Stacks-based project.

Core Features & Use Cases

  • Framework-Aware Path Builders: Provides over 100 functions to resolve absolute paths for every directory in the Stacks ecosystem, including app, database, and storage layers.
  • Node.js Compatibility: Seamlessly re-exports standard Node.js path utilities like join, resolve, and basename for consistent cross-platform path handling.
  • Use Case: When you need to reference a specific model file or a migration directory, use these builders to ensure your code remains portable and resilient to directory structure changes.

Quick Start

Use the stacks-path skill to generate the absolute path for the user models directory in the current project.

Frequently Asked Questions about stacks-path

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

FAQPage Schema
How do I resolve absolute file paths in a Stacks framework TypeScript project?

To resolve absolute file paths in a Stacks project, use framework-aware path builder functions that ensure consistent navigation across application, database, and package directories without manual string concatenation.

What is the best way to manage directory structures in Stacks without path resolution errors?

Managing Stacks directory structures is best handled by framework-aware path builders that automatically resolve absolute paths for every ecosystem directory, eliminating path-related errors and ensuring code portability.

Can I use standard Node.js path utilities like join and resolve with the Stacks framework?

Yes, you can use standard Node.js path utilities with the Stacks framework because the path management suite seamlessly re-exports functions like join, resolve, and basename for consistent cross-platform file handling.

Does the Stacks path management skill support TypeScript development environments?

Yes, the Stacks path management skill explicitly supports TypeScript-based development environments requiring robust file path resolution by providing over 100 functions to navigate the framework's directory structure.

How do I get the absolute path for a specific models or migrations directory in Stacks?

To get the absolute path for a models or migrations directory in Stacks, use the dedicated path builder functions which dynamically resolve framework directories to ensure your code remains resilient to structural changes.