Skip to main content
Forge Docs

Slash Commands

All 24 slash commands provided by the forge-plugin, available inside Claude Code after installing the plugin.

stage: alpha

The Forge plugin and orchestrator are in alpha. On 2026-10-15 (UTC) a separate NXTG.ai team (product-oracle) ran the pre-registered core-job test on a clean install of the plugin (v3.14.0) and the orchestrator (forge 1.7.0). The test passed; each repeated check passed 3 of 3 (run 7). The evidence is attached to the forge-plugin v3.14.0 release. No SLA; interfaces may change without notice. The plugin is open source (MIT) and the orchestrator is source-available (FSL-1.1).

All 24 slash commands provided by the forge-plugin. These are available inside Claude Code after installing the plugin.

Governance

CommandDescription
/nxtg-forge:statusDisplay complete project state — health score, git status, test results, security scan. Zero-context-friendly (safe to run at any point).
/nxtg-forge:status-enhancedEnhanced status with detailed dashboard and metrics. Includes dependency analysis, code quality trends, and workstream breakdown.
/nxtg-forge:gap-analysisAnalyze project gaps across 5 dimensions: testing, docs, security, architecture, and performance. Returns prioritized remediation plan.
/nxtg-forge:complianceScan tech stack, check license compatibility, and generate SBOM (Software Bill of Materials). Covers OWASP, dependency licenses, and regulatory requirements.
/nxtg-forge:command-centerActivate the orchestrator command center — connects to forge-orchestrator MCP tools for task management, knowledge queries, and drift detection. Requires L2.

Feature Development

CommandDescription
/nxtg-forge:feature "description"Add a new feature with full agent orchestration. Spawns planner → builder → tester → security reviewer. Pass a description of what you want to build.
/nxtg-forge:spec "description"Generate a technical specification for a feature. Produces architecture, data flow, API contracts, and test strategy.
/nxtg-forge:agent-assignAssign tasks to specialized agents. Routes work to the right agent based on task type (security, testing, performance, etc.).
/nxtg-forge:integrateSet up third-party service integrations. Guides through API key setup, SDK installation, and connection validation.

Quality & Testing

CommandDescription
/nxtg-forge:testExecute project tests with detailed analysis. Auto-detects test runner (vitest, jest, pytest, cargo test). Reports failures, coverage, and trends.
/nxtg-forge:deployDeploy with pre-flight validation and safety checks. Runs quality gates, confirms branch state, and validates environment before deployment.
/nxtg-forge:optimizeAnalyze and optimize codebase for performance and maintainability. Covers bundle size, dependency weight, hot paths, and code complexity.
/nxtg-forge:taskBegin, inspect, relax or end an enforced Forge task: a test-file write guard plus a Stop gate on the project's own test command. Subcommands: begin, status, tests, implement, abort.

State Management

CommandDescription
/nxtg-forge:checkpointSave a restorable project state checkpoint. Captures governance state, git status, and test results. Use before risky changes.
/nxtg-forge:restoreRestore project state from a previously saved checkpoint. Rolls back governance state (does not roll back git changes).
/nxtg-forge:reportDisplay comprehensive session activity report. Shows what was accomplished, what changed, and what's pending.

Documentation

CommandDescription
/nxtg-forge:docs-statusShow documentation health and coverage. Reports which areas have docs, which are missing, and staleness indicators.
/nxtg-forge:docs-updateUpdate stale documentation based on code changes. Identifies docs that reference outdated code and suggests updates.
/nxtg-forge:docs-auditComprehensive documentation quality audit. Checks completeness, accuracy, and consistency across all doc files.

Setup & Maintenance

CommandDescription
/nxtg-forge:initInitialize Forge in a project — 60-second setup wizard. Creates governance hooks, detects project stack, and configures quality baselines.
/nxtg-forge:dashboardOpen the Forge governance dashboard in your browser. Requires forge-ui (L3) to be running on port 5050.
/nxtg-forge:updateUpdate Forge to the latest version.

CEO Decision Loop

CommandDescription
/nxtg-forge:ceo-loop [max-iterations] [time-limit]Activate the CEO Decision Loop in ORBIT mode. Continuous multi-iteration governance cycle: OBSERVE pending decisions → REASON with precedent → BUILD decisions → INSPECT retrograde → TURN for next iteration.
/nxtg-forge:ceo-loop-cancelCancel the active CEO Decision Loop gracefully. Sets the loop to inactive, writes a final summary, and preserves all decisions in the journal.

Usage Tips

  • Start with /nxtg-forge:status — it's the fastest way to understand any project's state
  • Use /nxtg-forge:gap-analysis after major changes — catches regressions across all 5 dimensions
  • Save checkpoints before risky changes — /nxtg-forge:checkpoint then /nxtg-forge:restore if things go wrong
  • Commands work without L2 — all slash commands function with just the plugin installed. L2 (orchestrator) adds task management and knowledge features but is not required.
NXTG-Forge|NXTG.ai|GitHub
Plugin: MIT · Orchestrator and dashboard: FSL-1.1-ALv2