mcpbeat Sign in

Google Cloud Waf Performance Optimization Agent Skill

>- Generates performance-focused guidance for Google Cloud workloads based on the design principles and recommendations in the Performance Optimization pillar of the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify performance requirements, and provide actionable recommendations for resource allocation, modular design, and elasticity.

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
15506
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/skills --skill google-cloud-waf-performance-optimization

The instruction itself

6 sections, as written by the author

Google Cloud Well-Architected Framework skill for the Performance Optimization pillar

Overview

The Performance Optimization pillar of the Google Cloud Well-Architected

Framework provides principles and recommendations to help you design, build, and

operate high-performing workloads. It focuses on efficiently allocating

resources, leveraging modular architectures, and using data-driven insights to

continuously monitor and improve performance as your business needs evolve.

Core principles

The recommendations in the performance optimization pillar of the

Well-Architected Framework are aligned with the following core principles:

  • Plan resource allocation: Carefully select and configure the compute,

storage, and networking resources that best match the specific requirements

of your workload. Grounding document:

https://docs.cloud.google.com/architecture/framework/performance-optimization/plan-resource-allocation.md.txt

  • Take advantage of elasticity: Utilize automated scaling and serverless

technologies to dynamically adjust resource capacity in response to

real-time demand fluctuations. Grounding document:

https://docs.cloud.google.com/architecture/framework/performance-optimization/elasticity.md.txt

  • Promote modular design: Architect systems using independent, loosely

coupled components to enhance scalability and allow individual parts to be

optimized without affecting the entire system. Grounding document:

https://docs.cloud.google.com/architecture/framework/performance-optimization/promote-modular-design.md.txt

  • Continuously monitor and improve performance: Implement robust

observability to identify bottlenecks and use performance data to drive

iterative enhancements throughout the software development lifecycle.

Grounding document:

https://docs.cloud.google.com/architecture/framework/performance-optimization/continuously-monitor-and-improve-performance.md.txt

Relevant Google Cloud products

The following are _examples_ of Google Cloud products and features that are

relevant to performance optimization:

  • Compute and scaling
  • Compute Engine (MIGs): Managed instance groups that support

autoscaling and load balancing for VM-based workloads.

  • Google Kubernetes Engine (GKE): Provides container orchestration

with horizontal and vertical pod autoscaling.

  • Cloud Run: A fully managed serverless platform that automatically

scales containers to zero or up based on traffic.

  • Data and caching
  • Cloud CDN: Low-latency content delivery network to cache static and

dynamic content closer to end-users.

  • Memorystore: Managed in-memory data store for Valkey and Redis to

provide sub-millisecond data access.

  • Bigtable: NoSQL database service for analytical and operational

workloads requiring low latency and high throughput.

  • Spanner: RDBMS that provides global consistency, high availability,

and horizontal scaling for mission-critical transactional applications.

  • Performance analysis and monitoring
  • Cloud Trace: Distributed tracing system that helps identify latency

bottlenecks.

  • Cloud Profiler: Continuous CPU and memory profiling to identify

resource-heavy application code.

  • Cloud Monitoring: Provides dashboards and alerts based on

performance KPIs like latency and throughput.

Workload assessment questions

Ask appropriate questions to understand the performance-related requirements and

constraints of the workload and the user's organization. Choose questions from

the following list:

  • Plan resource allocation
  • When initially provisioning compute resources for a new application,

which approach do you use to determine the required capacity for

expected peak loads?

  • Which caching strategies (browser, in-memory, CDN, database) do you

utilize to improve performance and responsiveness?

  • How do you optimize the performance of your data storage solutions

(e.g., SSD vs HDD, storage classes) for your applications?

  • Promote modular design
  • Which architectural patterns (microservices, asynchronous messaging,

stateless servers) do you employ to enhance performance and resilience?

  • How do you design your application to minimize the impact of failures in

one part of the system on other parts?

  • Continuously monitor and improve performance
  • How frequently do you review and analyze the performance of your

production applications and infrastructure?

  • Which tools or techniques (APM, distributed tracing, load testing) do

you use to proactively identify and diagnose performance bottlenecks?

  • How do you incorporate performance considerations into your software

development lifecycle (SDLC)?

  • Take advantage of elasticity
  • Which methods do you use to manage and optimize the cost of your cloud

resources while maintaining performance?

  • How do you typically handle sudden spikes in traffic or workload on your

applications?

Validation checklist

Use the following checklist to evaluate the architecture's alignment with

performance optimization recommendations:

  • Resource allocation
  • [ ] Initial provisioning is based on load testing or historical data

rather than general estimates.

  • [ ] Caching is implemented at multiple layers (CDN, in-memory, or

browser) to offload backend systems.

  • [ ] Storage types (SSD/HDD) and classes are selected based on the

specific I/O requirements of the workload.

  • Modular design
  • [ ] The architecture uses microservices or decoupled components to allow

independent scaling.

  • [ ] Circuit breakers or bulkheads are implemented to isolate failures

and prevent performance degradation across the system.

  • Monitoring and continuous improvement
  • [ ] Automated dashboards and alerts are configured for key performance

indicators (KPIs).

  • [ ] Distributed tracing and profiling tools are used to identify

code-level bottlenecks.

  • [ ] Performance testing (unit and integration) is integrated into the

software development lifecycle.

  • Elasticity
  • [ ] Auto-scaling rules are configured and validated to handle variable

demand.

  • [ ] The architecture leverages serverless or managed services to

dynamically match capacity to load.

  • [ ] Resource utilization is reviewed regularly to eliminate idle

overhead and balance cost with performance.

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take google/google-cloud-waf-performance-optimization from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.