/makeit:initfrom makeit
Set up this project the makeit way. Runs makeit init, then does the parts that need judgment, runs check:full, and asks before the first commit.
Ships in makeit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user typed /makeit:init: that is their consent for makeit init --yes. makeit does the
deterministic part (files, merges, the record in .makeit.json); you do the parts
that need judgment, in this order, and stop at the end of each step only when it says so.
changes, bring the
project up to the current way first (the section after step 1).Never run makeit init --rulesets unless the user asks for it in so many words: it sends
rulesets to GitHub, which is outward-facing and needs its own consent.
Run it with the Bash tool from the project root, as a command on its own (the skill pre-approves
exactly this command, so do not chain it with others), with timeout: 600000:
makeit init --yes --json
plan (what each step did), kept (what makeit left as the
user had it, and why), manual (exact text for files makeit does not edit), notices (what the
user should know: prerequisites such as Docker for check:api, prek install per clone). A
notices line "no git repository here" means a folder with files and no git, set up without
git on purpose: leave the commit hooks out, skip step 8 (no commit, no git init) and say so
in one line. A line starting "a folder of repositories" means the folder holds repositories
and is set up for the folder alone: the same, and change nothing inside those repositories.makeit: command not found: makeit is not installed. Stop and say so in one line; do not set
the project up another way.error says why.
Show it in one line and stop. Exit 2 should not happen with --yes; if it does, show the
error and stop.Only when the JSON's changes is not empty: an older makeit set this project up, and how init
works has changed since. Each entry names its files and, in prompt, the end state to reach;
initTarget is the version they bring the project to.
templates/project/ in the plugin set
(~/.makeit/catalog), and the check tasks and the run recipe with steps 3 and 6. List what
looks like a gap, not a choice: a template section the file lacks, a <...> left, a rule of
those steps the project breaks. Leave out every difference a keep line in the JSON names,
and every value the user filled in. Nothing to list: say so in one line.makeit init --applied <initTarget> once, then
makeit init --applied <initTarget> --keep '<file>: <what differs>' once per difference the
user kept (that exact line is never raised again). Write the line in single quotes and plain
words, with no backtick, $ or ' in it: the shell runs what backticks and $(...) hold.
Each command on its own, like step 1. In a repository, .makeit.json goes in the step 8
commit.Then go on with step 2; the steps below still run, as on any init.
<...> placeholder with what the code shows (the one-sentence
description, the layout lines, the known traps you find). The Product priority line must be
in the user's words: ask once, with AskUserQuestion, and write their answer as given.kept lists as "yours: kept as it is" is rebuilt, with the user's yes. Not a
CLAUDE.md that is a symlink (kept says so; leave it and the file it points to alone), and not
when CLAUDE.md.before-makeit already exists (it was rebuilt before: add only the template's
missing sections). Ask the Product priority question first, so the draft carries the answer:
AGENTS.md, .cursorrules and CONTRIBUTING.md when they exist, and the code
they describe.templates/project/CLAUDE.md (in the makeit plugin
set, ~/.makeit/catalog). Carry over what is still relevant and true of the code; cut what is
outdated (a path that no longer exists, a command that no longer runs), redundant with the
template or with another line, or not about this project. Write nothing yet.CLAUDE.md.before-makeit (never over an existing one) and
write the new one; the backup stays out of the first commit (step 8), and the user deletes it
when satisfied. On "keep mine", add only the template's missing sections, as for
CONSTRAINTS.md. The other files are read, never changed.kept lists as the user's: add the sections of
templates/project/CONSTRAINTS.md that it lacks, and keep every section it has. Never rewrite
it.<...> with the command that produces the verdict. Delete only the
rows whose dimension the project does not have (Accessibility and Performance without a UI,
Migrations without a database). Never delete the Coverage or Mutation row: every project has
both. Wire the language's coverage tool and a diff mutation tool; when one cannot be wired yet,
keep its row as it is and add a HANDOFF item for it. floor-guard reads a removed row as a
weakened constraint.check:full is green. Build two or three options from what the repository shows (its
branches, its CI and deploy config, where tickets live), the most careful first: push the
branch and open the PR, and the owner does the rest; that, plus pushing or merging to the
branch that deploys to a test environment; everything up to production. Name the real branches
and steps in each option, and say in it when a step still shows Claude Code's own permission
prompt (merging a PR, a push to main or master, anything on the user's ask list): that
yes stays the owner's. Write the answer into the section in the owner's words: the steps
allowed, in order, then what always asks. Keep the template's red line as it is. In a folder of
repositories, one line per repository whose routine differs.main and master always ask before a push. Every other branch that deploys
when pushed is named by the Shipping answer. One the owner keeps under "always ask" gets the
two rules Bash(git push * <b>) and Bash(git push *:<b>) in permissions.ask of
.claude/settings.json (create the file when missing, keep every other key and rule, add no
rule twice; never in settings.local.json: the file is committed so the whole team asks). One
the Shipping section lets Claude push to on a green suite gets no rule; when an earlier init
added the two rules for it, say so in the Shipping question and remove them on the owner's yes.makeit added check:fast, check:task and check:full stubs that fail on purpose (or reported
them in manual for a Makefile, justfile, Taskfile or pyproject). Wire each to the repository's
real tools, named in the global rules for its language (~/.claude/rules/): formatter, linter and
type checker for check:fast; plus the related tests for check:task; everything CI runs for
check:full. Use the package manager and runner the repository already has.
In a Makefile, give each tool its own target (one command per recipe) and make each check task
depend on them, so make -k check:full runs every check and reports every failure: a recipe
stops at its first failing line.
Then run each task once and time it (time <runner> check:fast, then check:task and check:full).
Write the measured times in CLAUDE.md's Commands table and as the budgets of CONSTRAINTS.md's
budgets table, in place of the template's starting points. check:task runs after every change, so
it runs only what a change touches: the type checker in its incremental mode, and the tests
related to the changed files (the test runner's own option for that; look it up in the docs of
the version in use), never the whole suite. A check:fast over 10 s or a check:task over 90 s is a
finding: bring it down, or add a HANDOFF item that says what makes it slow.
Each manual entry is exact text for a file makeit does not edit (YAML, TOML, Makefile, justfile,
Taskfile, a CI caller input). Apply it with the Edit tool, keeping the file's comments and
order. When an entry says a value must wait for something (has-web-ui until test:e2e exists),
apply it once that something exists.
web in the record's types): add Playwright with @axe-core/playwright and a
test:e2e task that runs it; then set has-web-ui: true in the CI caller.api): add schemathesis against the running server to check:api, since it
needs a server makeit cannot start.Write .claude/skills/run-<project>/SKILL.md, where <project> is the project directory name,
lowercased, with spaces as dashes. Use exactly this frontmatter, each value on one plain line:
---
name: run-<project>
description: Build, run, and drive <project>. Use when asked to start <project>, run its tests, build it, take a screenshot of its UI, or interact with the running app.
---
Then the sections Setup, Build, Run (agent path: start it in the background with logs to
/tmp/<project>.log, poll until it is ready, interact with it once for real, stop it), Test, and
Gotchas only for errors you hit. Every command in it must be one you ran in this session and saw
work. The name must start with run-: a skill named exactly run would replace Claude Code's
built-in run skill, which finds this recipe by its description.
A project with a user interface gets one Run part per surface: each web app and each mobile app (in a folder of repositories, each repository that has one), started and seen once for real. A surface you could not start here goes under a heading "Not runnable here" with the reason, and gets a HANDOFF item: until it has a recipe, a change to that screen is first seen after a deploy.
A web surface's Run part ends with the line that takes its screenshots, run once and seen to
work: shots --out <folder> <the URLs of its main pages> (one command: each page at desktop and
phone width, with its console errors). When the pages sit behind a login, write
.claude/skills/run-<project>/shots-login.sh first and add --setup with that file to the
line. The file is sourced once the browser is up and signs in through cdt, which takes the
browser tools as commands (cdt new_page <login URL> --output-format=json, cdt evaluate_script '<a function that fills and submits the form>' --pageId <id>). It signs in with a development
account of the project, never with a person's own password. The file is committed, so it holds
no password: it reads the account's password from an environment variable that the recipe
names (for example "$DEV_PASSWORD"). With no such account, leave the
login out, say so under "Not runnable here", and keep the browser tools for those pages.
If nothing can be started yet (a fresh project), write no recipe; add a HANDOFF item instead.
Also write .claude/skills/verify/SKILL.md from templates/project/verify-skill.md (in the
makeit plugin set, ~/.makeit/catalog), every <...> filled with the commands of the recipe
you just wrote and ran; Claude Code runs a skill named verify before commits. When that file
already exists, keep it as it is and say so in the report. With no recipe, write no verify skill.
Run the repository's check:full and fix what fails, until it passes or a failure needs the user
(say which, and why, in one line).
Skip this step in a folder makeit set up without git (its notices say "no git repository
here" or "a folder of repositories"): make no commit and run no git init; say in one line that
the folder has no git.
Ask with AskUserQuestion before committing: name the branch and what the commit holds. On a yes:
git rev-parse --verify HEAD fails, as after makeit's own git
init): make this first commit on the default branch (main, or the branch origin/HEAD names),
so the repository has a base for later pull requests.On a no, leave everything uncommitted.
End the commit message body with this line, so it is there for the PR description when the branch is pushed: floor-guard, in the CI checks, fails a PR that changes workflows, check tasks, hook and checker configs or floor-guard itself unless its description gives the reason.
floor-guard: makeit init adds the CI checks, the check tasks and the hook config
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub youssefkadaouiabbassi/make-it --plugin makeit3 skills in this plugin
/draftUse when writing text another person will read: a message, an e-mail, a ticket or PR comment, a reply to a client or teammate./expand-contractUse when changing a database schema that live code reads (rename, drop, retype, split a column or table), before writing the migration. Additive first, destructive last and alone, backfill in batches.