Stac Troubleshooter
Testing & Qualitystac-troubleshooterStac Troubleshooter is an Agent Skill for testing & quality published in the StacDev/stac repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Diagnose Stac build, deploy, rendering, caching, and navigation issues using repeatable checks. Use when users report stac build finding no screens, deploy mismatches, runtime unknown widget/action errors, cache staleness, or migration regressions.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/StacDev/stac/blob/HEAD/skills/stac-troubleshooter/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/stac-troubleshooter, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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