What problem does it solve?
Running full stack detection before every task is wasteful and slows automation; this Skill produces a single, authoritative STACK CONTEXT that other skills and agents read instead of re-detecting, ensuring consistent environment assumptions and faster workflows.
Core Features & Use Cases
- Persistent Cache: Generates and saves a .opencode/stack-context.md file with frontmatter including generated_at and package_json_mtime to enable staleness checks.
- Comprehensive Detection: Reads package.json, tsconfig.json, env examples, Next/Vite/Tailwind configs, inspects folder layout (app/pages/src), categorizes dependencies, detects monorepos, and records uncertainties with confidence levels.
- Operational Integration: Intended for onboarding to unfamiliar repos, before large or gigantic tasks, and as an orchestrator-invoked prerequisite to avoid redundant scans.
Quick Start
Run the stack-detector to analyze the repository and write a fresh .opencode/stack-context.md cache.