一键导入
stack-context
Stack detection, context, and cross-stack orchestration — auto-detects Tauri/React/Laravel stack and pulls relevant documentation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stack detection, context, and cross-stack orchestration — auto-detects Tauri/React/Laravel stack and pulls relevant documentation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Continuously improves the project by checking docs (web, Context7, opencode), using LSPs for code context, monitoring skills/plugins/scripts, and adapting best practices.
Continuity management — preserves context, maintains thermal maps, and serializes states across sessions
Read diffs carefully, identify risks, and produce review feedback that is specific and actionable.
Write accurate docs, keep references current, and capture verified behavior only.
Branching, rebasing, commit hygiene, and review-friendly history for agency delivery.
Use the language server for precise navigation, symbol lookup, refactoring, and diagnostics.
| name | stack-context |
| description | Stack detection, context, and cross-stack orchestration — auto-detects Tauri/React/Laravel stack and pulls relevant documentation |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","workflow":"orchestration"} |
Auto-detects Tauri/React/Laravel stack context and pulls relevant documentation, coding standards, and tool recommendations using Context7. Use proactively when starting work on any stack file or when context switching between Rust/TypeScript/PHP.
Automatically detect the current stack (Tauri/Rust, React/TypeScript, Laravel/PHP) and provide:
| File Pattern | Stack Detected | Rules File | Context7 Libraries |
|---|---|---|---|
*.rs, Cargo.toml, tauri.conf.json | Tauri (Rust) | rules/tauri.md | tauri, rust, serde, tokio |
*.tsx, *.jsx, *.ts, vite.config.* | React (TypeScript) | rules/react.md | react, typescript, tailwindcss, vite |
*.php, artisan, composer.json | Laravel (PHP) | rules/laravel.md | laravel, php, eloquent, pest |
Before starting work on any cross-stack task, verify required context:
"Working on Tauri command that calls Laravel API"
rules/tauri.md and rules/laravel.mdBefore executing, verify:
| Service | How to Check | Fallback |
|---|---|---|
| MCP servers | Check opencode.json mcp servers section | Use OpenCode defaults |
| Language servers | LSP status tool | Open file of that type to trigger |
| File patterns | glob to detect stack files | Ask user for stack context |
| Process health | Check dev servers, background tasks | Alert user, suggest restart |
When invoked, provide:
## Stack Detected: [Tauri/React/Laravel]
### Coding Standards
- [Key standards from rules file]
### Context7 Documentation
- [Library]: [Key patterns/docs retrieved]
### Recommended Tools
- [Formatter]: [command]
- [Linter]: [command]
- [Tests]: [framework]
### Common Patterns
[Relevant code examples for the task]
### Context Status
- MCP servers: [✅/❌]
- Language servers: [✅/❌]
- Processes: [✅/❌]
'use client' and 'use server' for client/server codep-4 or p-6, gap-4 or gap-6max-h-96 overflow-y-automin-h-screen flex flex-col + mt-auto on footernext-themestauri::State for shared resources, wrap with Mutex or RwLockResult<T, String> for commandsapp_handle.emit_all, listen via listen('event-name', ...) in ReactCargo.toml for unused dependenciesphp artisan pint after edits.rs, .tsx, .php files