rcode-scaffold-projectlisted
Install: claude install-skill hanzlahabib/rcode
@.rcode/references/karpathy-guidelines.md
## Workflow
# Scaffold Project from rcode Template
## Overview
This skill bootstraps a new rcode project by cloning the official rcode template
repository (`https://github.com/rcode-om/template`) into a target directory.
It always clones fresh from GitHub — nothing is stored locally — so if the template
is updated, the next scaffold automatically picks up the latest version.
The workflow enforces safety: it never overwrites an existing non-empty directory
without explicit user consent.
## On Activation
Load config from `{project-root}/.rcode/config.json` and resolve:
- `{user_name}` for greeting
- `{communication_language}` for all agent communication
Greet the user as `{user_name}` in `{communication_language}`.
Then proceed to `./steps/step-01-target.md`.
## Stages
| # | Stage | Purpose | File |
|---|-------|---------|------|
| 1 | Target Directory | Get + validate destination path | `steps/step-01-target.md` |
| 2 | Safety Check | Verify folder is empty or get new path | `steps/step-02-safety.md` |
| 3 | Clone | Clone template repo fresh from GitHub | `steps/step-03-clone.md` |
| 4 | Post-Setup | Rename, init git, suggest next steps | `steps/step-04-post-setup.md` |
## Design Decisions
- **Always clone fresh** — never cache template locally. Template updates are free.
- **No local template copy** — single source of truth is `https://github.com/rcode-om/template`.
- **Safety first** — never touch a non-empty director