setup-projectlisted
Install: claude install-skill by-carlos/daikenja
# Setup project
Registering a project is a per-project act with a per-project lifetime.
`setup-user` is a per-person act, run once. Keeping them in one skill meant
every new repository cost a full personal-setup run, which is what this skill
exists to end.
**Slash-only on purpose.** It writes `daikenja.yaml`, and its seeding step can
propose dozens of ledger entries. Nothing about "set this up" should make that
fire on its own -- the user runs `/daikenja:setup-project` when they mean to.
`disable-model-invocation: true` is set for that reason.
**This skill never writes ledger content.** The ledger is `DECISIONS.md` at
each registered repository's root and `.daikenja/open.md` in the home
repository. Seeding derives candidate entries and hands them to
`/daikenja:project-log`, which shows the exact lines, waits for approval and
scaffolds either file from its template. `project-log` remains the only writer
of both, per `docs/config-writers.md` § Who writes what.
**Every project lives in a git repository**, because git is where the ledger
keeps its history. A project with no folder cannot be registered.
## Step 0: the preconditions
Read `~/.claude/daikenja/daikenja.yaml`. Three outcomes and no others:
- **It does not exist.** Stop. Say so and name the skill that creates it:
```
Daikenja is not configured yet -- there is no ~/.claude/daikenja/daikenja.yaml.
Run /daikenja:setup-user first. Nothing was written.
```
- **It exists but does not parse.** **Stop.** Name t