application-performance-performance-optimization

sickn33/antigravity-awesome-skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill application-performance-performance-optimization
0 commentsdiscussion
summary

Optimize application performance end-to-end using specialized performance and optimization agents:

skill.md

Optimize application performance end-to-end using specialized performance and optimization agents:

[Extended thinking: This workflow orchestrates a comprehensive performance optimization process across the entire application stack. Starting with deep profiling and baseline establishment, the workflow progresses through targeted optimizations in each system layer, validates improvements through load testing, and establishes continuous monitoring for sustained performance. Each phase builds on insights from previous phases, creating a data-driven optimization strategy that addresses real bottlenecks rather than theoretical improvements. The workflow emphasizes modern observability practices, user-centric performance metrics, and cost-effective optimization strategies.]

Use this skill when

  • Coordinating performance optimization across backend, frontend, and infrastructure
  • Establishing baselines and profiling to identify bottlenecks
  • Designing load tests, performance budgets, or capacity plans
  • Building observability for performance and reliability targets

Do not use this skill when

  • The task is a small localized fix with no broader performance goals
  • There is no access to metrics, tracing, or profiling data
  • The request is unrelated to performance or scalability

Instructions

  1. Confirm performance goals, constraints, and target metrics.
  2. Establish baselines with profiling, tracing, and real-user data.
  3. Execute phased optimizations across the stack with measurable impact.
  4. Validate improvements and set guardrails to prevent regressions.

Safety

  • Avoid load testing production without approvals and safeguards.
  • Roll out performance changes gradually with rollback plans.

Phase 1: Performance Profiling & Baseline

1. Comprehensive Performance Profiling

  • Use Task tool with subagent_type="performance-engineer"
  • Prompt: "Profile application performance comprehensively for: $ARGUMENTS. Generate flame graphs for CPU usage, heap dumps for memory analysis, trace I/O operations, and identify hot paths. Use APM tools like DataDog or New Relic if available. Include database query profiling, API response times, and frontend rendering metrics. Establish performance baselines for all critical user journeys."
  • Context: Initial performance investigation
  • Output: Detailed performance profile with flame graphs, memory analysis, bottleneck identification, baseline metrics

2. Observability Stack Assessment

  • Use Task tool with subagent_type="observability-engineer"
  • Prompt: "Assess current observability setup for: $ARGUMENTS. Review existing monitoring, distributed tracing with OpenTelemetry, log aggregation, and metrics collection. Identify gaps in visibility, missing metrics, and areas needing better instrumentation. Recommend APM tool integration and custom metrics for business-critical operations."
  • Context: Performance profile from step 1
  • Output: Observability assessment report, instrumentation gaps, monitoring recommendations

3. User Experience Analysis

  • Use Task tool with subagent_type="performance-engineer"
  • Prompt: "Analyze user experience metrics for: $ARGUMENTS. Measure Core Web Vitals (LCP, FID, CLS), page load times, time to interactive, and perceived performance. Use Real User Monitoring (RUM) data if available. Identify user journeys with poor performance and their business impact."
  • Context: Performance baselines from step 1
  • Output: UX performance report, Core Web Vitals analysis, user impact assessment

Phase 2: Database & Backend Optimization

4. Database Performance Optimization

  • Use Task tool with subagent_type="database-cloud-optimization::database-optimizer"
  • Prompt: "Optimize database performance for: $ARGUMENTS based on profiling data: {context_from_phase_1}. Analyze slow query logs, create missing indexes, optimize execution plans, implement query result caching with Redis/Memcached. Review connection pooling, prepared statements, and batch processing opportunities. Consider read replicas and database sharding if needed."
  • Context: Performance bottlenecks from phase 1
  • Output: Optimized queries, new indexes, caching strategy, connection pool configuration

5. Backend Code & API Optimization

  • Use Task tool with subagent_type="backend-development::backend-architect"
  • Prompt: "Optimize backend services for: $ARGUMENTS targeting bottlenecks: {context_from_phase_1}. Implement efficient algorithms, add application-level caching, optimize N+1 queries, use async/await patterns effectively. Implement pagination, response compression, GraphQL query optimization, and batch API operations. Add circuit breakers and bulkheads for resilience."
  • Context: Database optimizations from step 4, profiling data from phase 1
  • Output: Optimized backend code, caching implementation, API improvements, resilience patterns

6. Microservices & Distributed System Optimization

  • Use Task tool with subagent_type="performance-engineer"
  • Prompt: "Optimize distributed system performance for: $ARGUMENTS. Analyze service-to-service communication, implement service mesh optimizations, optimize message queue performance (Kafka/RabbitMQ), reduce network hops. Implement distributed caching strategies and optimize serialization/deserialization."
  • Context: Backend optimizations from step 5
  • Output: Service communication improvements, message queue optimization, distributed caching setup

Phase 3: Frontend & CDN Optimization

7. Frontend Bundle & Loading Optimization

  • Use Task tool with subagent_type="frontend-developer"
  • Prompt: "Optimize frontend performance for: $ARGUMENTS targeting Core Web Vitals: {context_from_phase_1}. Implement code splitting, tree shaking, lazy loading, and dynamic imports. Optimize bundle sizes with webpack/rollup analysis. Implement resource hints (prefetch, preconnect, preload). Optimize critical rendering path and eliminate render-blocking resources."
  • Context: UX analysis from phase 1, backend optimizations from phase 2
  • Output: Optimized bundles, lazy loading implementation, improved Core Web Vitals

8. CDN & Edge Optimization

  • Use Task tool with subagent_type="cloud-infrastructure::cloud-architect"
  • Prompt: "Optimize CDN and edge performance for: $ARGUMENTS. Configure CloudFlare/CloudFront for optimal caching, implement edge functions for dynamic content, set up image optimization with responsive images and WebP/AVIF formats. Configure HTTP/2 and HTTP/3, implement Brotli compression. Set up geographic distribution for global users."
  • Context: Frontend optimizations from step 7
  • Output: CDN configuration, edge caching rules, compression setup, geographic optimization

9. Mobile & Progressive Web App Optimization

  • Use Task tool with subagent_type="frontend-mobile-development::mobile-developer"
  • Prompt: "Optimize mobile experience for: $ARGUMENTS. Implement service workers for offline functionality, optimize for slow networks with adaptive loading. Reduce JavaScript execution time for mobile CPUs. Implement virtual scrolling for long lists. Optimize touch responsiveness and smooth animations. Consider React Native/Flutter specific optimizations if applicable."
  • Context: Frontend optimizations from steps 7-8
  • Output: Mobile-optimized code, PWA implementation, offline functionality

Phase 4: Load Testing & Validation

10. Comprehensive Load Testing

  • Use Task tool with subagent_type="performance-engineer"
  • Prompt: "Conduct comprehensive load testing for: $ARGUMENTS using k6/Gatling/Artillery. Design realistic load scenarios based on production traffic patterns. Test normal load, peak load, and stress scenarios. Include API testing, browser-based testing, and WebSocket testing if applicable. Measure response times, throughput, error rates, and resource utilization at various load levels."
  • Context: All optimizations from phases 1-3
  • Output: Load test results, performance under load, breaking points, scalability analysis

11. Performance Regression Testing

  • Use Task tool with subagent_type="performance-testing-review::test-automator"
  • Prompt: "Create automated performance regression tests for: $ARGUMENTS. Set up performance budgets for key metrics, integrate with CI/CD pipeline using GitHub Actions or similar. Create Lighthouse CI tests for frontend, API performance tests with Artillery, and database performance benchmarks. Implement automatic rollback triggers for performance regressions."
  • Context: Load test results from step 10, baseline metrics from phase 1
  • Output: Performance test suite, CI/CD integration, regression prevention system

Phase 5: Monitoring & Continuous Optimization

12. Production Monitoring Setup

  • Use Task tool with subagent_type="observability-engineer"
  • Prompt: "Implement production performance monitoring for: $ARGUMENTS. Set up APM with DataDog/New Relic/Dynatrace, configure distributed tracing with OpenTelemetry, implement custom business metrics. Create Grafana dashboards for key metrics, set up PagerDuty alerts for performance degradation. Define SLIs/SLOs for critical services with error budgets."
  • Context: Performance improvements from all previous phases
  • Output: Monitoring dashboards, alert rules, SLI/SLO definitions, runbooks

13. Continuous Performance Optimization

  • Use Task tool with subagent_type="performance-engineer"
  • Prompt: "Establish continuous optimization process for: $ARGUMENTS. Create performance budget tracking, implement A/B testing for performance changes, set up continuous profiling in production. Document optimization opportunities backlog, create capacity planning models, and establish regular performance review cycles."
  • Context: Monitoring setup from step 12, all previous optimization work
  • Output: Performance budget tracking, optimization backlog, capacity planning, review process

Configuration Options

  • performance_focus: "latency" | "throughput" | "cost" | "balanced" (default: "balanced")
  • optimization_depth: "quick-wins" | "comprehensive" | "enterprise" (default: "comprehensive")
  • tools_available: ["datadog", "newrelic", "prometheus", "grafana", "k6", "gatling"]
  • budget_constraints: Set maximum acceptable costs for infrastructure changes
  • user_impact_tolerance: "zero-downtime" | "maintenance-window" | "gradual-rollout"

Success Criteria

  • Response Time: P50 < 200ms, P95 < 1s, P99 < 2s for critical endpoints
  • Core Web Vitals: LCP < 2.5s, FID < 100ms, CLS < 0.1
  • Throughput: Support 2x current peak load with <1% error rate
  • Database Performance: Query P95 < 100ms, no queries > 1s
  • Resource Utilization: CPU < 70%, Memory < 80% under normal load
  • Cost Efficiency: Performance per dollar improved by minimum 30%
  • Monitoring Coverage: 100% of critical paths instrumented with alerting

Performance optimization target: $ARGUMENTS

how to use application-performance-performance-optimization

How to use application-performance-performance-optimization on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add application-performance-performance-optimization
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill application-performance-performance-optimization

The skills CLI fetches application-performance-performance-optimization from GitHub repository sickn33/antigravity-awesome-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/application-performance-performance-optimization

Reload or restart Cursor to activate application-performance-performance-optimization. Access the skill through slash commands (e.g., /application-performance-performance-optimization) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.551 reviews
  • Ganesh Mohane· Dec 20, 2024

    I recommend application-performance-performance-optimization for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Liam Srinivasan· Dec 12, 2024

    application-performance-performance-optimization fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Layla Rahman· Dec 12, 2024

    We added application-performance-performance-optimization from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Arya Thomas· Dec 4, 2024

    Keeps context tight: application-performance-performance-optimization is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Ava Tandon· Nov 27, 2024

    Keeps context tight: application-performance-performance-optimization is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Neel Rahman· Nov 27, 2024

    application-performance-performance-optimization fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Sakshi Patil· Nov 11, 2024

    Useful defaults in application-performance-performance-optimization — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Evelyn Ramirez· Nov 3, 2024

    We added application-performance-performance-optimization from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Ava Verma· Oct 22, 2024

    Solid pick for teams standardizing on skills: application-performance-performance-optimization is focused, and the summary matches what you get after install.

  • Ava Shah· Oct 18, 2024

    application-performance-performance-optimization has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 51

1 / 6