rs-init

Initialize RootSpec projects by creating the rootspec/ scaffold and configuring prerequisites.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/rootspec/rootspec --skill rs-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rs-init
Source: https://github.com/rootspec/rootspec/tree/main/skills/rs-init
Command: npx skills add https://github.com/rootspec/rootspec --skill rs-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

RootSpec initialization can be messy without a guided bootstrap. rs-init creates the essential scaffold, copies framework files, and configures prerequisites to kick off a project consistently.

Core Features & Use Cases

  • Creates the rootspec/ project scaffold with framework files and base prerequisites
  • Detects existing setups (greenfield, partial, or re-init) and handles bootstrap appropriately
  • Preserves existing files while wiring up bootstrap and prerequisite detection to adapt to brownfield repos

Quick Start

Initialize a RootSpec project in my repository.

Frequently Asked Questions about rs-init

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

FAQPage Schema
How do I bootstrap a RootSpec project in my existing repository?

To bootstrap a RootSpec project in an existing repository, the initializer creates the rootspec/ directory, copies framework files, and configures prerequisites while preserving your existing code unless explicitly confirmed.

What is the best way to set up project prerequisites for RootSpec?

Setting up project prerequisites for RootSpec involves running the initializer to automatically detect existing setups, wire bootstrap scripts, and update the .rootspec.json configuration file without overwriting user code.

Can I initialize RootSpec in a brownfield project without losing my current files?

Yes, you can initialize RootSpec in a brownfield project without losing files. The bootstrap process detects existing setups and preserves user code, only overwriting files when explicitly confirmed during the scaffold creation.

Does the RootSpec bootstrap process work for both greenfield and partial setups?

Yes, the RootSpec bootstrap process works for greenfield, partial, and re-init scenarios. It detects the current repository state and adjusts the framework file copying and prerequisite configuration to handle each setup appropriately.

Why does RootSpec initialization create a .rootspec.json file?

RootSpec initialization creates a .rootspec.json file to store project configuration and prerequisite settings. This file is created and updated during the bootstrap process to wire scripts and maintain consistent framework setup.