Skip to content

phel-lang/phel-pdo / .claude/skills/phel-repl

phel-repl

Verified

Evaluate a Phel expression to verify behaviour without writing a test

FileKindSize
SKILL.mdskill md898 B
---
description: Evaluate a Phel expression to verify behaviour without writing a test
argument-hint: "<phel expression>"
disable-model-invocation: true
allowed-tools: "Bash(./vendor/bin/phel *), Bash(vendor/bin/phel *), Bash(timeout *)"
---

# /phel-repl

1. Take the expression from `$ARGUMENTS` (ask if empty).
2. Eval via the Phel CLI:
   ```bash
   timeout 10 vendor/bin/phel eval "$ARGUMENTS"
   ```
3. For multi-line snippets or `(require phel.pdo)` setup, drop into a scratch file:
   ```bash
   printf '%s\n' '(ns repl-scratch (:require phel.pdo))' '$ARGUMENTS' > /tmp/phel-pdo-repl.phel
   timeout 10 vendor/bin/phel run /tmp/phel-pdo-repl.phel
   ```
4. Report the result. On error, name the layer (resolution / interop / DB).

## Examples

```
/phel-repl (pdo/get-available-drivers (pdo/connect "sqlite::memory:"))
/phel-repl (pdo/quote (pdo/connect "sqlite::memory:") "I'm fine.")
```
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall