stacksjs/stacks/stacks-configuration
Claude Code and agent skill by stacksjs/stacks
- community
Checking that the SKILL.md file is still in the repository.
Use when setting up or modifying Stacks project-level configuration - bunfig.toml preload order, the tsconfig chain and TypeScript 7 / tsgo type checking, workspace configuration, .env setup, package.json scripts, system requirements (Bun >= 1.3.0, SQLite >= 3.47.2), or the project bootstrap process. For individual feature configs (database, email, auth, etc.), see the specific package skills instead.
Install
npx vskill@latest install stacksjs/stacks/stacks-configurationSKILL.md
The same SKILL.md was published earlier as stacksjs/stacks/stacks-configuration.
Stacks Project Configuration
Project-level configuration files that control the development environment, build system, and runtime. For feature-specific configs (database, email, auth, etc.), see the corresponding package skill.
bunfig.toml
See stacks-plugins for what each preloaded module does, and why some commands deliberately skip the auto-import graph.
TypeScript
There is exactly one tsconfig in the project root. It extends the framework's app config, and restates the tunable defaults so you can edit or delete any one of them:
- Change a line in the root
compilerOptionsto override that option. - Delete a line to fall back to the framework default.
- Delete the whole block to take the defaults wholesale.
Path aliases, module resolution, and which files get checked are owned by the framework and update with it.
Framework internals are checked separately by storage/framework/tsconfig.framework.json - do not point your root config at storage/framework/**.
Type checking runs on TypeScript 7 - tsc is the native Go compiler (tsgo), so both checks finish in a couple of seconds. Options removed in 7.0 (baseUrl, importsNotUsedAsValues, preserveValueImports, suppressImplicitAnyIndexErrors) are gone from every config; path mappings resolve relative to the file that declares them, so no baseUrl is needed.
Incremental build info lands in storage/framework/.cache/typescript/, not in node_modules, so it survives a reinstall.
package.json (Root)
Key sections:
.env Setup
System Requirements
- Bun >= 1.3.0 (runtime + package manager)
- SQLite >= 3.47.2 (default database)
Key Project Scripts
better-dx Integration
- Provides
typescript,pickier,bun-plugin-dtsxas peer dependencies - Do NOT install these separately if
better-dxis in package.json - REQUIRES
linker = "hoisted"in bunfig.toml
Gotchas
bunfig.tomlMUST havelinker = "hoisted"when better-dx is installed- Preload order is load-bearing — the env plugin decrypts
.envbefore the
preloader reads it. Swapping them breaks encrypted config
- The stx plugin belongs under
[serve.static], not[serve] - One tsconfig in the root. Adding a second (a
tsconfig.framework.json, say)
splits the source of truth. Point scripts at the framework's config by path instead
- Workspace excludes prevent
node_modulesanddistfrom being treated as packages .envis auto-loaded by Bun — no dotenv package needed- Generate APP_KEY before deployment:
buddy key:generate
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingstorage/framework/defaults/ai/skills/stacks-configuration/SKILL.md
Popularity
- Repository stars
- 624
- Repository forks
- 19
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Sep 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/stacksjs/stacks/stacks-configuration)