Skip to content
Skill

Init

Sets up the Forgeline factory in a repo: stack detection, checks, and domain harness

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

Scripts
None
Platforms
Claude Code
GitHub stars
8
Last commit
License
MIT
Listing updated

Similar skills

About Init

This skill walks an agent through initializing Forgeline inside the current application repository. It confirms the repo root, avoids overwriting an existing configuration without asking, and runs the forgeline init command with any arguments the user passes for tracker or rule-pack choices.

After initialization, the agent interviews the user briefly to replace the template in the domain document with the product's real purpose, users, invariants, high-risk areas, glossary and test data references. It proposes codebase-based answers first, then suggests domain packs such as money, auth, api or web-app and adds the ones the user accepts.

The skill also reviews the generated checks script so it matches the commands actually present in the repo, runs it once, and sets tracker and version control options in the config while keeping automatic merging off until the user has observed a few tickets. It finishes with a doctor run and a suggested first ticket. Credentials are expected to live in environment variables, and the agent is told not to store secrets in files.

When your agent uses it

Set up Forgeline in the current app repo - detect the stack, generate the deterministic gate, scaffold the domain harness (.factory/) and install rule packs, then help the user describe their business. Use when the user wants to start using the factory in a repo.

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 (2 KB) on GitHub on 2 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 forgeline plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Nabwinsaud/forgeline
/plugin install forgeline@forgeline

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

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

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

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

For one project only, put the folder in .cursor/skills/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/Nabwinsaud/forgeline.git --path skills/init

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

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git

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

The SKILL.md format

What it does

Stack detection
Inspects the repository to propose answers and identify the commands and tooling in use.
Domain harness setup
Generates the .factory directory and fills its domain document with the product's real context.
Rule pack selection
Suggests and installs domain packs such as money, auth, api and web-app based on the codebase.
Verification script tuning
Adjusts the checks script so it reflects how the repository is actually verified.
Tracker and VCS configuration
Sets the issue tracker and git host options, with credentials kept in environment variables.
Conservative merge policy
Keeps automatic merging disabled initially and explains when to enable low-risk merges.

Good for

  • Set up Forgeline in my repo and detect my stack
  • Describe my product's business rules for the factory harness
  • Make the checks script match the commands my project really uses
  • Add a money or auth rule pack to my Forgeline setup
  • Configure my issue tracker and git host for Forgeline tickets

Init FAQ

What does the skill need before Init runs?

It needs to run inside a git repository and the forgeline command-line tool, which it calls with the arguments provided.

Will Init overwrite my existing Forgeline configuration?

If .factory/config.json already exists, the skill asks before using the --force option, since that overwrites edits.

Are secrets stored in the configuration?

No. Credentials are to be placed in environment variables only, and the interview asks for variable names rather than secret values.

Can the agent trigger Init automatically?

No. Model invocation is disabled, so it runs when the user invokes it.

How do I install Init in Claude Code?

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

Does 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 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 Init?

The closest alternatives to Init are Doctor, Run, Learn, Setup matt pocock skills and Do.

Where this comes from

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

More from Nabwinsaud/forgeline

  1. Gives agents conventions for designing HTTP/JSON endpoints, errors and pagination

    • Open source
    • 8 GitHub stars
    • Developer tools
  2. Records a human approve, reject or retry decision on a paused Forgeline job

    • Open source
    • 8 GitHub stars
    • Developer tools
  3. Gives a read-only reviewer agent a prioritized procedure for checking factory PRs

    • Open source
    • 8 GitHub stars
    • Developer tools
  4. Guides agents through safe Postgres schema changes, backfills and sqlc regeneration

    • Open source
    • 8 GitHub stars
    • Databases
  5. Turns one sentence into a Forgeline job that runs through to a reviewed PR

    • Open source
    • 8 GitHub stars
    • Developer tools
  6. Checks whether your machine and repo are ready to run the Forgeline factory

    • Open source
    • 8 GitHub stars
    • Developer tools