/srulik-toolkit:to-projectfrom srulik-toolkit
Transforms raw ideas, notes, or session transcripts into structured agent-ready local projects with git repos, AGENTS.md, TASKS.md, and glossaries. Supports extending existing projects.
Ships in srulik-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn raw input (an idea, notes, or a whole session) into a complete, agent-ready
local project: git repo, AGENTS.md, TASKS.md, docs, research intake, a
glossary, and a memory index. The grill is the engine. You interview the user to
shared understanding, and the project's docs crystallise live during that
interview.
Core principle: a folder is not a project. A project is a contract other
agents can pick up cold: where to look first (TASKS.md), how not to collide
(the multi-agent norms), and why it exists (provenance + GLOSSARY.md).
Run in order. The skill stays in the main session because the grill is an interview, it cannot be delegated.
Pick the mode first. If the input targets an existing project (an explicit
"extend / add to / continue" intent, or a target path that already holds a
project: AGENTS.md or .git), this is an extend run, follow EXTEND.md
instead of the steps below. Otherwise it is a new run, continue here. Both
modes accept one or more sources. For vocabulary selection and legacy
CONTEXT.md compatibility, follow the glossary format.
Accept whatever the user has: a one-line idea, a pasted artifact, a path to notes, or this session's transcript. Read it fully before asking anything.
From the input, infer:
.gitignore composition and type-specific dirs.~/projects/<slug>, slug derived from the input.One prompt, one line, then proceed.
Before creating: if the target path already holds a project (AGENTS.md or
.git), this is an extend, not a new scaffold, switch to EXTEND.md. If the path
exists and is non-empty but is not a project, stop and ask before proceeding. Do
not scaffold over existing files.
At the confirmed path: mkdir, git init, write a .gitignore for the detected
type (see templates.md), picking the variant that matches the detected stack (e.g.
node vs python for software projects) and defaulting to the closest match. Nothing
is committed yet. The repo exists early so the grill can write docs live.
Interview the user relentlessly, one question at a time, walking the design tree and resolving dependencies one by one. For each question, give your recommended answer. If a question is answerable from the input, answer it from the input instead of asking.
Write decisions live, do not batch:
GLOSSARY.md glossary (format: glossary format). Devoid of
implementation detail. A glossary, nothing else.docs/adr/NNNN-slug.md, sparingly. File only
when it clears the ADR gate (format and gate: ADR format).Grilling moves:
GLOSSARY.md.Before finalising the scaffold, look at the sibling directories of the new
project's parent dir (e.g. other folders alongside it in ~/projects). Shallow
and read-only: check only each sibling's top-level steering or readme file
(AGENTS.md, README.md, or CLAUDE.md), first lines only, to judge
relevance. If any are relevant to this project, note them for the AGENTS.md
"Related projects" section (path + one-line why). If none are relevant, omit
that section entirely. Do not traverse into sibling internals.
Before writing the remaining scaffold, show:
Wait for one explicit "go".
Before writing any file, self-edit every piece of synthesized prose you are
about to commit (AGENTS.md, TASKS.md, GLOSSARY.md, ADRs). Keep it direct,
specific, and free of filler. The conventions written into AGENTS.md govern
the scaffolded project itself, not just future work in it.
Write from templates.md:
AGENTS.md: write from templates.md, filling every placeholder. Include the
multi-agent contract (below). The GLOSSARY.md and docs/adr/ index entries are
conditional: both are created lazily during the grill and may not exist in a
fresh scaffold. Add the "Related projects" section only if step 4a found any
(path + one-line why).AGENTS.md canonical. Also create CLAUDE.md with
the single line @AGENTS.md so Claude Code imports the same instructions.
Codex reads AGENTS.md directly. Add another harness alias only when the user
names that harness and its supported import mechanism is known.TASKS.md: goals to Backlog, extracted Open Questions filled in; Now and
Next left empty.assets/, docs/, docs/memory/, research/; add a .gitkeep
to every created directory that has no file yet (git does not track empty dirs,
so without it research/ and other empty dirs vanish on clone). assets/ is
tracked in git (provenance is the point); very large or binary assets may be
gitignored if size is a concern. The AGENTS.md index is the single source of
truth for what-goes-where. No per-directory READMEs.AGENTS.md index.assets/ with a dated name, log
it in assets/sources.md; ADRs and glossary terms that came from it cite it. A
typed-only idea with no file goes to assets/origin.md.capture-to-project and tidy-project, copy this skill's
base-skills/<name>/ to the project's .agents/skills/<name>/ and append
installed: <YYYY-MM-DD> and source: to-project to the copied SKILL.md
frontmatter. Create .claude/skills as a relative symlink to
../.agents/skills so Claude Code and Codex use the same project-local files.
Do not link either directory to a global or source installation.One commit, Initial project scaffold. Follow the user's commit conventions.
Do not create a remote. Show the final tree.
The default working model this skill assumes and documents:
TASKS.md is the coordination surface. Claim before working.AGENTS.md is the canonical steering file and Codex reads it directly. Claude
Code expects CLAUDE.md, so the scaffold creates a small import file rather
than duplicating instructions.
CLAUDE.md contains the single line @AGENTS.md using Claude Code's import
syntax. If either file already exists, preserve its content and merge the
steering instructions instead of overwriting it.
templates.md (scaffold file bodies), EXTEND.md (extend mode), the shared glossary format and ADR format (formats for step 4), base-skills/ (capture-to-project and tidy-project, copied into each scaffold). Additional skill discovery is optional and runs only when the user requests it.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub tzachbon/srulik-toolkit --plugin srulik-toolkit26 skills in this plugin
/agent-swarmCoordinate delegated work through the child-agent capabilities available in the current harness. Use when the user asks to spawn agents, delegate, swarm, parallelize, race approaches, or when active instructions require an orchestrator and worker split. Does not require Traycer, a specific provider, or a fixed model./can-you-helpUse when the user brings a Slack thread, review, page, request, or other artifact and asks for help without knowing what kind of help is needed. Identify the real ask, handle clear authorized work, or clarify the decision and propose a short next action for approval./create-planCreate detailed, comprehensive, execution-ready plans for engineering, architecture, research, reviews, migrations, investigations, operations, strategy, decisions, and other multi-step work. Use when the user asks to create, write, improve, pressure-test, decompose, or validate a plan before execution. Research available context first, run a mandatory adaptive grilling loop to resolve consequential ambiguity, re-research evidence exposed by the grill, repeat until readiness gates pass, then draft, review, and revise until no actionable review comments remain within the agreed scope. Produce a self-contained plan with decisions, dependencies, risks, validation, acceptance criteria, and explicit skill handoffs./create-prCreate a pull request for the current changes./execute-task-end-to-endCreate a task's issue and PR, then drive the PR to MERGE READY or, when explicitly authorized, verified MERGED./fix-ciDiagnose failing pull request checks from their owning job logs and apply scoped fixes, verify them, and refresh remote CI until checks pass or an external blocker remains. Use when the user asks to repair failing PR CI.