devstack
/devstack
Zarządza środowiskiem deweloperskim dla każdego worktree w projekcie Mazarbul: uruchamianie, zatrzymywanie i sprzątanie usług.
- Autor
- mo-cmyk ↗
- Repozytorium
- mazarbul ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 31.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 31.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Zarządza środowiskiem deweloperskim dla każdego worktree w projekcie Mazarbul: uruchamianie, zatrzymywanie i sprzątanie usług.
Wyzwalacze z opisu
Oryginalny opis (EN)
Per-worktree dev environment lifecycle for Mazarbul. USE WHEN user says "start the stack", "spin up devstack", "bring it up", "start the dev environment", "is the stack running", "shut it down", "tear it down", "what's running", "create a new worktree for X", "clean up old worktrees", or anything about bringing up/down local services for a worktree.
Jak działa
- Hard rules
- Commands
- Worktree lifecycle
- Common gotchas
- What this skill is NOT
Podgląd SKILL.md
--- name: devstack description: Per-worktree dev environment lifecycle for Mazarbul. USE WHEN user says "start the stack", "spin up devstack", "bring it up", "start the dev environment", "is the stack running", "shut it down", "tear it down", "what's running", "create a new worktree for X", "clean up old worktrees", or anything about bringing up/down local services for a worktree. --- # devstack, local dev-environment lifecycle `./scripts/devstack` is the canonical tool for spinning up, observing, and tearing down per-worktree dev environments. Each worktree gets its own data dir (`$MAZ_DATA_DIR`) and its own running daemon (with a unique port window). Full reference: [`agent-docs/devstack.md`](../../../agent-docs/devstack.md). ## Hard rules 1. **Always run `./scripts/devstack up`**, never start `maz` daemons by hand from random directories; devstack wires the data dir and port correctly per worktree. 2. **After `devstack up`, verify health before declaring done.** ```bash ./scripts/devstack status ``` Expected: daemon running, data dir initialized, MCP server bound. Anything else means a service crashed during startup, check logs. 3. **After `devstack down`, verify no leftover listeners** on the worktree's ports. ```bash lsof -iTCP -sTCP:LISTEN | grep maz ``` ## Commands ``` ./scripts/devstack init # bootstrap this worktree (create data dir, seed minimal fixtures) ./scripts/devstack up # start the daemon and any long-running services ./scripts/devstack down # stop them ./scripts/devstack status # services + data-dir + counts ./scripts/devstack reset # blow away the data dir and re-init (destructive) ./scripts/devstack logs # tail the daemon log ./scripts/devstack ports # KEY=VAL port mapping for this worktree ./scripts/devstack doctor # health check ``` ## Worktree lifecycle ```bash # Spawn git worktree add ../mazarbul-<feature> -b feat/<feature> cd ../mazarbul-<feature> mise install && mise run setup ./scripts/devstack up # Tear down ./scripts/devstack down cd .. git worktree remove mazarbul-<feature> git branch -D feat/<feature> # only after PR merged ``` ## Common gotchas - **`$MAZ_DATA_DIR` not set** in a fresh shell, run `mise install` first; `.mise.toml` sets it per-worktree. - **Port collision between worktrees**, devstack picks a port window per worktree; if collision still happens, check `.env.local`. - **Daemon won't stop**, `./scripts/devstack down --force` (uses SIGKILL after a grace period). ## What this skill is NOT - A production deploy tool, Mazarbul is local-first; production-style deploys are out of scope. - A migration runner, schema changes go through normal Go migrations under `migrations/`.
Wersje
W bazie nie ma innych skilli o nazwie devstack.
Migawka bazy z 13.11.2026 · wersja paczki 9d023f068b71 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 80cmk:sui-devstack
Konfiguruje lokalną sieć Sui do rozwoju i testów: węzeł, konta, opublikowane pakiety Move i opcjonalnie Walrus. - 90cmk:local-stack
Konfiguruje lokalne środowisko developerskie odporne na worktree: unika konfliktów portów i sprząta osierocone usługi. - 100inspect-deploy
Pokazuje, jaka wersja Mazarbul działa lokalnie lub w chmurze, czy demon i serwer MCP są uruchomione oraz czy wersje się zgadzają. - 100codespace-dev
Uruchamia i obsługuje środowisko deweloperskie GitHub Codespace dla repozytorium, synchronizując lokalne zmiany i polecenia przez SSH. - 90local-dev-environment
Uruchamia, zatrzymuje i sprawdza lokalne środowisko deweloperskie w Podman Compose: bazę, usługi, migracje i kontrole zdrowia. - 90openrag_dev_stack
Uruchamia, restartuje, monitoruje i zatrzymuje lokalny stos deweloperski OpenRAG: infrastrukturę Docker, backend i frontend.