stac-troubleshooter
Stac Troubleshooter
Overview
Use this skill to run structured diagnostics and return precise fixes for Stac project issues.
Workflow
- Run
scripts/stac_doctor.py --project-root <path>for baseline checks. - Run
scripts/check_build_outputs.py --project-root <path> --expected-dir stac/.build. - Triage using focused playbooks under
references/. - Return root cause, fix commands, and post-fix verification steps.
Required Inputs
- Project root path.
- Failing command and output (if available).
- Affected route/screen name (if runtime issue).
Output Contract
- Classify issue as setup/build/deploy/runtime/cache/navigation.
- Provide exact remedial commands and expected outcomes.
- Include one verification command or file check per fix.
References
- Read
references/error-playbooks.mdfor common Stac errors and fixes. - Read
references/cache-debug.mdfor stale content and cache strategy checks. - Read
references/navigation-debug.mdfor route/action stack behavior. - Read
references/migration-cheatsheet.mdfor JSON-to-Dart migration mapping. - Read
references/known-gotchas.mdfor recurring pitfalls.
Scripts
scripts/stac_doctor.py --project-root <path> [--json]scripts/check_build_outputs.py --project-root <path> --expected-dir stac/.build
More from stacdev/stac
stac-quickstart
Help initialize and validate a Stac-enabled Flutter project and ship a first server-driven screen. Use when users ask to set up Stac CLI, run stac init/build/deploy, verify project prerequisites, or troubleshoot first-run setup and missing configuration files.
46stac-screen-builder
Build Stac DSL screens and themes from product requirements with safe defaults and reusable templates. Use when users ask to create or refactor StacScreen files, map UI requirements to Stac widgets/actions/styles, or scaffold new screen/theme files.
45stac-custom-extensions
Scaffold and integrate custom Stac widgets and actions with parsers and registration checks. Use when users ask to build new StacParser or StacActionParser implementations, generate custom model classes, or verify parser registration inside Stac.initialize.
44