Skip to content
Skills Library
Programming · Building & coding

initialize

/initialize

Lay down the skillhead project structure (pointer CLAUDE.md, guides, ADRs, launch pack, hook profile, merge gate) in a new or existing repository, then fill the merge gate for its stack. Use when the user asks to initialize, bootstrap or set up a project for skillhead.

Repository
skillhead ↗
Licence
MIT
Last repository change
08.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: new_project.py

What it does and when to use it

Lay down the skillhead project structure (pointer CLAUDE.md, guides, ADRs, launch pack, hook profile, merge gate) in a new or existing repository, then fill the merge gate for its stack. Use when the user asks to initialize, bootstrap or set up a project for skillhead.

Arguments

/initialize [dir] [--name NAME] [--forge github|gitlab] [--mode draft|automerge] [--default-branch BRANCH]
Original author description

Lay down the skillhead project structure (pointer CLAUDE.md, guides, ADRs, launch pack, hook profile, merge gate) in a new or existing repository, then fill the merge gate for its stack. Use when the user asks to initialize, bootstrap or set up a project for skillhead.

How it works

  1. 1. Gather the facts
  2. 2. Preview, then write
  3. 3. Fill the gate for the stack
  4. 4. Check and hand over
Original SKILL.md headings · 59 lines, 425 words
SKILL.md preview
---
name: initialize
description: >-
  Lay down the skillhead project structure (pointer CLAUDE.md, guides, ADRs,
  launch pack, hook profile, merge gate) in a new or existing repository, then
  fill the merge gate for its stack. Use when the user asks to initialize,
  bootstrap or set up a project for skillhead.
argument-hint: "[dir] [--name NAME] [--forge github|gitlab] [--mode draft|automerge] [--default-branch BRANCH]"
disable-model-invocation: true
---

# /skillhead:initialize

`new_project.py`, next to this file, is the only thing that writes the template; this skill runs
it with the right facts and fills in what a script cannot guess. It never
overwrites a file and never commits.

## 1. Gather the facts

Target: the `dir` argument, else the current working directory. For each
fact the user did not pass, infer it and show where it came from:

| Fact | Source, in order |
|---|---|
| `--name` | `name` in `package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod` module tail; else the directory name |
| `--forge` | `git remote get-url origin`: `github` if it contains `github`, `gitlab` if it contains `gitlab`; else ask |
| `--default-branch` | `git symbolic-ref --short refs/remotes/origin/HEAD` minus `origin/`; else the current branch; else `main` |
| `--mode` | `draft` — `automerge` only when the user asks for it |

## 2. Preview, then write

1. Run `skillhead new_project <dir> <flags> --dry-run` and show the user the
   files it would write and the ones it keeps.
2. On their go-ahead, run the same command without `--dry-run`.
3. For each kept file, compare it with `templates/project/` in the plugin and
   propose the missing parts as an edit the user approves. A kept
   `CLAUDE.md` gets the pointer table merged in, never replaced.

## 3. Fill the gate for the stack

Detect the stack from its manifests (`package.json` and its lockfile,
`pyproject.toml`, `Cargo.toml`, `go.mod`, `pom.xml` / `build.gradle*`,
`*.csproj` / `*.sln`, `Makefile`), and the CI the repo already runs. Then:

- **`ci/gates.json`**: set the `check`, `lint`, `test` and `build` steps to
  commands the project already uses (its scripts, Makefile targets, existing
  CI jobs). Leave a step's `run` empty rather than invent a command; remove a
  step only if the stack has no such phase.
- **`docs/agents/toolchain.md`**: replace each `<…>` placeholder with the
  stack's package manager, lockfile, cache repair command and banned commands.
- **`.claude/loop-issues.json`**: add the stack's test runners to
  `test_patterns_extra` when the defaults miss them.

Run each gate command once before writing it in. One that fails is reported
to the user, not written.

## 4. Check and hand over

Run `python3 ci/check.py` in the target (`python` or `py -3` on Windows) and
report its result. Then list what only the user can write, each with one
line on what it holds:

- `CONTEXT.md` — the domain vocabulary;
- `PRODUCT.md` — users, needs, product rules;
- `DESIGN.md` — the visual and interaction design, if there is a UI;
- `.claude/skills/verify/SKILL.md` — how to launch and drive the app.

Stop there. The user reviews and commits.
Files in this package (2)
  • SKILL.md 3 KB
  • new_project.py 4 KB

Versions

The database has no other skills named initialize.

Database snapshot: 13.11.2026 · package version 6f4d4ff50d8c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100project-create
    Initialize a new project with full setup — repo structure, docs, quality tools, and CI/CD. Use when starting a brand-new project from scratch. Trigger on "create a new project", "initialize a project", "set up a new repo", "bootstrap a project".
  • 90bootstrap-project
    Set up the playbook in a new or existing repository: AGENTS.md, ADR 0001, the living docs, CI and owner tasks. Run only when the user asks.
  • 91initialize-project
    Initialize a new software project with customized structure through interactive Q&A. Use when user mentions "new project", "start project", "initialize project", "create project", or "set up project". Gathers methodology, team structure, documentation preferences, and…
  • 100project-bootstrap
    This skill launches an interactive 8-phase new project setup wizard. Use when the user asks "create a new project", "start a project", "bootstrap project", "set up a new repo", "initialize project", "新しいプロジェクト作成", "プロジェクトを始める", or "プロジェクト立ち上げ".
  • 84init
    Initialize a new project with a standard directory structure, template files, and a git repository. Use this skill whenever the user starts a new project, types /init, asks to "set up a new project", "initialize a repo", "scaffold a project", or wants to create the standard…
  • 95project-init
    Use this skill when the user says 'create project structure', 'scaffold project', 'initialize project', 'set up folder structure', 'new project from scratch', or when a new project needs folders and config files created. This skill scaffolds the full project tree based on…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.