Skip to content
Development
Command

/forge-setup

One-time project setup for forge: creates docs/ vault, .semgrep/ rules, CLAUDE.md sections

From plugin
beast-forge
252 skills21 agents2 commands3 hooks
$ npx -y skills add malakhov-dmitrii/forge --agent claude-code

Command definition

forge-setup.md
name: forge-setup
description: "One-time project setup for forge: creates docs/ vault, .semgrep/ rules, CLAUDE.md sections"

Forge Setup

One-time setup to get the most from forge. Run this once per project.

Steps

1. Check tools

which semgrep → installed? If not: "Install with: brew install semgrep"
which scc → installed? If not: "Install with: brew install scc"  
which codex → installed? If not: "Optional. Fresh opus agent used as fallback for second opinion."

2. Create docs/ vault

If `docs/` doesn't exist, create it. If it exists, add subdirectories alongside existing content (DON'T overwrite).

Create:

  • `docs/INDEX.md` — root navigation with "What Goes Where" table
  • `docs/architecture/INDEX.md` — empty, with column headers (Doc | Summary | Updated | Related Code)
  • `docs/decisions/INDEX.md` — empty, with column headers
  • `docs/specs/INDEX.md` — empty
  • `docs/retros/INDEX.md` — empty
  • `docs/runbooks/INDEX.md` — empty

3. Create .semgrep/ (if semgrep installed)

Copy starter rules from `${CLAUDE_PLUGIN_ROOT}/templates/semgrep-starter.yml` to `.semgrep/rules.yml`.

Scan project to auto-detect relevant rulesets:

  • TypeScript/JavaScript → uncomment relevant starter rules
  • Python → add `p/python` note
  • Go → add `p/golang` note

4. Update CLAUDE.md

If project has a CLAUDE.md, append (if not already present):

## Common Failures (update every ~10 tasks)
- [Add patterns here as you discover them during verification]

## Project Docs
Architecture, ADRs, specs, runbooks → docs/INDEX.md. Read before planning.

If no CLAUDE.md exists, create a minimal one with project name + these sections.

5. Report

Show what was created and what's ready:

Forge setup complete:
  ✓ docs/ vault (6 INDEX.md files)
  ✓ .semgrep/ rules (N starter rules)
  ✓ CLAUDE.md updated (Common Failures + Project Docs)
  ✓ semgrep: installed
  ✓ scc: installed
  ○ codex: not installed (optional, opus fallback active)

Run /forge "your task" to start.
Read more
@malakhov-dmitrii
Ships withbeast-forge

Ore in, steel out. A blacksmith doesn't blame the ore. It smelts, shapes, tempers, and quenches — until what comes out holds an edge.

253 skills21 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
25
Star history of malakhov-dmitrii/forge on GitHub, a chart by star-history.com

Other commands on beast-forge.

forge

forge

Command

Ore in, steel out. Full pipeline: plan → execute → verify. Use: /forge 'task', /forge --full, --discuss, --plan-only, --execute,…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command