# ~init

> Initialize hello-scholar project assets for the current repository. Use when the user explicitly types `~init` or asks to initialize hello-scholar records for a

- Skill: `tx1207/init` (Agent Skill)
- Install (CLI): `npx get-skill add tx1207/init`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tx1207/init/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Tx1207 (https://skillmd.com/u/tx1207)
- Updated: 2026-12-03
- Page: https://skillmd.com/skills/tx1207/init

---

---
name: ~init
description: Initialize hello-scholar project assets for the current repository. Use when the user explicitly types `~init` or asks to initialize hello-scholar records for a project; creates the project `hello-scholar/` directory if missing and ensures root `.gitignore` ignores `/hello-scholar/` and `/.hello-scholar/`.
policy:
  allow_implicit_invocation: false
---
Trigger: ~init

`~init` initializes the current repository for hello-scholar project records.

## Rules

- Do not create or update a change record for this command.
- Treat an existing project-root `hello-scholar/` directory as already initialized.
- Ensure project-root `.gitignore` contains `/hello-scholar/` and `/.hello-scholar/`.
- Do not run `git rm --cached`; only tell the user if already tracked files may need manual untracking.

## Steps

1. Run `hello-scholar init` when the CLI is available.
2. If running from an installed runtime where the CLI is unavailable, run `node .hello-scholar/scripts/project-storage.mjs init --cwd <project-root>`.
3. Report whether the asset directory already existed and whether `.gitignore` was updated.

