From forge
Pre-execution validation of a forge plan. Checks plan integrity, file existence, git state, dependency consistency, and worktree cleanliness — without starting any agents.
npx claudepluginhub ekelhaft-tools/forge-cursorThis skill uses the workspace's default tool permissions.
Run a comprehensive pre-flight check on the session plan before execution. This catches errors that would otherwise waste agent tokens and time. Can be run standalone via `forge validate` or is called automatically as Step 1 of `forge execute`.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Run a comprehensive pre-flight check on the session plan before execution. This catches errors that would otherwise waste agent tokens and time. Can be run standalone via forge validate or is called automatically as Step 1 of forge execute.
$ARGUMENTS: If the first token is a number or short identifier, use it as the session ID.ls .forge/sessions/ 2>/dev/null | sort
forge plan first."<id>"SESSION_DIR = .forge/sessions/<id>/ — all file paths in this skill are relative to this directory.
Git namespace for this session: branches forge/s<id>/*, tags forge/checkpoint/s<id>/*.
Run ALL checks and collect results. Do not stop at the first failure — report everything at once.
$SESSION_DIR/plan.md exists## Tasks section### T<n>:)sequential## Execution Batches table existsFor each task, check if the listed files exist:
Heuristic: If a file path doesn't exist AND the task description says "create" or "new", treat it as a new file (not an error). Otherwise, flag it.
git status --porcelain returns empty or only untracked files in .forge/)$SESSION_DIR/worktrees/ from previous runsgit branch --list "forge/s<id>/*")forge abort <id> to clean upgit tag -l "forge/checkpoint/s<id>/*")forge rollback <id> first)## Forge Validation Report (session <id>)
### ✅ Passed
- Plan parses correctly (N tasks, M batches)
- DAG is valid (no cycles)
- No file conflicts in parallel batches
- Git working tree is clean
### ⚠️ Warnings
- Stale forge branch found: `forge/s<id>/batch-2-1708300000` — run `forge abort <id>` to clean up
- Checkpoint tags from previous run found — consider `forge rollback <id>` if needed
### ❌ Errors
- T5 references `src/missing-file.ts` which does not exist
- T3 depends on T99 which is not defined in the plan
- Batch 2 has T4 and T6 sharing `src/shared.ts` with strategy=parallel
### Verdict: READY | NOT READY
READY only if there are zero errors (warnings are okay)forge execute, return the verdict so execution can proceed or abort