en un clic
init
Initialize Hats in a new or existing project.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Initialize Hats in a new or existing project.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Run the QA ↔ Developer loop autonomously until tests pass.
Switch to the CTO role.
Switch to the Designer role.
Switch to the Developer role.
Diagnose and fix a Hats project structure (missing dirs, symlinks, files).
Switch to the Manager role.
| name | init |
| description | Initialize Hats in a new or existing project. |
Look at the current directory. If there are source code files (anything besides .git/, .gitignore, README*, LICENSE*):
.hats/ folder for specs, designs, and tests."If the directory is empty or only has .git/, skip to Step 2.
Create the missing directories and files (do NOT overwrite existing files):
.hats/manager/ (private workspace).hats/designer/ (private workspace).hats/cto/ (private workspace).hats/qa/.hats/developer/ (private workspace).hats/shared/.hats/shared/specs/ (Manager writes .feature files here).hats/shared/designs/ (Designer writes design files here).hats/shared/threads/ (any role can append topic memos here).hats/shared/manager2team.md (empty).hats/shared/cto2team.md (empty).hats/shared/qa2dev.md (empty).hats/shared/dev2qa.md (empty).hats/shared/dev2designer.md (empty).hats/shared/qa2designer.md (empty).hats/shared/designer2team.md (empty).hats/manager/notes.md (empty — role scratchpad).hats/designer/notes.md (empty — role scratchpad).hats/cto/notes.md (empty — role scratchpad).hats/qa/notes.md (empty — role scratchpad).hats/developer/notes.md (empty — role scratchpad).hats/status.json (with default messaging structure — see MIGRATIONS.md for the full messages schema).gitignore (append if exists, create if not):
node_modules/
__pycache__/
venv/
.env
.hats/role
.hats/logs/
.hats/debug
*.log
No symlinks are created. All shared data lives in .hats/shared/ — specs in shared/specs/, designs in shared/designs/. Role directories (manager/, designer/, cto/) are private workspaces.
If code exists in the project, ask: "Want me to generate Gherkin specs from your code? I'll create .feature files in .hats/shared/specs/ describing what your app already does."
.feature files in .hats/shared/specs/Tell the user: "Project ready. Run /hats:manager to start planning."