repo-scaffold-factory

Generate a full OpenCode repository scaffold with deterministic ticketed workflows.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/merceralex397-collab/Scafforge --skill repo-scaffold-factory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-scaffold-factory
Source: https://github.com/merceralex397-collab/Scafforge/tree/main/skills/repo-scaffold-factory
Command: npx skills add https://github.com/merceralex397-collab/Scafforge --skill repo-scaffold-factory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

Generate a complete repository scaffold and OpenCode structure to bootstrap greenfield projects with deterministic, ticketed workflows.

Core Features & Use Cases

  • Phase A: Generate the base scaffold (script-assisted) by copying templates and substituting placeholders.
  • Phase B: Customize with project-specific content and finalize handoff materials.
  • Output: README.md, AGENTS.md, START-HERE.md, docs/, tickets/, .opencode/ (opencode.jsonc) and related state artifacts.

Quick Start

Run the Phase A scaffold script to generate a complete new repo foundation.

Frequently Asked Questions about repo-scaffold-factory

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

FAQPage Schema
How do I generate a repository scaffold for a new project?

To generate a repository scaffold, run the Phase A script to copy templates and substitute placeholders, producing a canonical repo layout with README, AGENTS, and OpenCode assets for immediate development handoff.

What is a deterministic, ticketed workflow baseline for greenfield repositories?

A deterministic, ticketed workflow baseline provides a standardized repository structure with predefined tickets and OpenCode configuration, ensuring consistent project initialization and traceable task management from the start.

Can I customize the base scaffold with project-specific content after generation?

Yes, Phase B customization allows you to inject project-specific content into the base scaffold, finalizing handoff materials and tailoring the OpenCode assets to your repository's exact requirements.

What files and directories are included in the OpenCode scaffold output?

The scaffold output includes README.md, AGENTS.md, START-HERE.md, docs/, tickets/, and a .opencode/ directory containing opencode.jsonc and related state artifacts for workflow management.

Do I need any dependencies installed to use the scaffold generation script?

No external dependencies are required to run the scaffold generation script, as it operates standalone to copy templates and substitute placeholders for your greenfield repository setup.

What's the best way to bootstrap a greenfield repository with OpenCode assets?

The best way to bootstrap a greenfield repository is running the two-phase scaffold process: Phase A generates the base structure, and Phase B customizes project-specific content for immediate deployment handoff.