agentsclimarketplace

Repl development

Skill a5c-ai/babysitter/library/specializations/programming-languages/skills/repl-development

Expert skill for building interactive REPLs with rich editing and evaluation featuresFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill repl-development

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.0 KB, 373 tokens by cl100k_base, as published. Nobody here has run it

REPL Development Skill

Overview

Expert skill for building interactive REPLs with rich editing and evaluation features.

Capabilities

  • Implement readline integration with history
  • Handle multi-line input detection
  • Implement tab completion for identifiers
  • Design incremental compilation for REPL
  • Handle top-level expression evaluation
  • Implement persistent REPL state
  • Design pretty-printing for values
  • Support special REPL commands (:help, :type, etc.)

Target Processes

  • repl-development.js
  • interpreter-implementation.js
  • lsp-server-implementation.js

Dependencies

  • rustyline
  • readline libraries
  • linenoise

Usage Guidelines

  1. Line Editing: Use established readline libraries for robust line editing
  2. Multi-line: Detect incomplete expressions for multi-line input
  3. Completion: Implement context-aware tab completion
  4. History: Persist history across sessions
  5. Commands: Provide useful meta-commands (:help, :type, :quit, etc.)

Output Schema

{
  "type": "object",
  "properties": {
    "lineLibrary": {
      "type": "string",
      "enum": ["readline", "rustyline", "linenoise", "custom"]
    },
    "features": {
      "type": "array",
      "items": { "type": "string" }
    },
    "commands": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "description": { "type": "string" }
        }
      }
    },
    "generatedFiles": {
      "type": "array",
      "items": { "type": "string" }
    }
  }
}

What ships with it: 1 file

723 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.