stacksjs/paweldregan/stacks-shell

Claude Code and agent skill by stacksjs/paweldregan

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when executing shell commands in a Stacks application - running system commands, process management, or using the shell operator. Covers @stacksjs/shell which wraps Bun's native $ operator.

Install

npx vskill@latest install stacksjs/paweldregan/stacks-shell

SKILL.md

The same SKILL.md was published earlier as stacksjs/bench-review/stacks-shell.

Stacks Shell

Key Paths

  • Core package: storage/framework/core/shell/src/
  • Source: storage/framework/core/shell/src/index.ts
  • Package: @stacksjs/shell

API

The entire package is a single re-export of Bun's $ shell operator:

typescript
export { $ } from 'bun'

Usage

typescript
import { $ } from '@stacksjs/shell'
// Run shell commands
await $`ls -la`
// Capture output
const result = await $`git status`
console.log(result.text())
// Set working directory
$.cwd('/path/to/dir')
await $`bun install`
// Pipe commands
await $`cat file.txt | grep "pattern"`
// Environment variables
await $`echo $HOME`

Bun $ Operator Features

  • Template literals — commands written as tagged template strings
  • Auto-escaping — interpolated values are safely escaped
  • Streaming — stdout/stderr can be streamed
  • CWD — $.cwd(path) sets working directory
  • Env — $.env(vars) sets environment variables
  • Quiet mode — $.quiet() suppresses output
  • Throws on error — non-zero exit codes throw by default

Gotchas

  • Thin wrapper — this package literally just re-exports $ from Bun
  • Server-side only — shell commands run in the server environment, not in the browser
  • For CLI output formatting, use `@stacksjs/cli` — this package is for raw command execution
  • Bun-specific — the $ operator is a Bun feature, not available in Node.js
  • Used throughout the framework — build actions, CLI commands, and dev server all use $ for process execution

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/stacksjs/paweldregan/stacks-shell/badge)](https://verified-skill.com/skills/stacksjs/paweldregan/stacks-shell)

Something wrong with this skill or its page? Tell us.