← ClaudeAtlas

initlisted

Write or refresh this repository's CLAUDE.md — detected build, test and run commands plus the conventions and security rules for its family (Moodle plugin, PHP app, CMS, Python). Reads an existing file first and reports it as already fine rather than churning it; regenerating replaces only a marked block, so hand-written sections survive. Also leaves AGENTS.md as a stub pointing at CLAUDE.md.
grinchenkoedu/claude-skills · ★ 0 · Code & Development · score 75
Install: claude install-skill grinchenkoedu/claude-skills
# /gku:init — give this repository a CLAUDE.md `CLAUDE.md` is read at the start of every session in a repository. It is the one place to record how to build the project, how to test it, and the handful of rules that are actually violated here. This skill writes it, and can refresh the shared part later without touching your own. Run it once per repository, and again whenever the family rules improve. ## Arguments - `--family <name>` — force the family: `moodle-plugin`, `php-app`, `cms`, `python-app`. Normally detected. - `--refresh` — update the managed block in an existing file, leaving everything else alone. - `--dry-run` — show what would be written; change nothing. ## How the file is structured Two parts, and the distinction is the whole point: ```markdown # <Project> — notes for Claude ...your own sections: what this project is, its quirks, anything you want said every session... <!-- toolkit:begin family-rules --> ...maintained by /gku:init — replaced wholesale on --refresh... <!-- toolkit:end family-rules --> ...more of your own sections if you like... ``` **Never edit inside the markers** — a refresh overwrites it. **Never let a refresh touch anything outside them** — that is someone's work. ## Step 1 — Profile the repository Read `.claude/repo-profile.json`, or detect and cache it per `reference/repo-profile.md`. You need: family, language and version, base branch, install / lint / test / build commands, the execution environment, the runtime surfac