Creates a new pnpm + Turborepo + TypeScript 7 + Effect v4 monorepo with the full house setup — klarity presets (oxlint with Effect and landmines rules, oxfmt, commitlint, lefthook), tsgo patched with the Effect language service, pinned catalog with a one-day release age, a thorough .gitignore, AGENTS.md, CONTRIBUTING, SECURITY, LICENSE, hardened GitHub workflows, and (for npm packages) changesets with verified, provenance-signed releases. Use when the user wants to start, create, scaffold, bootstrap or set up a new project, repo, workspace, monorepo or library. Not for adding a package to an existing workspace (use package-development).
Ships in envoy-skills. 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.
Creates a new repository from the templates in assets/, renders them with scripts/scaffold.mjs,
then installs, refreshes versions, writes the first code, verifies everything and makes the first
commit. The stack is fixed; this skill never asks the user to choose tools.
Every workspace:
apps/*, packages/*, tools/*), Turborepo, TypeScript 7
(tsgo) patched by effect-tsgo on install, klarity presets for tsconfig, oxlint (plus the
@effect/tsgo presets: correctness, antipattern, effectNative, style, maintainers, and
landmines' recommended rules: no prose comments,
no test doubles, sleeps or flake masking, colocated tests, no annotated return types), oxfmt,
commitlint and lefthook (format + lint on commit, commitlint on commit-msg, lint + typecheck +
tests on push), Vitest through @effect/vitest. Tool configs live in .config/.minimumReleaseAge
of one day with effect, @effect/*, oxlint and oxfmt (and their binaries) excluded..gitignore (Node, Next.js, TanStack/Nitro/Vite, Astro, Expo, Rust, Python, Go,
Foundry, Terraform, databases, secrets, agents, editors, OSes), .node-version, .npmrc,
.vscode/ (Oxc, Vitest, tsgo), AGENTS.md, CONTRIBUTING.md, SECURITY.md, README.md,
LICENSE.setup action (Node from .node-version, pnpm from packageManager,
frozen install), CODEOWNERS, bug and feature issue forms, PR template, Dependabot (actions and
npm, grouped, with cooldowns), zizmor config, ci.yml (pnpm check + a zizmor audit) and
pr-title.yml (Conventional Commits).Only when the repository publishes packages to npm (publish: true):
.changeset/, changeset-status.yml, release.yml (dispatch-only: opens the version PR, then
packs, verifies and publishes the exact tarballs with npm trusted publishing and provenance) and
release-smoke.yml (compares npm with the verified tarballs and checks provenance).tools/cli: <name>-dev release check|smoke, an Effect CLI the release workflows run.packages/<name> per library: tsdown build (klarity preset, devExports: "workspace-source"), full npm metadata, effect as a ranged peer dependency, publint + attw.See references/layout.md for every file and why it exists.
assets/template/.--no-verify) to make the first commit pass; fix the cause.Name (url).__TOKEN__, no <!-- … --> usage stubs, no TODO in the result.Infer what you can first, then ask everything that is left in one round (use the AskUserQuestion tool when available, with your inferred values as the recommended options):
| Answer | Infer from | Ask? |
|---|---|---|
| Project name (kebab-case) | The user's request | Only if missing |
| One-sentence description | The user's request | Only if missing; it goes into README and package.json |
| Target directory | Default ./<name> from the current directory | Confirm |
GitHub repository <owner>/<repo> | gh api user --jq .login + the name | Confirm |
| Code owners | @<gh login> | Only if a team owns it |
| Publishes npm packages? | The request ("library", "sdk", "package" → yes; "app", "service", "site" → no) | Confirm |
| npm scope | @<name> | When publishing: confirm, and check it is free (below) |
| Packages | The request | When publishing: each package's name, one-line description, platform (neutral, node, browser, react) and 3–10 keywords |
| License | Never infer | Always ask: MIT, Apache-2.0, ISC, BSD-3-Clause, or UNLICENSED (proprietary) |
| Copyright holder | git config user.name | Confirm (a company name is common) |
| Author | git config user.name + https://github.com/<login> | Confirm |
Check npm names before committing to them: npm view <scope>/<package> name returning E404 means
the name is free; for a new scope, the user must own the npm user or organisation of that name.
Platform: neutral for runtime-agnostic libraries (the default), node when the package uses Node
APIs, browser for DOM code, react for React component packages. A react package gets klarity's
React tsconfig, tsdown (React externalized) and oxlint presets (hooks, jsx-a11y, react-perf),
src/index.tsx, react as a ranged peer dependency, and jsdom + Testing Library tests. Its React
versions are pinned in the package, or moved to the catalog when several packages use React.
Apps (Next.js, TanStack Start, …) are not rendered by the script. Scaffold the workspace first, then add each app as described in references/apps.md.
$TMPDIR), in
the format of references/config.md.node <skill>/scripts/scaffold.mjs --config <answers.json> --dry-run lists the files.node <skill>/scripts/scaffold.mjs --config <answers.json>.The script validates every answer before writing, copies the layers (base, plus publish and one
library copy per package), merges the release scripts into the root package.json, writes the
LICENSE with the year and holder, fills every placeholder, expands the package lists (README table,
issue-form dropdown, Vitest projects, workspace maps) and drops publish-only sections when not
publishing. It fails on any placeholder left behind.
Use the versions pinned in the templates as they are. Do not upgrade anything (no pnpm up --latest, no Node or pnpm bumps) unless the user explicitly asks for latest versions; then follow
references/versions.md.
cd <dir> && git init -b main (lefthook installs hooks during pnpm install, which needs git).pnpm install. It runs prepare: lefthook installs the hooks and effect-tsgo patches
TypeScript and oxlint. Both must report success.Every library needs a real first module, or publint, attw and the release check have nothing to
check. Load the effect-conventions skill, then for each package:
src/<Module>.ts with the package's first public API (from what the user described; ask if
you have nothing to go on rather than inventing a domain) and src/index.ts re-exporting it as
export * as Module from "./Module.ts";. The module's TSDoc (@stability, @since 0.1.0) goes
on that re-export; the module file starts with its imports, and has no prose comments (landmines).test/<Module>.test.ts covering its contract and a failure case..changeset/initial-release.md, bumping every package minor
(0.0.0 → 0.1.0) with the line "Initial release.".Run each and fix what fails; do not move on with a failing check:
pnpm format (the rendered files are not formatted yet), then pnpm check.pnpm pack:check, then a local release check:
pnpm build && pnpm exec changeset pack --out-dir "$TMPDIR/<name>-pack" && pnpm release:check --pack-dir "$TMPDIR/<name>-pack".
It must end with release-check: ok. Delete the pack directory afterwards; changeset pack
does not change the repository.uvx is available: uvx zizmor --offline --config .github/zizmor.yml .github/workflows
and uvx --from actionlint-py actionlint. Report them as skipped otherwise.grep -rn "__[A-Z_]*__\|TODO" --exclude-dir=node_modules . returns nothing.Stage everything and commit chore: scaffold workspace (the hooks format, lint and check the
message). Do not push.
Tell the user, briefly: where the workspace is, what was generated (publishing or not, the packages with their platforms), the license, the checks that ran and their results, anything skipped, and the next steps that need them:
gh repo create <owner>/<repo> --source . --push, public or private) —
offer to run it.main
requiring the CI checks and PR title; squash merging with the PR title as the commit message.release.yml). If npm does not allow configuring a
trusted publisher before a package exists, the first version must be published once by hand.ERR_PNPM_…MINIMUM_RELEASE_AGE or "no matching version": a pinned release is younger than a
day (only after a version update). Wait, or pin the previous version; add an exclusion only for
packages the policy already exempts.effect-tsgo patch fails during prepare: @effect/tsgo and typescript are out of step.
Tell the user; with their go-ahead, update both together (references/versions.md) and reinstall.failOnWarn. The templates suppress the two
known TypeScript 7.0 generator warnings; once TypeScript 7.1 is stable, remove those suppressions
instead of adding new ones. Any other warning is a real problem to fix.projects list must not be empty; the template omits it
when there are no packages.yield* in call arguments, missing brands; landmines flags prose comments, test
doubles, sleeps and annotated return types); do not disable rules wholesale.assets/licenses/Apache-2.0.txt (opens in a new tab)assets/licenses/BSD-3-Clause.txt (opens in a new tab)assets/licenses/ISC.txt (opens in a new tab)assets/licenses/MIT.txt (opens in a new tab)assets/licenses/UNLICENSED.txt (opens in a new tab)assets/template/base/AGENTS.md (opens in a new tab)assets/template/base/CONTRIBUTING.md (opens in a new tab)assets/template/base/README.md (opens in a new tab)assets/template/base/SECURITY.md (opens in a new tab)assets/template/base/dot_config/commitlint.config.ts (opens in a new tab)assets/template/base/dot_config/oxfmt.config.ts (opens in a new tab)assets/template/base/dot_config/oxfmtignore (opens in a new tab)assets/template/base/dot_config/oxlint.config.ts (opens in a new tab)assets/template/base/dot_config/turbo.json (opens in a new tab)assets/template/base/dot_config/vitest.config.ts (opens in a new tab)assets/template/base/dot_github/CODEOWNERS (opens in a new tab)assets/template/base/dot_github/ISSUE_TEMPLATE/bug.yml (opens in a new tab)assets/template/base/dot_github/ISSUE_TEMPLATE/config.yml (opens in a new tab)assets/template/base/dot_github/ISSUE_TEMPLATE/feature.yml (opens in a new tab)assets/template/base/dot_github/PULL_REQUEST_TEMPLATE.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/envoy-skills:scaffold-workspacefrom envoy-skills
npx claudepluginhub envoy1084/skills --plugin envoy-skills5 skills in this plugin
/changesetsRelease notes with Changesets. Use when a change affects a published package, when choosing a version bump, or when preparing or reviewing a release./dependenciesDependency policy for this pnpm workspace. Use when adding, upgrading, removing or pinning a dependency, editing the pnpm catalog, or reviewing a Dependabot PR./effect-conventionsThe single guide for writing Effect v4 TypeScript that reads like the Effect source itself — using Effect APIs from the installed docs instead of memory, module and file layout, data types, dual APIs, naming, type-level design, services, layers, errors, TSDoc with runnable examples, runtime and type tests, package manifests and tooling — checked against a pinned clone of Effect-TS/effect. Use whenever writing, reviewing or documenting any Effect v4 code (library packages, apps, tools, tests), designing a public API, or setting up a package./package-developmentAdding or changing a workspace package. Use when creating a package or app, making a private package publishable, renaming a package, or changing its entry points.