stitch

Generate multi-file Simple module scaffolding with .spl files and SPipe BDD tests.

Updated May 27, 2026
One-click install
npx skills add https://github.com/ormastes/Spipe --skill stitch-ormastes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stitch
Source: https://github.com/ormastes/Spipe/tree/main/doc/00_llm_process/skill_command/skills/gemini/stitch
Command: npx skills add https://github.com/ormastes/Spipe --skill stitch-ormastes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the slow, error-prone work of hand-creating consistent multi-file module scaffolding when you need new Simple features or subsystems.

Core Features & Use Cases

  • Phase-based generation: plans module placement and dependency-aware file lists before writing any code.
  • Stitch MCP template generation: creates .spl files and adds required directory mod.spl files following Simple language rules.
  • Quality scaffolding: generates matching test/ spec files in SPipe BDD style and stub docs in doc/05_design and doc/04_architecture when appropriate.
  • Use case: when starting a new feature like a “stitch-based” integration module, generate the full src/lib (or app/compiler) structure plus tests and documentation stubs in one workflow.

Quick Start

Ask the system to stitch a new feature module scaffold for your chosen src/ location, and it will generate the complete .spl structure, tests, and doc stubs.

Frequently Asked Questions about stitch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate multi-file Simple module scaffolding for a new feature?

To generate multi-file Simple module scaffolding, you provide a feature name and src/ location. The system plans module placement and dependency-aware file lists, then produces .spl modules and required mod.spl files across lib/, compiler/, and app/ trees.

What is module scaffolding in the Simple language and when do I need it?

Module scaffolding in the Simple language is the automated creation of consistent .spl file structures, tests, and documentation stubs. You need it when starting new features or subsystems to avoid slow, error-prone manual file creation and ensure Simple-specific code generation rules are followed.

How do I scaffold BDD test specs and documentation stubs alongside Simple .spl modules?

To scaffold BDD test specs and documentation stubs, the system generates matching test/ spec files in SPipe BDD format and adds stub docs in doc/05_design and doc/04_architecture directories automatically during the .spl module generation workflow.

Does Simple code generation support generics syntax and Result-based error handling with the ? operator?

Yes, Simple code generation enforces language-specific rules including generics syntax, constructor conventions, pattern binding, and Result-based error handling with the ? operator. It uses composition over inheritance and real placeholder implementations without pass_todo.

Can I use Stitch MCP templates for module placement across multiple src/ directory trees?

Yes, you can use Stitch MCP templates to target module placement across lib/, compiler/, and app/ directory trees. The generation process plans dependencies and file structure before writing code to ensure correct module placement.

What's the best way to structure a new Simple feature module with proper dependencies?

The best way to structure a new Simple feature module is using a phase-based generation approach that plans module placement and dependency-aware file lists before writing any .spl code, ensuring consistent architecture across src/ trees, tests, and documentation stubs.