From nightgauge
Reference for Nightgauge' own surfaces — the `nightgauge forge` abstraction, the `nightgauge` Go binary subcommands, and the @nightgauge/sdk API — with the gotchas that bite when you use them. Use when authoring or editing a skill, plugin command, automation, or script that shells out to `nightgauge`/`forge` or imports the SDK, or whenever you are about to reach for a bare `gh`/`glab` call and need the forge equivalent.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nightgauge:cli-referenceThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Category-1 (library & API reference) skill for Nightgauge' own surfaces.
Category-1 (library & API reference) skill for Nightgauge' own surfaces.
Nightgauge has three first-party surfaces that skills, plugin commands, and automations call constantly:
nightgauge forge … — the forge abstraction (issue / pr / project /
label / repo / auth / graphql / webhook). This is the mandatory path for
every forge operation in a skill — direct gh/glab is forbidden and
CI-blocked.nightgauge … — the deterministic Go binary (board sync, epics,
gates, health, pipeline history, hooks, …).@nightgauge/sdk — the TypeScript orchestration
library the VSCode extension and CI use programmatically.This skill is a concise index plus a Gotchas section. Detailed command tables
and snippets live in the references/ files — read the one you need on demand.
| Tool | Command |
|---|---|
| Claude Code | /nightgauge-cli-reference |
| Codex | $nightgauge-cli-reference |
| Others | Invoke via Agent Skills |
skills/*/SKILL.md and need the forge command for an
issue/PR/project/label operation (never hand-roll gh/glab).scripts/ automation that shells out to the
Go binary and want the right subcommand + flags.PipelineOrchestrator, ContextManager,
RunStateManager, events) and need the import surface.no-direct-gh lint failure pointed you here.references/forge.md — the nightgauge forge surface: every
subcommand group, the forge graphql carve-out for project view/link/list, and
the GitLab CE/EE caveats.references/go-binary.md — the deterministic Go binary: command groups
most-used by skills (project, epic, issue, gate, ci, health,
pipeline, hook) with examples and the PATH/preflight contract.references/sdk.md — the SDK import surface and CLI entry points.These references mirror --help output. To check a command is current, run
nightgauge <group> --help (or nightgauge forge <group> --help) and
reconcile. For the SDK, the source of truth is
packages/nightgauge-sdk/src/index.ts. Treat any drift as a bug to fix
here.
gh/glab directly from a skill. Use nightgauge forge …
— the no-direct-gh lint fails CI on regression, and the abstraction is what
lets IB_FORGE=gitlab work unchanged. (A short allowlist of legacy skills
exists in scripts/lint-skills/allowlist.txt; do not add to it without review.)nightgauge forge graphql, not a dedicated subcommand (ADR-008). The
GitLab adapter returns ErrUnsupported for forge graphql.nightgauge forge project item-remove is not implemented yet — don't
depend on it.references/go-binary.md.PATH. Resolve it via the Phase-0 PREFLIGHT
cascade before bare nightgauge … calls.Part of the Nightgauge Issue-to-PR pipeline.
npx claudepluginhub nightgauge/nightgauge --plugin nightgaugeGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.