rcode-scaffold-project

Scaffolds rcode projects and initializes rcode in existing directories with safety checks.

2|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/hanzlahabib/rcode --skill rcode-scaffold-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rcode-scaffold-project
Source: https://github.com/hanzlahabib/rcode/tree/main/rcode/skills/actions/4-implementation/rcode-scaffold-project
Command: npx skills add https://github.com/hanzlahabib/rcode --skill rcode-scaffold-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of starting a new rcode project or adding rcode to an existing codebase by handling setup decisions, safety checks, and the initial project structure for you.

Core Features & Use Cases

  • Greenfield Project Scaffolding: Clones the official rcode template into a fresh folder and prepares it for a new project.
  • Brownfield Initialization: Adds only the rcode structure needed to an existing project without overwriting current files.
  • Safety-First Validation: Detects empty versus non-empty folders, checks for existing rcode setup, and pauses for explicit consent before making changes.
  • Post-Setup Guidance: Helps with pnpm installation, Node.js target verification, config initialization, and next-step recommendations.
  • Use Case: A developer wants to start a new app from the official template or enable rcode in an already-started repository without risking accidental file loss.

Quick Start

Ask to scaffold a new rcode project in a chosen folder, or tell it to initialize rcode here in the current project.

Frequently Asked Questions about rcode-scaffold-project

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

FAQPage Schema
How do I scaffold a new project from a template without losing existing files?

Project scaffolding can safely initialize your codebase by detecting non-empty folders and performing brownfield overlay setup. This ensures the tool adds only the required structure without overwriting your current files.

What is brownfield project initialization and when do I need it?

Brownfield initialization is the process of adding a new project structure to an existing codebase without destructive file handling. You need it when enabling new tooling in a repository that already contains code and files.

How do I set up a new project directory using pnpm?

To set up a new project directory using pnpm, the scaffolding tool clones the official template into a fresh folder and runs pnpm-first installation. It also verifies your Node 20 environment before completing the setup.

Does project scaffolding work safely in an existing non-empty repository?

Yes, project scaffolding works safely in existing repositories by running target-path validation and safety checks. It pauses for explicit consent before making changes, ensuring non-destructive file handling during brownfield initialization.

What are the prerequisites for scaffolding a project with pnpm?

The prerequisites for scaffolding a project with pnpm include having Node 20 verified and installed in your environment. The tool performs Node.js target verification and requires pnpm for the first installation step.

What steps should I take after project scaffolding is complete?

After project scaffolding is complete, you should follow the post-setup guidance for config initialization. The tool provides next-step recommendations including pnpm installation and rcode config generation to finalize your workflow.