managing-astro-local-env
Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.
Best use case
managing-astro-local-env is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.
Teams using managing-astro-local-env should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/managing-astro-local-env/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How managing-astro-local-env Compares
| Feature / Agent | managing-astro-local-env | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Astro Local Environment This skill helps you manage your local Airflow environment using the Astro CLI. > **To set up a new project**, see the **setting-up-astro-project** skill. > **When Airflow is running**, use MCP tools from **authoring-dags** and **testing-dags** skills. --- ## Start / Stop / Restart ```bash # Start local Airflow (webserver at http://localhost:8080) astro dev start # Stop containers (preserves data) astro dev stop # Kill and remove volumes (clean slate) astro dev kill # Restart all containers astro dev restart # Restart specific component astro dev restart --scheduler astro dev restart --webserver ``` **Default credentials:** admin / admin **Restart after modifying:** `requirements.txt`, `packages.txt`, `Dockerfile` --- ## Check Status ```bash astro dev ps ``` --- ## View Logs ```bash # All logs astro dev logs # Specific component astro dev logs --scheduler astro dev logs --webserver # Follow in real-time astro dev logs -f ``` --- ## Access Container Shell ```bash # Bash into scheduler container astro dev bash # Run Airflow CLI commands astro dev run airflow info astro dev run airflow dags list ``` --- ## Troubleshooting | Issue | Solution | |-------|----------| | Port 8080 in use | Stop other containers or edit `.astro/config.yaml` | | Container won't start | `astro dev kill` then `astro dev start` | | Package install failed | Check `requirements.txt` syntax | | DAG not appearing | Run `astro dev parse` to check for import errors | | Out of disk space | `docker system prune` | ### Reset Environment When things are broken: ```bash astro dev kill astro dev start ``` --- ## Upgrade Airflow ### Test compatibility first ```bash astro dev upgrade-test ``` ### Change version 1. Edit `Dockerfile`: ```dockerfile FROM quay.io/astronomer/astro-runtime:13.0.0 ``` 2. Restart: ```bash astro dev kill && astro dev start ``` --- ## Related Skills - **setting-up-astro-project**: Initialize projects and configure dependencies - **authoring-dags**: Write DAGs (uses MCP tools, requires running Airflow) - **testing-dags**: Test DAGs (uses MCP tools, requires running Airflow) - **deploying-airflow**: Deploy DAGs to production (Astro, Docker Compose, Kubernetes)
Related Skills
astro-cta-injector
Inject Call-to-Action blocks into Astro site content with intelligent placement strategies. Use when the user wants to add CTAs, newsletter signups, product promotions, or any content blocks to blog posts. Supports multiple placement strategies (end, after 50%, after 60%), content scoring for relevance, and dry-run preview.
astro-content
Create Astro/Starlight MDX content pages. Use when the user says "write a new article", "add a blog post", "create content in Tech/Life category", or "add an MDX page".
astro-blog-write
Phase 3 - Writing blog content with human voice and SEO optimization
i18n-localization
Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
astro-i18n
Internationalization patterns for Astro sites. Multi-language routing, content translation, locale switching, RTL support. Use for multi-market lead generation.
localsetup-context
Localsetup v2 framework context - overview, invariants, and skills index. Load first when working in a repo that uses Localsetup v2. Use when starting work in this repo or when user asks about framework rules.
local-legal-seo-audit
Audit and improve local SEO for law firms, attorneys, forensic experts and legal/professional services sites with local presence, focusing on GBP, directories, E-E-A-T and practice/location pages.
astro-seo
SEO markup patterns for Astro lead generation sites. Meta tags, Open Graph, Schema.org, sitemap, robots. Use for all SEO implementation.
Llm Local Deployment
Comprehensive guide for deploying LLMs locally using Ollama, vLLM, and llama.cpp. Local deployment offers privacy, cost control, and reduced latency compared to cloud APIs. This skill covers everythin
astro-performance
Core Web Vitals and performance optimization for Astro sites. LCP, CLS, INP optimization, bundle size, fonts, third-party scripts. Use for performance tuning.
astro-forms
Form infrastructure for Astro. Zod validation, email, rate limiting, Turnstile, GDPR, Sheets. FAIL = no conversion.
astro-aso
Query local Astro Mac app database for ASO insights. Use when the user asks about keyword rankings, historical ranking data, trend analysis, competitor keywords, app ratings, keyword opportunities, or ASO health metrics.