optimization-phase

Run performance, accessibility, security, and code-quality checks for production readiness.

Updated Oct 26, 2025
One-click install
npx skills add https://github.com/oxie/portfolio-cms-project --skill optimization-phase-oxie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimization-phase
Source: https://github.com/oxie/portfolio-cms-project/tree/main/.claude/skills/optimization-phase
Command: npx skills add https://github.com/oxie/portfolio-cms-project --skill optimization-phase-oxie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lighthouse.

What problem does it solve?

This Skill validates that a feature meets critical production readiness standards across performance, accessibility, security, and code quality. It prevents the deployment of features that could lead to poor user experience, compliance issues, or security vulnerabilities, ensuring a robust and reliable product.

Core Features & Use Cases

  • Performance Benchmarking: Conducts backend and frontend performance audits, including API response times, Lighthouse scores, and Core Web Vitals.
  • Accessibility Audit: Performs automated and manual checks against WCAG 2.1 AA standards to ensure inclusivity.
  • Security Review: Verifies authentication, input validation, data protection, and security headers to mitigate vulnerabilities.
  • Code Quality Checks: Assesses code duplication, test coverage, linting, and complexity to maintain high code standards.
  • Use Case: A feature is implemented and ready for final checks. This skill automates the process of running performance benchmarks, accessibility audits, and security reviews to ensure it's robust, compliant, and ready for production deployment.

Quick Start

Optimize the 'Student Progress Dashboard' feature, running performance benchmarks, accessibility audits, and security reviews to ensure production readiness.

Frequently Asked Questions about optimization-phase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure a feature meets production readiness standards before deployment?

Production readiness requires validating performance, accessibility, security, and code quality. This Skill automates those checks—running performance benchmarks, accessibility audits against WCAG AA, security reviews for vulnerabilities, and code-quality assessments—and outputs detailed reports so you can verify readiness before shipping.

What does a production readiness check include?

Production readiness checks span four areas: performance benchmarking (API response times, Lighthouse scores, Core Web Vitals), accessibility auditing (WCAG 2.1 AA compliance), security review (authentication, input validation, security headers), and code quality (duplication, test coverage, linting, complexity).

Can I automate performance and accessibility validation in my workflow?

Yes. This Skill integrates into the optimization phase of your workflow, automatically running Lighthouse audits, performance benchmarks, and accessibility checks. It generates optimization-report.md and code-review-report.md with concrete targets: backend response <500ms, Lighthouse ≥85, WCAG AA compliance, and OWASP Top 10 mitigations.

What output do I get from running production readiness checks?

You receive two reports—optimization-report.md detailing performance and accessibility findings, and code-review-report.md covering security and code quality—plus an updated workflow-state.yaml documenting readiness status and any blockers.

When should I run production readiness validation on a feature?

Run this validation after implementation is complete but before final deployment. It's designed for the optimization phase, catching performance gaps, accessibility issues, security vulnerabilities, and code-quality problems that could delay or compromise production launch.