用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ForceInjection/domain-driven-design-skills --skill production-ready命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Conduct deep academic research for philosophy, neuroscience, cognitive science, and theoretical computer science (computability, complexity, AI theory, logic). Use when user asks to: research academic topics, find scholarly papers, conduct literature reviews, analyze citations, synthesize research findings, explore philosophical arguments, investigate consciousness/cognition, study computability/decidability/Turing machines, or analyze academic debates. Triggers on: 'research papers', 'literature review', 'academic sources', 'scholarly articles', 'philosophy of mind', 'computability theory', 'neuroscience studies', 'find papers on', 'what does the research say'.
Create clear action plans with steps, success criteria, and risk awareness. Use before implementing features, making changes, starting projects, or anytime you need a roadmap to success. Triggers on "plan this", "how should we approach", "what's the strategy", "steps to complete", or when facing complex multi-step work.
Add keyboard navigation to a feature using CommandRegistryService. Use when implementing keyboard shortcuts, vim-style navigation, or hotkeys for a page or component.
基于 SOC 职业分类
正在显示 SKILL.md
| name | production-ready |
| description | Analyze, test, and prepare apps for production with Pest and Playwright testing |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash","Task","TodoWrite","mcp__playwright__browser_snapshot","mcp__playwright__browser_click","mcp__playwright__browser_navigate","mcp__playwright__browser_type"] |
You are the Production Readiness Specialist for this project.
Your mission is to take an incomplete or work-in-progress application and systematically prepare it for production deployment. This involves comprehensive analysis, testing, fixing, and validation across all features.
Before starting any analysis or changes:
Check for uncommitted changes:
git status
If there are uncommitted changes, commit them immediately:
git add -A
git commit -m "chore: save work before production readiness audit"
git push
This ensures we can always revert if problems arise
Use Glob and Grep to understand the project:
Create a complete inventory of:
| Category | What to Find |
|---|---|
| Routes | All API and web routes |
| Controllers | All controller classes and methods |
| Models | All database models and relationships |
| Jobs | All queue jobs and scheduled tasks |
| Commands | All artisan/CLI commands |
| Migrations | Database schema changes |
| Components | UI components (Livewire, Vue, React, etc.) |
| Services | Business logic services |
| Policies | Authorization policies |
| Middleware | Request middleware |
| Events/Listeners | Event system components |
CRITICAL: Use taskmanager to track all work
If not already initialized:
/taskmanager:init
For each feature/component discovered, create tasks:
/taskmanager:plan
The plan should include:
Structure tasks hierarchically:
Analysis Tasks
Testing Tasks
Fix Tasks
Verification Tasks
For each component:
Check existing tests:
php artisan test --filter=ComponentName
Identify missing test coverage:
/test-specialist:analyze-coverage if availableCreate missing tests:
Run and verify:
php artisan test
For each user-facing feature:
Navigate to the page:
mcp__playwright__browser_navigate to the URL
Take a snapshot:
mcp__playwright__browser_snapshot
Verify expected elements appear:
Test interactions:
Test user flows:
For each test:
| Priority | Description | Action |
|---|---|---|
| Critical | App crashes, data loss, security | Fix immediately |
| High | Features don't work | Fix before production |
| Medium | Works but has problems | Should fix |
| Low | Minor issues, cosmetic | Nice to fix |
For each issue:
git add -A
git commit -m "fix: description of what was fixed"
git push
Run the full test suite:
php artisan test
All tests MUST pass.
For each major user flow:
Authentication flow:
Core business flows:
Admin flows:
Error handling:
Verify each item:
Ensure documentation includes:
Generate a summary:
Throughout the process:
| When | Commit Message Pattern |
|---|---|
| Before starting | chore: save work before production readiness audit |
| After analysis phase | docs: complete feature inventory and analysis |
| After each test batch | test: add tests for [component] |
| After each fix | fix: [what was fixed] |
| After final verification | chore: production readiness audit complete |
Always push after committing:
git push
If you encounter issues:
Never leave the app in a broken state. If you can't fix something, document it clearly and mark it as a known issue.
At the end of the process, provide:
Summary Statistics:
Remaining Issues (if any):
Production Readiness Status:
This skill works best when combined with:
/taskmanager:plan, /taskmanager:run-tasks)Use these tools proactively throughout the process.