repo-init

Scaffold complete buildable software repositories from Forge configuration files.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/dain-agency/mood-tracker --skill repo-init-dain-agency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-init
Source: https://github.com/dain-agency/mood-tracker/tree/main/.claude/skills/repo-init
Command: npx skills add https://github.com/dain-agency/mood-tracker --skill repo-init-dain-agency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually setting up a new software repository with the correct structure, dependencies, and boilerplate for a specific tech stack is time-consuming and prone to configuration errors, especially for teams using standardized Forge project configs.

Core Features & Use Cases

  • Config-Driven Scaffolding: Automatically generates repository structure (monorepo, single-app, etc.) based on the project.structure field in the Forge config, skipping any sections not defined in the config.
  • Full Project Setup: Creates package files, framework configurations, initial boilerplate code, Claude skill configs, a root CLAUDE.md file, initializes a git repo with a proper .gitignore, installs dependencies, and runs a build/type check to verify the scaffold works.
  • Use Case: A developer starting a new Next.js + Tailwind project via Forge can use this skill to get a fully functional, buildable repository in seconds instead of manually creating dozens of files and configuring dependencies.

Quick Start

Use the repo-init skill to scaffold a new repository in the /path/to/your/new-project directory using the Forge config file located at /path/to/your/forge-config.json.

Frequently Asked Questions about repo-init

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

FAQPage Schema
How do I scaffold a buildable repository from a Forge config file?

Scaffolding a buildable repository from a Forge config file is automated by generating the correct directory structures, package dependencies, and framework configurations based on your project settings. The process also initializes git and runs dependency installation to verify the setup.

What is automated repository initialization for standardized tech stacks?

Automated repository initialization generates complete project structures, boilerplate code, and framework configurations directly from a config file. It eliminates manual file creation and dependency configuration errors when setting up standardized tech stacks.

Does repo-init support monorepo and single-app project structures?

Yes, repo-init supports monorepo and single-app structures by reading the project.structure field in your Forge config. It dynamically generates the matching directory layout and skips any sections not explicitly defined in the configuration.

How do I set up git and dependencies for a new boilerplate project?

Setting up git and dependencies for a new boilerplate project is handled automatically during scaffolding. The tool initializes a git repository with a proper .gitignore file, installs package dependencies, and runs a build verification to ensure the generated code works.

What is the best way to generate boilerplate code for a Next.js and Tailwind project?

Generating boilerplate code for a Next.js and Tailwind project is best handled by config-driven scaffolding, which creates all necessary package files and framework configurations in seconds. This yields a fully functional, buildable repository without manual file creation.

What happens if my Forge config is missing certain project sections?

If your Forge config is missing certain project sections, the scaffolding process simply skips those undefined sections. It only generates directory structures, package files, and configurations for fields explicitly present in the config.