Validator Expert
Overview
Validate production readiness of Vertex AI Agent Engine deployments by executing weighted checks across five categories: security (30 points), monitoring (20 points), performance (25 points), compliance (15 points), and reliability (10 points). This skill produces a 0-100% composite score with pass/fail per check and prioritized remediation recommendations.
Prerequisites
gcloud CLI authenticated with roles/aiplatform.viewer, roles/iam.securityReviewer, and roles/monitoring.viewer
- Access to the target Google Cloud project and Vertex AI Agent Engine deployment
- Cloud Monitoring API and Cloud Logging API enabled in the project
- Knowledge of the deployment's expected SLOs (latency targets, error rate thresholds)
- Read-only access to IAM policies, VPC-SC configurations, and service account bindings
Instructions
- Retrieve the deployment configuration using
gcloud ai agents describe and parse model, scaling, and feature settings
- Run the security validation suite:
- Verify IAM roles follow least-privilege by auditing service account bindings against required permissions
- Confirm VPC Service Controls perimeter is active and correctly scoped
- Check encryption at rest (CMEK or Google-managed) and in-transit (TLS 1.3)
- Scan configuration files and environment variables for hardcoded secrets
- Validate service account key rotation policy (max 90 days)
- Confirm Model Armor is enabled for ADK-based agents
- Run the monitoring validation suite:
- Verify Cloud Monitoring dashboards exist with required panels (request count, error rate, latency)
- Confirm alerting policies cover error rate spikes, latency SLO breaches, and cost thresholds
- Check token usage tracking is enabled with per-model granularity
- Validate structured logging with severity levels and correlation IDs
- Confirm latency SLOs are defined with p95 and p99 targets
- Run the performance validation suite:
- Verify auto-scaling is configured with appropriate min/max instance counts
- Check resource limits (CPU, memory) match expected workload profile
- Confirm caching strategy is implemented for repeated prompts or embeddings
- Validate Code Execution Sandbox TTL is set between 7-14 days
- Check Memory Bank retention policy (min 100 memories, auto-cleanup enabled)
- Run the compliance validation suite:
- Confirm audit logging is enabled for all admin and data access operations
- Verify data residency meets regional requirements
- Check privacy policies and data retention schedules
- Validate backup and disaster recovery configuration
- Calculate weighted scores per category and compute the overall production readiness percentage
- Generate a prioritized recommendation list sorted by score impact per remediation effort
Output
- Production readiness score: 0-100% with status (READY >= 85%, NEEDS WORK 70-84%, NOT READY < 70%)
- Per-category breakdown: security (x/30), monitoring (x/20), performance (x/25), compliance (x/15), reliability (x/10)
- Pass/fail table for each individual check with evidence notes
- Prioritized remediation plan: action items ranked by score improvement per effort
- Comparison to previous validation run (if available) showing score delta
Error Handling
| Error |
Cause |
Solution |
| Insufficient IAM permissions |
Viewer roles not granted on target project |
Request roles/aiplatform.viewer and roles/iam.securityReviewer from project admin |
| Agent deployment not found |
Incorrect agent ID or deployment deleted |
Verify agent ID with gcloud ai agents list; confirm deployment region |
| Monitoring API returns no data |
API not enabled or agent has zero traffic |
Enable Monitoring API; generate synthetic traffic to populate baseline metrics |
| VPC-SC configuration inaccessible |
Organization policy restricts VPC-SC reads |
Request roles/accesscontextmanager.policyReader at organization level |
| Compliance check inconclusive |
Audit logs not enabled or retention too short |
Enable Data Access audit logs; set log retention to minimum 365 days |
Examples
Scenario 1: Pre-Launch Validation -- Validate a new ADK agent before production launch. Run all five validation categories. Target score: 85%+ overall, with security score at 28/30 minimum. Generate remediation plan for any failing checks.
Scenario 2: Post-Incident Security Audit -- After a permission escalation incident, re-validate security posture. Focus on IAM least-privilege, service account bindings, and VPC-SC perimeter integrity. Compare scores against the last passing validation.
Scenario 3: Quarterly Compliance Review -- Execute compliance and monitoring validation suites for SOC 2 audit preparation. Verify audit logging coverage, data residency compliance, and backup/DR configuration. Export results as evidence artifacts.
Resources
1---2name: validator-expert3description: |4 Validate production readiness of Vertex AI Agent Engine deployments across security, monitoring, performance, compliance, and best practices. Generates weighted scores (0-100%) with actionable recommendations. Use when asked to "validate deploymen... Trigger with phrases like 'validate', 'check', or 'verify'.5allowed-tools: Read, Grep, Glob, Bash(cmd:*)6version: 1.0.07author: Jeremy Longshore <jeremy@intentsolutions.io>8license: MIT9compatible-with: claude-code, codex, openclaw10metadata:11 source: https://skillmd.com/skills/micsapp/validator-expert12---1314# Validator Expert1516## Overview1718Validate production readiness of Vertex AI Agent Engine deployments by executing weighted checks across five categories: security (30 points), monitoring (20 points), performance (25 points), compliance (15 points), and reliability (10 points). This skill produces a 0-100% composite score with pass/fail per check and prioritized remediation recommendations.1920## Prerequisites2122- `gcloud` CLI authenticated with `roles/aiplatform.viewer`, `roles/iam.securityReviewer`, and `roles/monitoring.viewer`23- Access to the target Google Cloud project and Vertex AI Agent Engine deployment24- Cloud Monitoring API and Cloud Logging API enabled in the project25- Knowledge of the deployment's expected SLOs (latency targets, error rate thresholds)26- Read-only access to IAM policies, VPC-SC configurations, and service account bindings2728## Instructions29301. Retrieve the deployment configuration using `gcloud ai agents describe` and parse model, scaling, and feature settings312. Run the security validation suite:32 - Verify IAM roles follow least-privilege by auditing service account bindings against required permissions33 - Confirm VPC Service Controls perimeter is active and correctly scoped34 - Check encryption at rest (CMEK or Google-managed) and in-transit (TLS 1.3)35 - Scan configuration files and environment variables for hardcoded secrets36 - Validate service account key rotation policy (max 90 days)37 - Confirm Model Armor is enabled for ADK-based agents383. Run the monitoring validation suite:39 - Verify Cloud Monitoring dashboards exist with required panels (request count, error rate, latency)40 - Confirm alerting policies cover error rate spikes, latency SLO breaches, and cost thresholds41 - Check token usage tracking is enabled with per-model granularity42 - Validate structured logging with severity levels and correlation IDs43 - Confirm latency SLOs are defined with p95 and p99 targets444. Run the performance validation suite:45 - Verify auto-scaling is configured with appropriate min/max instance counts46 - Check resource limits (CPU, memory) match expected workload profile47 - Confirm caching strategy is implemented for repeated prompts or embeddings48 - Validate Code Execution Sandbox TTL is set between 7-14 days49 - Check Memory Bank retention policy (min 100 memories, auto-cleanup enabled)505. Run the compliance validation suite:51 - Confirm audit logging is enabled for all admin and data access operations52 - Verify data residency meets regional requirements53 - Check privacy policies and data retention schedules54 - Validate backup and disaster recovery configuration556. Calculate weighted scores per category and compute the overall production readiness percentage567. Generate a prioritized recommendation list sorted by score impact per remediation effort5758## Output5960- Production readiness score: 0-100% with status (READY >= 85%, NEEDS WORK 70-84%, NOT READY < 70%)61- Per-category breakdown: security (x/30), monitoring (x/20), performance (x/25), compliance (x/15), reliability (x/10)62- Pass/fail table for each individual check with evidence notes63- Prioritized remediation plan: action items ranked by score improvement per effort64- Comparison to previous validation run (if available) showing score delta6566## Error Handling6768| Error | Cause | Solution |69|-------|-------|----------|70| Insufficient IAM permissions | Viewer roles not granted on target project | Request `roles/aiplatform.viewer` and `roles/iam.securityReviewer` from project admin |71| Agent deployment not found | Incorrect agent ID or deployment deleted | Verify agent ID with `gcloud ai agents list`; confirm deployment region |72| Monitoring API returns no data | API not enabled or agent has zero traffic | Enable Monitoring API; generate synthetic traffic to populate baseline metrics |73| VPC-SC configuration inaccessible | Organization policy restricts VPC-SC reads | Request `roles/accesscontextmanager.policyReader` at organization level |74| Compliance check inconclusive | Audit logs not enabled or retention too short | Enable Data Access audit logs; set log retention to minimum 365 days |7576## Examples7778**Scenario 1: Pre-Launch Validation** -- Validate a new ADK agent before production launch. Run all five validation categories. Target score: 85%+ overall, with security score at 28/30 minimum. Generate remediation plan for any failing checks.7980**Scenario 2: Post-Incident Security Audit** -- After a permission escalation incident, re-validate security posture. Focus on IAM least-privilege, service account bindings, and VPC-SC perimeter integrity. Compare scores against the last passing validation.8182**Scenario 3: Quarterly Compliance Review** -- Execute compliance and monitoring validation suites for SOC 2 audit preparation. Verify audit logging coverage, data residency compliance, and backup/DR configuration. Export results as evidence artifacts.8384## Resources8586- [Vertex AI Security Best Practices](https://cloud.google.com/vertex-ai/docs/security) -- IAM, encryption, VPC-SC87- [Cloud Monitoring Alerting](https://cloud.google.com/monitoring/alerts) -- policy configuration88- [VPC Service Controls](https://cloud.google.com/vpc-service-controls/docs) -- perimeter setup89- [Model Armor Documentation](https://cloud.google.com/vertex-ai/docs/generative-ai/model-armor) -- prompt injection protection90- [Cloud Audit Logs](https://cloud.google.com/logging/docs/audit) -- admin and data access logging