Code Scaffold is a modular, robust, and highly visual native TUI provisioning engine. It is designed to bootstrap new development projects with predefined directory structures, architectural templates, and complex skill payloads, all driven by a high-fidelity Terminal User Interface.
Code Scaffold is built to seamlessly adapt to a wide spectrum of workflows. Whether you are driving it manually or via an autonomous AI system, it provides native support for:
- ✅ Terminal/CLI (Native command-line execution)
- ✅ Agent Harness (ex: Hermes / Openclaw integration)
- ✅ Agent Client Protocol (ACP) (Learn more)
- ✅ Headless CI/CD Pipelines (GitHub Actions / GitLab CI)
- ✅ Model Context Protocol (MCP) (Exposing scaffolding via MCP)
Code Scaffold is officially compatible with the Agent Client Protocol (ACP). This allows the tool to act interchangeably as both an Agent and a Client to suit a wider range of workflows. See ACP.md for detailed engagement information.
- High-Fidelity TUI: A deeply interactive, color-coded terminal interface featuring animated ASCII branding, staggered visual loading, and clean category-based module selection.
- Remote Synchronization Engine: Capable of dynamically fetching the latest
manifest.jsonfrom the remote GitHub repository. If an update is detected, it automatically downloads and caches the latest.templatesand.skillspayloads before execution. - Intelligent Environment Detection: Detects if it is running in "Local Dev" mode (within the core repository) to preserve source files, or in "Production" mode where it uses a secure temporary workspace (
$env:TEMP\Scaffold_Workspace). - Dynamic Payload Library: Easily extensible. By placing a new folder with a
meta.jsoninside the.skillsdirectory, the engine will automatically discover it and present it as an option in the UI. - Secure Provisioning: Automatically generates a stringent
.gitignorefor standard security policies, and in production mode, the engine acts as a self-destructing bootstrapper. - Automated Baseline Documentation: Automatically generates a structured
README.mdin the target directory, dynamically titled with the project's folder name, to provide a consistent starting point for all scaffolded projects. - Immutable Version History: Adheres to a strict versioning protocol, maintaining snapshots of every significant deployment cycle in
project_details\history.
The system operates on a dual-layer architecture:
- The Core Engine (
code-scaffold): The native Rust TUI executable that handles the sync engine, user interface rendering, and file provisioning logic. (Note: The legacyscaffold.ps1bootstrapper is deprecated). - The Payload Library (
.skills&.templates): Hidden directories containing raw source code and Markdown files. Each skill subdirectory must contain a strictmeta.jsonfile schema:
{
"label": "The UI display name",
"description": "A brief explanation of the payload",
"version": "1.0.0",
"target": "The exact relative path where this payload should be deployed e.g. .skills/supabase"
}Run the native executable from your terminal (e.g., on Windows):
.\code-scaffold.exe(Note: The legacy scaffold.ps1 bootstrapper is deprecated).
- Target Selection: The engine will prompt you for a target directory. Leave it blank to use the current directory.
- Module Selection: Navigate the menu using the [Up/Down Arrow] keys.
- Shortcuts:
- [Space]: Toggle individual selection (prompts to overwrite if the artifact already exists).
- [T]: Toggle All/None selections (prompts to overwrite if any selected artifacts already exist).
- Execution: Press [Enter] to begin the provisioning process.
- Core Applications:
/src,/tests,/docs - Artifacts: Boilerplate markdown files (
AGENT.md,DESIGN.md,PLAN.md,README.md, etc.) automatically routed toproject_details(except README and LICENSE). - Agent Skills: Pre-configured integration snippets (Braille Animations, Clerk Authentication Perimeter, Excalidraw, Firebase, Firecrawl, GitHub, Hyperframes, Manim, Marp, Mermaid, Node, Open Design, OpenCLI, p5.js, PlayCanvas Editor, PlayCanvas Engine, PlayCanvas SuperSplat, Playwright, Ratatui, Resend, SEO GEO AEO Auditor, Supabase, Telegram, Trackio ML Tracking, Upstash Redis Management, Vercel Deployment Routine, Website Deploy Linux) deployed to their designated
targetpaths.
Code Scaffold features a rapidly growing library of specialized AI skills. For a complete list of available payloads, detailed descriptions, and their target deployment paths, please refer to the Agent Skills Library.
Behind the scenes, Code Scaffold's ecosystem is maintained by the SkillForge Protocol: an autonomous R&D maintenance loop. While primarily a developer-side administrative feature, it guarantees that the .skills library remains in a state of constant forward progression and extreme rigor.
- Market Pulse Check: Autonomously audits existing skills against live OEM documentation and market trends, updating legacy templates to modern standards.
- Cross-Skill Synthesis: Recursively maps the
.skillsdirectory to build a topological capability matrix, identifying overlapping domains to dynamically construct new integration templates (e.g., bridgingtldrawspatial computing witha2uideclarative components). - Strict Payload Incubation: Enforces a rigid pipeline for net-new skills, ensuring AI-specific value adds (like headless bypasses or zero-config CI/CD pipelines) are baked in alongside the mandatory Code Scaffold folder architectures.
- Visual Topology Rendering: Actively leverages internal presentation and diagramming skills (such as
tldraw,Manim,Marp, andMermaid) to programmatically render architectural diagrams and dependency graphs that illustrate the growing synergy between different modules.
For detailed execution instructions and agent prompt templates, refer to the SkillForge Protocol Blueprint.

