Production readiness toolkit that cleans code and verifies apps before deployment with Pest and Playwright.
- version
- 1.0.0
- GitHub stars
- 36
What it does
- Adds commands
/analyze,/cleanup,/ready,/verify, and/showcase, plus theproduction-ready-agentagent - Covers debug artifact removal for clean commits, Pest and Playwright test runs, and deployment preparation
- Designed for Laravel and PHP apps that need full verification before release
Production readiness toolkit with code cleanup, comprehensive analysis, and automated testing. Removes debug artifacts for clean commits, runs Pest and Playwright tests, and prepares apps for deployment with full verification.
Add marketplace
/plugin marketplace add mwguerra/claude-code-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install code@mwguerra-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceProduction Ready Skill
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.
Core Philosophy
- Leave No Stone Unturned: Every feature, job, process, and component must be analyzed
- Test Everything: Use both unit/feature tests (Pest) AND visual/UI tests (Playwright)
- Document as You Go: Track all tasks in taskmanager for detailed progress tracking
- Commit Frequently: Never lose work - commit and push after significant changes
- Verify Thoroughly: At the end, re-analyze and retest everything to ensure production readiness
Phase 1: Initial Commit (Safety First)
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
Phase 2: Comprehensive Codebase Analysis
2.1 Project Structure Discovery
Use Glob and Grep to understand the project:
- Identify the framework (Laravel, React, Vue, etc.)
- Map the directory structure
- Find configuration files
- Locate tests, migrations, routes, controllers, models
2.2 Feature Inventory
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 |
2.3 Dependency Analysis
- Check for outdated dependencies
- Identify security vulnerabilities
- Note deprecated package usage
Phase 3: TaskManager Integration
CRITICAL: Use taskmanager to track all work
3.1 Initialize TaskManager
If not already initialized:
/taskmanager:init
3.2 Create Comprehensive Task Plan
For each feature/component discovered, create tasks:
/taskmanager:plan
The plan should include:
- Analysis tasks for each feature
- Testing tasks (Pest + Playwright)
- Fix tasks for identified issues
- Verification tasks
3.3 Task Categories
Structure tasks hierarchically:
-
Analysis Tasks
- 1.1 Analyze Models
- 1.2 Analyze Controllers
- 1.3 Analyze Jobs
- etc.
-
Testing Tasks
- 2.1 Unit Tests (Pest)
- 2.2 Feature Tests (Pest)
- 2.3 UI Tests (Playwright)
- 2.4 Integration Tests
-
Fix Tasks
- 3.x Fix issues discovered during testing
-
Verification Tasks
- 4.1 Final Pest test suite run
- 4.2 Final Playwright flow tests
- 4.3 Production checklist verification
Phase 4: Testing Strategy
4.1 Pest Testing
For each component:
-
Check existing tests:
php artisan test --filter=ComponentName -
Identify missing test coverage:
- Use
/test-specialist:analyze-coverageif available - Check for untested public methods
- Identify edge cases
- Use
-
Create missing tests:
- Follow Pest 4 conventions
- Test both success and failure paths
- Test authorization and validation
-
Run and verify:
php artisan test
4.2 Playwright UI Testing
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:
- Check all expected UI elements are present
- Verify data is displayed correctly
- Check responsive behavior
-
Test interactions:
- Click buttons and links
- Fill forms
- Submit data
- Verify results
-
Test user flows:
- Complete workflows end-to-end
- Test error handling
- Verify redirects and navigation
4.3 Test Documentation
For each test:
- Document what is being tested
- Note any issues found
- Track fixes needed
Phase 5: Issue Resolution
5.1 Categorize Issues
| 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 |
5.2 Fix Process
For each issue:
- Create a task in taskmanager
- Implement the fix
- Write/update tests for the fix
- Run all related tests
- Commit the fix:
git add -A git commit -m "fix: description of what was fixed" git push
Phase 6: Final Verification
6.1 Complete Test Suite
Run the full test suite:
php artisan test
All tests MUST pass.
6.2 Playwright Flow Testing
For each major user flow:
-
Authentication flow:
- Register, login, logout, password reset
-
Core business flows:
- CRUD operations for main entities
- Key user journeys
-
Admin flows:
- Dashboard access
- User management
- Settings
-
Error handling:
- 404 pages
- Validation errors
- Permission denied
6.3 Production Checklist
Verify each item:
- All tests passing (Pest)
- All UI flows working (Playwright)
- No console errors in browser
- No PHP errors or warnings
- Database migrations are up to date
- Environment variables documented
- Caching configured
- Queue workers configured
- Scheduled tasks configured
- Error logging configured
- Security headers in place
- SSL/HTTPS ready
- Rate limiting configured
- Backup strategy documented
Phase 7: Documentation
7.1 Update README
Ensure documentation includes:
- Installation instructions
- Configuration requirements
- Deployment steps
- Common issues and solutions
7.2 Final Report
Generate a summary:
- Total features analyzed
- Tests added/fixed
- Issues found and resolved
- Known limitations
- Recommendations
Commit Strategy
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
Error Handling
If you encounter issues:
- Test failures: Analyze the failure, fix the code OR the test
- Missing dependencies: Install them and document
- Configuration issues: Fix and document the correct settings
- Playwright issues: Check browser installation, retry with delays
Never leave the app in a broken state. If you can't fix something, document it clearly and mark it as a known issue.
Output
At the end of the process, provide:
-
Summary Statistics:
- Features analyzed: X
- Tests added: X
- Tests fixed: X
- Issues found: X
- Issues resolved: X
-
Remaining Issues (if any):
- Description
- Priority
- Recommended action
-
Production Readiness Status:
- READY: All checks pass
- READY WITH NOTES: Minor issues documented
- NOT READY: Critical issues remain
Integration with Other Tools
This skill works best when combined with:
- taskmanager: For detailed task tracking (
/taskmanager:plan,/taskmanager:run) - test-specialist: For Pest test generation
- code:cleanup: For cleaning code before commits
Use these tools proactively throughout the process.
From the mwguerra/claude-code-plugins README
mwguerra Claude Code Plugins
A collection of Claude Code plugins for development workflows.
Installation
# Add the marketplace
/plugin marketplace add mwguerra/claude-code-plugins
# Browse and install plugins
/plugin
Available Plugins
article-writer
Create publication-ready technical articles with author voice profiles, web research, runnable code examples, and multi-language output. Supports interactive single-article creation or autonomous batch processing.
/plugin install article-writer@mwguerra-marketplace
code
Production readiness toolkit with code cleanup, comprehensive analysis, and automated testing. Removes debug artifacts for clean commits, runs Pest and Playwright tests, and prepares apps for deployment.
/plugin install code@mwguerra-marketplace
docs-specialist
Generate and maintain documentation from code with drift detection. Validates docs against source, auto-generates from code patterns, syncs outdated content, and provides reusable templates.
/plugin install docs-specialist@mwguerra-marketplace
docker-local
Expert agent for docker-local (mwguerra/docker-local) Laravel Docker development environment. Manages Docker services, diagnoses issues, checks project conflicts, handles database operations, and troubleshoots environment setup.
/plugin install docker-local@mwguerra-marketplace
docker-specialist
Docker and Docker Compose expert with complete documentation. Generates Dockerfiles, compose configs, database containers, SSL/TLS setup with Traefik or Nginx, and provides troubleshooting.
/plugin install docker-specialist@mwguerra-marketplace
e2e-test-specialist
Comprehensive E2E testing using Playwright MCP. Creates detailed test plans, tests all pages for errors, verifies user flows by role, and runs visual browser tests with full coverage.
/plugin install e2e-test-specialist@mwguerra-marketplace
filament-specialist
Expert FilamentPHP v4 assistant with complete official documentation. Generates resources, forms, tables, actions, widgets, infolists, and Pest tests following v4 patterns.
/plugin install filament-specialist@mwguerra-marketplace
laravel-filament-package-development-specialist
Scaffold and develop Laravel packages and Filament plugins with full testing support. Creates package structure, configures Pest testing, sets up GitHub Actions CI.
/plugin install laravel-filament-package-development-specialist@mwguerra-marketplace
post-development
App launch preparation toolkit with SEO analysis, automated screenshots, buyer persona creation, social media ad generation, technical article writing, and landing page proposals.
/plugin install post-development@mwguerra-marketplace
taskmanager
Plan and execute tasks from PRDs with hierarchical subtasks, dependency tracking, and project memories. Features dashboard visualization, autonomous batch execution, and persistent memory.
/plugin install taskmanager@mwguerra-marketplace
terminal-specialist
Terminal and shell systems expert with comprehensive documentation. Covers TTY/PTY architecture, stdin/stdout/stderr streams, signals, ANSI escape sequences, job control, and terminal modes.
/plugin install terminal-specialist@mwguerra-marketplace
test-specialist
Proactive Pest 4 testing for PHP, Laravel, Livewire, and Filament apps. Auto-generates tests for models, controllers, policies, and Livewire components. Analyzes coverage gaps.
/plugin install test-specialist@mwguerra-marketplace
obsidian-vault
Manage an Obsidian vault as your development knowledge base and automatic work journal. Auto-captures commits, tasks, and Claude Code components with structured frontmatter.
/plugin install obsidian-vault@mwguerra-marketplace
error-memory
Intelligent error tracking and solution recall system. Learns from every error you solve, providing instant access to past solutions with multi-level matching and confidence scores.
/plugin install error-memory@mwguerra-marketplace
prd-builder
Interactive PRD (Product Requirements Document) builder with comprehensive interview-driven discovery, gap analysis, and taskmanager integration.
/plugin install prd-builder@mwguerra-marketplace
my-workflow
Personal workflow management combining assistant, secretary, and executive roles. Tracks sessions, commitments, decisions, and goals. Integrates with GitHub and Obsidian vault. Provides intelligent briefings and productivity insights.
/plugin install my-workflow@mwguerra-marketplace
Reinstall Script
If you need to completely reinstall all marketplace plugins (useful after updates or to fix issues), add this script to ~/.claude/reinstall_marketplace.sh:
#!/bin/bash
# Delete marketplaces cleanup script
# Removes marketplace plugins and related configuration
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "Cleaning up marketplace plugins..."
# Delete installed_plugins.json
if [ -f "$SCRIPT_DIR/plugins/installed_plugins.json" ]; then
rm "$SCRIPT_DIR/plugins/installed_plugins.json"
echo "Deleted: plugins/installed_plugins.json"
else
echo "Not found: plugins/installed_plugins.json"
fi
# Delete marketplaces folder
if [ -d "$SCRIPT_DIR/plugins/marketplaces" ]; then
rm -rf "$SCRIPT_DIR/plugins/marketplaces"
echo "Deleted: plugins/marketplaces/"
else
echo "Not found: plugins/marketplaces/"
fi
if [ -d "$SCRIPT_DIR/plugins/cache" ]; then
rm -rf "$SCRIPT_DIR/plugins/cache"
echo "Deleted: plugins/cache/"
else
echo "Not found: plugins/cache/"
fi
# Remove enabledPlugins from settings.json using jq or sed
if [ -f "$SCRIPT_DIR/settings.json" ]; then
if command -v jq &> /dev/null; then
# Use jq if available
jq 'del(.enabledPlugins)' "$SCRIPT_DIR/settings.json" > "$SCRIPT_DIR/settings.json.tmp" && \
mv "$SCRIPT_DIR/settings.json.tmp" "$SCRIPT_DIR/settings.json"
echo "Removed enabledPlugins from settings.json"
else
# Fallback to Python if jq not available
python3 -c "
import json
with open('$SCRIPT_DIR/settings.json', 'r') as f:
data = json.load(f)
if 'enabledPlugins' in data:
del data['enabledPlugins']
with open('$SCRIPT_DIR/settings.json', 'w') as f:
json.dump(data, f, indent=2)
f.write('\n')
"
echo "Removed enabledPlugins from settings.json"
fi
else
echo "Not found: settings.json"
fi
# Function to reinstall a marketplace and all its plugins
reinstall_marketplace() {
local marketplace_name="$1"
local marketplace_repo="$2"
local marketplace_dir="$SCRIPT_DIR/plugins/marketplaces/$marketplace_name"
echo "Reinstalling marketplace: $marketplace_name"
claude plugin marketplace remove "$marketplace_name"
claude plugin marketplace add "$marketplace_repo"
if [ -d "$marketplace_dir" ]; then
echo "Installing plugins from $marketplace_name..."
for plugin_dir in "$marketplace_dir"/*/; do
local plugin_name=$(basename "$plugin_dir")
# Skip hidden directories (like .git, .claude-plugin)
if [[ "$plugin_name" != .* ]]; then
echo "Installing: $plugin_name@$marketplace_name"
claude plugin install "$plugin_name@$marketplace_name"
fi
done
else
echo "Error: Marketplace directory not found at $marketplace_dir"
return 1
fi
}
# Reinstall marketplaces
reinstall_marketplace "mwguerra-marketplace" "mwguerra/claude-code-plugins"
# Make all .sh files executable in plugins directory
echo "Making .sh files executable in plugins directory..."
find "$SCRIPT_DIR/plugins" -name "*.sh" -type f -exec chmod +x {} \;
echo "Done setting permissions."
echo "Done!"
Usage:
# Make executable
chmod +x ~/.claude/reinstall_marketplace.sh
# Run to reinstall all plugins
~/.claude/reinstall_marketplace.sh
Requirements
- Claude Code
License
MIT
Details
- Marketplace
- mwguerra/claude-code-plugins
- Source
- code
- Category
- Development Tools
- Keywords
- production, cleanup, code-quality, production-ready, testing, pest, playwright, analysis, automation, deployment, refactoring, verification
- Listed since
- Apr 7, 2026
More from mwguerra/claude-code-plugins
All 18- docker-localv1.0.0
- docker-specialistv1.0.0
- docs-specialistv1.0.0
- e2e-test-specialistv2.7.0
- error-memoryv1.0.0
- filament-specialistv1.0.0
- laravel-filament-package-development-specialistv1.0.0
- obsidian-vaultv1.0.0
- post-developmentv1.0.0
- prd-builderv1.0.0
- reverb-specialistv1.0.0
- secretaryv1.0.0
- taskmanagerv1.0.0
- terminal-specialistv1.0.0
- test-specialistv1.0.0
- article-writerv1.0.0
- boardv1.0.0
Similar to code
More Testing & QA
production-code-auditSkillsickn33/agentic-awesome-skills937 installsAudit scoped codebases for evidenced security, correctness, and performance issues, then implement authorized targeted repairs with validation.
ci-cd-and-automationSkilladdyosmani/agent-skills71.7K installsAutomated quality gates and deployment pipelines that block any change failing lint, types, tests, build, or audit.
Front-End ChecklistMCP serverthedaviddias74.8K starsAudit frontend code and live pages against 386 web development rules via structured review tools.
pr-review-toolkitPluginccplugins/awesome-claude-code-plugins1K starsComprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
developer-toolkitPluginarmanzeroeight/fastagent-plugins29 starsEssential development tools for code review, debugging, and refactoring. Includes strategic agents for high-level decisions and tactical skills for specific ope
testingPlugingreyhaven-ai/claude-code-config31 starsComprehensive testing automation with Playwright visual regression, Chrome E2E testing, and frontend debugging tools
