一键导入
nebu-setup
Sets up Nebu Dev module in a project. Use when the user requests to 'install nebu module', 'configure Nebu Dev', or 'setup nebu pipeline'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sets up Nebu Dev module in a project. Use when the user requests to 'install nebu module', 'configure Nebu Dev', or 'setup nebu pipeline'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Matrix Client-Server API spec expert with Nebu project memory. Use when asking about Matrix events, endpoints, or spec rules; requesting compliance review of a Matrix feature; or when the nebu-pipeline needs spec guidance during a dev or review step.
Runs a full epic by iterating through stories, each in a fully isolated story pipeline sub-agent. Use when you want to implement all pending stories of an epic without manual step-by-step control.
Orchestrates the full Nebu dev lifecycle with TDD-first order, dev↔review cycles, conditional security and UX gates, and full resume capability via pipeline-state.yaml. Use --resume, --from <step>, or --bug.
CI engineer for the Nebu project. Runs the full test suite against a fresh stack, manages GitLab CI config, and reports actionable bug lists. Called by nebu-pipeline at the CI gate; also usable directly for ad-hoc runs and CI config work.
Delta-Update for arc42 docs — reads docs/.arc42-manifest.json to determine which planning artifacts changed since the last generation, then regenerates only the affected arc42 sections and updates the manifest per-section. Use when you want a fast, targeted refresh instead of a full /bmad-generate-arc42 run.
Orchestriert den kompletten BMAD-Entwicklungszyklus als automatische Pipeline: bmad-create-story → bmad-testarch-atdd → bmad-dev-story → CI-Pipeline-Gate (build, unit-go, unit-elixir, playwright-e2e, integration) → bmad-testarch-test-review → bmad-code-review → bmad-security-review (Kassandra, conditional) → bmad-maintain-arc42, jeweils in frischem Kontext. CI-Gate blockiert den Review bei Fehlern. E2E-Tests müssen bei jeder UI-Story wachsen. Arc42 wird nach jeder Story delta-aktualisiert. Der Code-Review-Skill fixt Minor Issues selbst ("fixe minor issues instantly"). Pausiert nur bei Major/Critical Issues (User-Entscheidung), am Epic-Ende zwingend mit Kassandra-Security-Review und danach für die Retrospektive (liest sprint-status.yaml). Trigger: "bmad pipeline", "bmad run", "bmad start", "story pipeline", "neues feature", "story durchlaufen", "pipeline starten", immer wenn der User den kompletten BMAD-Flow starten will ohne jeden Schritt einzeln aufzurufen.
| name | nebu-setup |
| description | Sets up Nebu Dev module in a project. Use when the user requests to 'install nebu module', 'configure Nebu Dev', or 'setup nebu pipeline'. |
Installs and configures the Nebu Dev module into a project. Module identity comes from assets/module.yaml. Writes shared config and registers capabilities, then performs Nebu-specific initialization: agent sanctum scaffolding, pipeline state stub, and dependency verification.
{project-root}/_bmad/config.yaml — shared project config: core settings at root plus a nebu section with module metadata. User-only keys are never written here.{project-root}/_bmad/config.user.yaml — personal settings: user_name, communication_language. Gitignored.{project-root}/_bmad/module-help.csv — registers all nebu capabilities for the help system.{project-root}/_bmad/nebu/ — operational directory for the nebu module (pipeline state, runtime files).Both config scripts use an anti-zombie pattern — existing nebu entries are removed before writing fresh ones.
{project-root} is a literal token in config values — never substitute it with an actual path.
assets/module.yaml for module metadata.{project-root}/_bmad/config.yaml exists and has a nebu section — if present, this is an update.{project-root}/_bmad/nebu/config.yaml or {project-root}/_bmad/core/config.yaml — if found, treat as fresh install and consolidate.If the user provides arguments (accept all defaults, --headless, or inline values), use them and skip interactive prompting. Still display the confirmation summary.
No nebu-specific config variables beyond core BMad settings. Ask the user only for core values if they don't exist yet.
Show defaults in brackets. Present all values so the user can respond once:
Core config (only if no core keys exist yet): user_name, communication_language and document_output_language (ask as a single language question), output_folder (default: {project-root}/_bmad-output).
user_name and communication_language go exclusively to config.user.yaml. The rest go to config.yaml.
Write a temp JSON file: {"core": {...}} (omit core if it already exists). Then run both scripts in parallel:
python3 ./scripts/merge_config.py --config-path "{project-root}/_bmad/config.yaml" --user-config-path "{project-root}/_bmad/config.user.yaml" --module-yaml assets/module.yaml --answers {temp-file} --legacy-dir "{project-root}/_bmad"
python3 ./scripts/merge_help_csv.py --target "{project-root}/_bmad/module-help.csv" --source assets/module-help.csv --legacy-dir "{project-root}/_bmad" --module-code nebu
If either exits non-zero, surface the error and stop.
After writing config, create any path-type values from config that don't yet exist. Use mkdir -p. Resolve {project-root} to the actual project root for filesystem operations only — stored config values keep the literal token.
python3 ./scripts/cleanup_legacy.py --bmad-dir "{project-root}/_bmad" --module-code nebu --also-remove _config --skills-dir "{project-root}/.claude/skills"
If the script exits non-zero, surface the error and stop.
Run these steps after the standard config/cleanup steps above.
Run these checks. Warn on failure (do not block) except bmad-tea (required — error if missing).
rtk (token optimizer):
rtk --version 2>/dev/null || echo "missing"
If missing: ⚠ rtk not found. Install from https://github.com/anthropics/rtk for token savings. Pipeline will still work without it.
docker (CI execution):
docker info --format '{{.ServerVersion}}' 2>/dev/null || echo "missing"
If missing: ⚠ Docker not found. nebu-agent-testing requires Docker to run the CI gate. Install Docker Desktop to enable local CI runs.
context7 MCP (framework docs):
Check the project .mcp.json for a context7 entry:
grep "context7" .mcp.json 2>/dev/null | head -1 || echo "not configured"
If not configured: ⚠ context7 MCP not configured. nebu-agent-oracle uses context7 for live Matrix spec lookups. Configure it in your Claude MCP settings.
playwright MCP (browser testing):
grep "playwright" .mcp.json 2>/dev/null | head -1 || echo "not configured"
If not configured: ⚠ playwright MCP not configured. nebu-agent-ux and nebu-agent-testing use it for browser-level E2E validation. Configure at: https://github.com/microsoft/playwright-mcp
bmad-tea module (required):
ls .claude/skills/bmad-testarch-atdd/SKILL.md \
.claude/skills/bmad-testarch-test-review/SKILL.md \
.claude/skills/bmad-tea/SKILL.md 2>/dev/null | wc -l
If count < 3: 🔴 bmad-tea module not found. nebu-pipeline requires bmad-testarch-atdd, bmad-testarch-test-review, and bmad-tea. Install the bmad-tea module first, then re-run /nebu-setup. Stop.
mkdir -p {project-root}/_bmad/nebu
Write {project-root}/_bmad/nebu/pipeline-state.yaml if it does not yet exist:
# Nebu Pipeline State — written by nebu-pipeline, read by all nebu agents.
# Do not edit manually during an active pipeline run.
# last_updated: null
# --- pipeline log (newest first) ---
story: null
current_step: null
completed: []
cycle_count: 0
blocked_reason: null
last_updated: null
Show: ✓ Pipeline state file initialized.
Run init_sanctum.py for each memory agent. The scripts are idempotent — if a sanctum already exists, they exit with status: already-exists.
Resolve {project-root} to the actual project root path. Run sequentially (each agent may ask a First Breath question):
uv run skills/nebu-agent-oracle/scripts/init_sanctum.py {project-root} skills/nebu-agent-oracle/
uv run skills/nebu-agent-kassandra/scripts/init_sanctum.py {project-root} skills/nebu-agent-kassandra/
uv run skills/nebu-agent-testing/scripts/init_sanctum.py {project-root} skills/nebu-agent-testing/
uv run skills/nebu-agent-ux/scripts/init_sanctum.py {project-root} skills/nebu-agent-ux/
For each script, parse the JSON output:
status: ok → show ✓ [agent-name] sanctum created.status: already-exists → show ✓ [agent-name] sanctum already exists — skipped.Show a summary:
Nebu Dev module installed.
Dependencies:
rtk: ✓ / ⚠ not found
docker: ✓ / ⚠ not found
context7: ✓ / ⚠ not configured
playwright: ✓ / ⚠ not configured
bmad-tea: ✓ (required)
Agent sanctums:
nebu-agent-oracle: ✓ created / ✓ already exists
nebu-agent-kassandra: ✓ created / ✓ already exists
nebu-agent-testing: ✓ created / ✓ already exists
nebu-agent-ux: ✓ created / ✓ already exists
Pipeline state: {project-root}/_bmad/nebu/pipeline-state.yaml
Next steps:
• Invoke each agent once to complete First Breath (run /nebu-agent-oracle, etc.)
• Run /nebu-pipeline to start your first story
Then display the module_greeting from assets/module.yaml.
Use the merge script JSON output to report what was written: config values set, user settings in config.user.yaml, help entries added, fresh install vs update. If legacy files were deleted, mention the migration.
Once user_name and communication_language are known (from input, arguments, or existing config), use them for the rest of the session.