Skip to content
Skill

Stack init

Bootstraps a project's toolchain, configs, justfile, git hooks and CI in one run

Stack init is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Stack init

Stack-init sets up the tooling a project needs for its declared maturity level. It works in two modes: a fresh setup for an empty project, and an adopt mode for existing codebases that finds gaps and fills them while keeping working configuration intact. Before writing anything it builds a plan of create, update and skip actions and asks for confirmation, with flags for a read-only preview and for skipping per-item prompts on re-runs.

The skill writes stack config files, adds justfile recipes, vendors a doc-staleness script into the project's .ffflow folder, and installs git pre-commit and pre-push hooks and a CI workflow through companion skills. For TypeScript stacks it approves known pnpm build scripts in pnpm-workspace.yaml, and it adds a network-failure hint when dependency installs fail behind a proxy. It seeds short CLAUDE.md files only in directories it creates, and finishes by running the project's check-all recipe.

It expects a .ffflow/config.yaml produced by an init-ffflow step, and it is built around the FFFlow plugin's cartridge system, which supplies the stack-specific templates. Python and TypeScript are the stacks with the most detail in the instructions.

When your agent uses it

Bootstrap a stack into a project — install deps, write configs, justfile, git hooks, CI. Level-aware, idempotent, non-destructive on existing projects.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (16 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the fff plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflow

Or copy only this skill to ~/.claude/skills/stack-init:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/stack-init &&
cp -R "$tmp/plugin/skills/stack-init" ~/.claude/skills/stack-init &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/stack-init inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/stack-init to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/stack-init &&
cp -R "$tmp/plugin/skills/stack-init" ~/.agents/skills/stack-init &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/stack-init inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/stack-init to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/stack-init &&
cp -R "$tmp/plugin/skills/stack-init" ~/.cursor/skills/stack-init &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/stack-init inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zerotechdebt/ffflow.git --path plugin/skills/stack-init

Or copy the folder to ~/.gemini/skills/stack-init yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/stack-init:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/stack-init &&
cp -R "$tmp/plugin/skills/stack-init" ~/.copilot/skills/stack-init &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/stack-init inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zerotechdebt/ffflow.git

Then copy ffflow/plugin/skills/stack-init into your agent's skills folder as stack-init. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Stack config bootstrap
Writes stack configuration files such as pyproject.toml or tsconfig.json, adjusted to the declared level.
Justfile recipe merging
Adds level-appropriate recipes and audit checks to a justfile without overwriting customized recipes.
Git hooks and CI setup
Installs pre-commit and pre-push hooks and a CI workflow only where none exist yet.
Non-destructive adoption
In existing projects it asks before changing divergent configs and reports what it skipped.
Dry-run and confirm flow
Shows a plan of proposed changes, with a read-only check mode and a skip-confirmation option.
pnpm build-script approval
For TypeScript projects, pre-approves known toolchain build scripts so pnpm installs succeed.

Good for

  • Set up linting, tests and CI for a new Python project
  • Add missing justfile recipes to an existing repository
  • Preview what a toolchain setup would change before applying it
  • Install pre-commit and pre-push git hooks in a project
  • Upgrade a project's setup after raising its maturity level

Stack init FAQ

What must exist before running stack-init?

A .ffflow/config.yaml file. If it is missing, the skill stops and asks you to run init-ffflow first.

Will Stack init overwrite my existing configs or justfile?

No. It detects existing configs and recipes, asks before changing divergent settings, and merges new recipes in without replacing custom ones.

Can I see the changes without writing files?

Yes. The --check flag computes the plan and prints it without writing anything.

Does Stack init need Node.js?

For TypeScript stacks, pnpm is used. At the highest level, the skill requires npx on the PATH to run the specdrive CLI, even in non-JavaScript projects.

How do I install Stack init in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/stack-init to use it in all your projects, or to .claude/skills/stack-init in one project. Or install the fff plugin, which includes it: /plugin marketplace add zerotechdebt/ffflow, then /plugin install fff@ffflow.

Does Stack init run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Stack init?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Stack init?

The closest alternatives to Stack init are Init ffflow, Stack assess, Stack, Adopt ffflow and Justfile.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zerotechdebt/ffflow

  1. Onboards a project onto FFFlow: config, stack setup, then a phased roadmap

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Runs keep-honest audits on a project and reports drift, stale docs and tech debt

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Runs another interactive skill unattended, making routine choices from project context

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Lists and validates the adapter cartridges that FFFlow ports load in a project

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Extracts a behavioral spec from an unspecified codebase and plans characterization tests

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Adds GitHub Actions workflows that run FFFlow quality gates on pull requests

    • Open source
    • 6 GitHub stars
    • Developer tools