stacksjs/bench-review/stacks-repl

Claude Code and agent skill by stacksjs/bench-review

Trust tier 3
  • community
Source check pending

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

Use when working with the Stacks REPL — interactive TypeScript sessions, tinker sessions, debugging, or exploring the framework interactively. Covers @stacksjs/repl and @stacksjs/tinker.

Install

npx vskill@latest install stacksjs/bench-review/stacks-repl

SKILL.md

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

Stacks REPL / Tinker

Key Paths

  • REPL package: storage/framework/core/repl/src/
  • Tinker package: storage/framework/core/tinker/src/
  • Packages: @stacksjs/repl, @stacksjs/tinker

API

typescript
import { startRepl } from '@stacksjs/repl'
interface ReplConfig extends TinkerConfig {
loadFile?: string // Path to file to preload before starting
}
async function startRepl(config: ReplConfig): Promise<{ exitCode: number }>
How It Works
  1. If config.loadFile is specified, reads the file content
  2. Merges file content into config.eval for evaluation
  3. Starts an interactive Bun REPL session with all framework modules available
  4. Returns the process exit code when the session ends

Re-exports from @stacksjs/tinker

typescript
import {
startTinker, // Start a tinker session
tinkerEval, // Evaluate an expression
tinkerPrint, // Print a result
getHistoryPath, // Get REPL history file path
readHistory, // Read command history
appendHistory, // Append to command history
clearHistory, // Clear command history
} from '@stacksjs/repl'
import type { TinkerConfig } from '@stacksjs/repl'

CLI Commands

bash
buddy tinker # Start interactive REPL session
buddy tinker --load file.ts # Preload a file before starting

Usage

Inside the REPL, all framework modules are available:

typescript
// Query the database
const users = await db.selectFrom('users').get()
// Use models
const post = await Post.find(1)
// Access config
console.log(config.app.name)
// Use faker for quick testing
const email = faker.internet.email()

Gotchas

  • Tinker is the user-facing command, REPL is the engine — buddy tinker calls startRepl() under the hood
  • All framework imports available — models, database, config, faker, etc. are preloaded
  • History is persisted — REPL history is saved to disk via getHistoryPath()
  • File preloading — use loadFile to run setup code before entering interactive mode
  • Bun runtime — the REPL runs in Bun's JavaScript runtime, not Node.js

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

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/bench-review/stacks-repl/badge)](https://verified-skill.com/skills/stacksjs/bench-review/stacks-repl)

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