New project

From dtiger1889-ops/claude-harness-toolbox · View interactive version

New project is an AI agent skill from the GitHub repository dtiger1889-ops/claude-harness-toolbox. Scaffolds a new project folder from the harness templates and -- the load-bearing half -- registers it everywhere it must appear (the project ledger, any container index, its backup lane). Use when the user says "/new-project", "new project", "set up a project for X", or promotes an outgrown scratch

How to use this skill

Skill file

/new-project -- scaffold + register a project

Scaffolding tends to get done; registration tends to get skipped, and a project no

index names is invisible to every later session. Never end this skill with the folder

scaffolded but unlisted. Conventions live in the workspace-level CLAUDE.md; the

skeletons are this repo's templates/, copied wherever you keep them.

Step 0 -- the three questions (ask only what the conversation hasn't answered)

  1. Name -- short kebab/snake slug; folder name = project name. Name it for what it

DOES, never branded for the model that built it (claude-* and the like), so the name

survives a change of agent. Sole exception: a repo whose subject IS that agent's tooling.

  1. Location -- top-level project, or an occupant of a container folder (one for

experiments, one for small apps)? Default: experiments and one-offs start in the

experiments container and get promoted later; anything with a standing goal goes

top-level.

  1. Backup lane (required -- every folder needs one):

A two-way sync copies deletions too, so it is coverage, not a backup.

repo needs the user's explicit per-repo decision and their publish review, never

a --public flag by default. Inside an existing repo, the parent repo IS the

lane: verify the new folder is not gitignored.

Step 1 -- scaffold from the templates (never freehand)

templates/CLAUDE.md.template      -> <proj>/CLAUDE.md
templates/CHECKPOINT.md.template  -> <proj>/CHECKPOINT.md
templates/gitignore.template      -> <proj>/.gitignore   (new repo only)

Fill every [bracketed placeholder]. CLAUDE.md stays <= 30 lines with a line-2

version stamp (<!-- v1 -- YYYY-MM-DD -->). CHECKPOINT.md gets Last updated: from

the real clock in UTC (run a command, never guess) and the sections Status / Goal /

Key decisions / Open threads / Files that matter / Next step (one of the template's three

declared shapes: Action, HOLD or Pick) / Harness changelog.

A private repo's .gitignore covers only secrets, personal data and machine junk,

never a working file (CHECKPOINT, CLAUDE.md, specs, docs), because a resumed session

needs them.

Step 1b -- create a private repo only after the project files are complete

generated output, databases, archives and large files; write .gitignore first.

Stop if a repo already exists there, or the separate git-dir path below already exists,

and diagnose it instead of initializing over it.

outside it (--separate-git-dir <path outside the synced tree>), because a sync

client rewriting a live .git folder corrupts it.

files before committing. Create the remote empty and private (no --source, so

the host never pushes an unreviewed tree), add origin, push main, and turn on

delete-branch-on-merge (gh repo edit --delete-branch-on-merge on GitHub).

Step 2 -- register (do ALL that apply)

project, with a one-line purpose) and a note in the workspace CHECKPOINT changelog.

CHECKPOINT.md Status line, same turn.

conventions, so a later audit doesn't have to re-derive it.

public/private registry), same turn.

Step 3 -- research-first opening

The project's first working turn writes a ## Research block in its CHECKPOINT

(prior art, constraints, open questions, sources) before any implementation. Shipped

solutions first: GitHub, published skills, community writeups; default to

adopt/adapt with a citation. Building from scratch needs a stated reason. If the build

touches agent tooling, also check your vet ledger (see the vet skill) and add notable

finds that pass its admission test, judged per find.

Step 4 -- verify before closing

Copy this checklist into the reply and tick each item:

- [ ] CLAUDE.md <= 30 lines, CHECKPOINT.md <= 120 lines (counted, not estimated)
- [ ] every index from Step 2 re-read and shows the new name
- [ ] backup lane real: inside a synced tree, repo pushed, or parent repo covers it un-ignored
- [ ] new private repo: branch main, remote private and pushed, on every repo list
- [ ] "registered in: ..." reported to the user

Promotion variant (container -> top-level)

Same skill, reversed entry: move the folder up (a real move, never copy + delete), add

the ledger row, remove it from the container's contents list and Status, note the move

in both changelogs, and pick a new backup lane the same turn if leaving a git repo's

tree took the old one away.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.