phel-lang/phel-pdo / .claude/skills/phel-repl
phel-repl
VerifiedEvaluate a Phel expression to verify behaviour without writing a test
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 898 B |
SKILL.md
View on GitHub---
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.")
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |