managing-gcp-policy-intelligence
Installation
SKILL.md
GCP Policy Intelligence Management Skill
Manage GCP Policy Intelligence tools including IAM recommender, policy analyzer, and troubleshooter.
MANDATORY: Discovery-First Pattern
Always inspect current IAM state and recommendations before changes.
Phase 1: Discovery
#!/bin/bash
PROJECT="${1:-$(gcloud config get-value project 2>/dev/null)}"
echo "=== IAM Recommender Insights ==="
gcloud recommender insights list --project="$PROJECT" --insight-type=google.iam.policy.Insight --location=global --format='table(name.basename(),description,stateInfo.state)' 2>/dev/null | head -15