一键导入
laravel-bootstrap-check
Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build AI features with the first-party Laravel AI SDK (Laravel 13+); agents, embeddings, images, audio, and tool calling with provider-agnostic APIs
Use API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly
Compose UIs with Blade components, slots, and layouts; keep templates pure and testable
Request effective code reviews—specify focus areas, provide context, ask for architectural feedback, reference Laravel conventions
Practical daily checklist for Laravel projects; bring services up, run migrations, queues, quality gates, and tests
Create effective debugging prompts—include error messages, stack traces, expected vs actual behavior, logs, and attempted solutions
| name | laravel:bootstrap-check |
| description | Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable |
Quickly determine if the project should run with Sail or host tools, then list the correct commands for this session.
Run this snippet in your project root:
if [ -f sail ] || [ -x vendor/bin/sail ]; then
echo "Sail detected. Use: sail artisan|composer|pnpm ...";
else
echo "Sail not found. Use host tools: php artisan, composer, pnpm ...";
fi
Optional portable alias:
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
sail artisan about | php artisan aboutsail artisan test | php artisan testsail artisan migrate | php artisan migratesail composer install | composer installsail pnpm install | pnpm installsail pnpm run dev | pnpm run devsail mysql -e 'select 1' or mysql -e 'select 1'sail redis ping or redis-cli ping