scaffold

Generate project architecture scaffolding and an AI agent harness from user intent.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/sr-ai-dev/sr-harness --skill scaffold-sr-ai-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold
Source: https://github.com/sr-ai-dev/sr-harness/tree/main/skills/scaffold
Command: npx skills add https://github.com/sr-ai-dev/sr-harness --skill scaffold-sr-ai-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold helps you rapidly create a greenfield project foundation that an AI agent can extend consistently, without you manually deciding architecture, guard rails, and harness conventions up front.

Core Features & Use Cases

  • Architecture-focused derivation: Converts your high-level intent into concrete architecture decisions via an interview-driven chain.
  • Agent harness initialization: Generates CLAUDE.md plus related harness structure (rules/skills/hooks intent) so future coding sessions follow consistent project conventions.
  • Vertical slice exemplar + test infrastructure: Produces an extendable baseline (structure, example flow, and testing setup) that agents can reuse as the “source of truth” for subsequent features.

Quick Start

Start the scaffold flow by asking your agent to run scaffold for a new greenfield project: "scaffold a new project foundation for {your goal}, including architecture decisions and an AI harness."

Frequently Asked Questions about scaffold

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

FAQPage Schema
How do I scaffold a new greenfield project architecture for AI agents?

To scaffold a greenfield project architecture for AI agents, you provide a high-level intent and the tool generates concrete architecture decisions via an interview-driven chain. It outputs a foundational repository structure and an AI agent harness that future coding sessions can consistently extend.

What is an AI agent harness and how does it initialize project conventions?

An AI agent harness initializes project conventions by generating a CLAUDE.md file alongside related rules, skills, and hooks structures. This harness ensures that future AI-assisted coding sessions automatically follow consistent project conventions and architectural guard rails.

How do I derive implementation tasks from architecture decisions in a new repository?

You derive implementation tasks from architecture decisions by generating a requirements.md file during the scaffolding process. This document includes mandatory Given/When/Then (GWT) criteria and a vertical slice exemplar to serve as a baseline for subsequent feature implementation.

Does this scaffolding tool work for major repository restructures or only new greenfield projects?

This scaffolding tool works for both new greenfield project creation and major repository restructures. It applies whenever you need to establish a new AI-ready architecture foundation, producing updated architecture decisions, an agent harness, and requirements documentation.

What is a vertical slice exemplar and why do I need it for greenfield architecture?

A vertical slice exemplar is an extendable baseline containing a project structure, an example flow, and testing setup. You need it for greenfield architecture so AI agents can reuse it as the source of truth for consistently implementing subsequent features.

Can I use this to generate CLAUDE.md and project rules without manually deciding architecture?

Yes, you can generate CLAUDE.md and project rules without manually deciding architecture up front. The tool converts your high-level intent into concrete architecture decisions and automatically outputs the necessary harness structure and guard rails.