managing-astro-local-env
/managing-astro-local-env
Zarządza lokalnym środowiskiem Astronomer i Airflow przez Astro CLI: astro dev start, stop i restart, lokalny scheduler, parse, pytest, logi zadań, interfejs Airflow na localhost oraz wrappery Makefile.
- Autor
- vanducng ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Zarządza lokalnym środowiskiem Astronomer i Airflow przez Astro CLI: astro dev start, stop i restart, lokalny scheduler, parse, pytest, logi zadań, interfejs Airflow na localhost oraz wrappery Makefile.
Oryginalny opis (EN)
Manage a local Astronomer/Airflow environment with Astro CLI. Use when the user says astro dev start/stop/restart, local scheduler, astro dev parse, astro dev pytest, local task logs, localhost Airflow UI, or Makefile wrappers like make airflow / make scheduler-restart. Not for staging/prod inspection (vd:astro-airflow) and not for YAML DAG authoring (vd:dag-factory).
Jak działa
- Port and credentials
- Lifecycle
- Local API
- Parse loop (new or edited DAG)
- Troubleshooting
- Standalone / proxy (only if the user asks)
- Related
Podgląd SKILL.md
--- name: managing-astro-local-env description: "Manage a local Astronomer/Airflow environment with Astro CLI. Use when the user says astro dev start/stop/restart, local scheduler, astro dev parse, astro dev pytest, local task logs, localhost Airflow UI, or Makefile wrappers like make airflow / make scheduler-restart. Not for staging/prod inspection (vd:astro-airflow) and not for YAML DAG authoring (vd:dag-factory)." license: MIT metadata: author: vanducng version: "0.1.0" upstream: "https://github.com/astronomer/agents/tree/main/skills/managing-astro-local-env" --- # managing-astro-local-env Local Airflow via Astro CLI. Docker mode is the default. Do not assume port 8080 - read the project config. ## Port and credentials ```bash astro config get webserver.port # one key per call; add -g for the global value astro dev ps ``` Check `.astro/config.yaml` and `airflow_settings.yaml` for the UI port. Default credentials are `admin` / `admin` unless the project overrides them. ## Lifecycle ```bash astro dev start # UI on the configured port astro dev stop # keep volumes astro dev kill # wipe volumes astro dev restart # no --scheduler flag exists; this restarts the whole stack astro dev parse # import errors without waiting for the scheduler astro dev pytest astro dev logs --scheduler astro dev logs -f astro dev bash astro dev run airflow dags list ``` Restart after `requirements.txt`, `packages.txt`, or `Dockerfile` changes (`kill` then `start` if packages fail to install). If the repo Makefile already wraps these, prefer the target that exists (`airflow`, `scheduler-restart`, `dags-import-errors`, `dags-reparse`). Do not invent Make targets. ## Local API Prefer a configured `af` instance named `local` (see `vd:astro-airflow`). Otherwise: ```bash # Astro CLI (local only) - operation ids, not raw paths astro api airflow ls astro api airflow get_import_errors astro api airflow get_dags -q '.dags[].dag_id' astro api airflow get_dag_runs -p dag_id=<dag_id> ``` `astro api airflow` defaults to localhost + admin/admin. Override with `--api-url` / `--username` / `--password` when the project is not on 8080. For remote staging/prod, stop using this skill and use `vd:astro-airflow`. ## Parse loop (new or edited DAG) ```bash astro dev parse # or: make dags-import-errors ``` YAML/loader errors show up here, not as a failed task. After parse is clean, unpause before the first trigger. ## Troubleshooting | Issue | Fix | |---|---| | Port in use | `astro config get webserver.port`; stop the other stack or change the project port | | DAG missing | `astro dev parse`; missing `from airflow import DAG` in the loader | | Scheduler not picking up YAML | `astro dev restart` or the repo's reparse target | | Package install failed | requirements syntax; then `astro dev kill && astro dev start` | | Disk full | `docker system prune` | | `Variable.get` ImportError at parse | Airflow 3 parse isolation; wrap or use YAML `AIRFLOW_VARIABLE__` params | ## Standalone / proxy (only if the user asks) `astro dev start --standalone` needs Airflow 3 + `uv`, no Docker. Pass `--standalone` on every follow-up command unless `astro config set dev.mode standalone`. Reverse proxy: `astro dev proxy status` (default 6563) for multiple local projects. ## Related - Remote Astro: `vd:astro-airflow` - YAML DAGs: `vd:dag-factory` - Otto: `vd:delegating-to-otto`
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · vanducng/skills | 100 | MIT |
| astronomer/agents | 100 | Apache-2.0 |
| necatiarslan/airflow-vscode-extension | 100 | Apache-2.0 |
| 420company/artemis | 95 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki 3e574e01d13e (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
- 100astro-airflow
Sprawdza i debuguje Airflow we wdrożeniach Astronomer (Astro): przebiegi DAG, logi zadań i kontenerów, zmienne środowiskowe i stan wdrożenia. - 100dag-factory
Tworzy DAG-i Airflow z konfiguracji YAML dag-factory: loadery, callbacki, własne operatory, dynamiczne mapowanie, datasety i walidację plików. - 100setting-up-astro-project
Tworzy i konfiguruje projekty Astro i Airflow: zależności, połączenia, zmienne i strukturę katalogów. - 95setting-up-astro-project
Inicjalizuje i konfiguruje projekty Astro i Airflow: zależności, połączenia, zmienne i strukturę katalogów. - 100managing-astro-deployments
Zarządza produkcyjnymi wdrożeniami Astronomer przez Astro CLI: uwierzytelnianie, przełączanie obszarów roboczych, tworzenie, aktualizacja i usuwanie wdrożeń oraz wdrażanie kodu. - 100setting-up-astro-project
Inicjuje i konfiguruje projekty Astro i Airflow: tworzenie nowego projektu, zależności, połączenia i zmienne oraz objaśnienie struktury projektu.