patronum-suggestlisted
Install: claude install-skill emaarco/hogwarts
# Skill: patronum-suggest
Analyze the current project and suggest relevant protection patterns.
## Steps
### 1. Detect tech stack
Check what tools and cloud services are in use. Look at:
- `package.json`, `go.mod`, `requirements.txt`, `Gemfile`, `Cargo.toml`
- `.tf` files (Terraform), `docker-compose.yml`, `Dockerfile`
- `.gcloud/`, `.azure/`, cloud config directories
- CI/CD files (`.github/workflows/`, `.gitlab-ci.yml`)
### 2. Research sensitive files
Use `WebSearch` to find known sensitive files, credential paths, and secret locations for the detected technologies. Search for patterns like:
- "[technology] sensitive files credentials path"
- "[cloud provider] local config files secrets"
This ensures suggestions cover technology-specific risks beyond the hardcoded list.
### 3. Check current protections
Run: `bash "${CLAUDE_PLUGIN_ROOT}/scripts/patronum-list.sh"` to see what is already protected.
### 4. Build suggestions
Based on detected stack and web research, suggest patterns that are NOT yet protected. Common suggestions include:
- **Terraform**: `**/*.tfvars`, `**/*.tfstate`, `**/.terraform/environment`
- **GCP**: `~/.config/gcloud/credentials.db`, `**/service-account*.json`
- **Azure**: `~/.azure/accessTokens.json`, `~/.azure/msal_token_cache.json`
- **Ruby**: `~/.gem/credentials`
- **Gradle/Maven**: `~/.gradle/gradle.properties`, `~/.m2/settings.xml`
- **Kubernetes**: `**/kubeconfig`, `**/*.kubeconfig`
- **Vault**: `~/.vault-token`
- **GPG**: `~/.gnupg/*`