Skip to content
Back to skills

Platform

ASecurity

Platform domain skill: security scanning, incident triage, infrastructure review, and distributed-trace analysis. Routes to one of four inline actions (security | incident | infra | traces) backed by the rubrics in refs/, and links out to the domain's sub-skills (audit, compliance, health, observability, CI/CD tooling, peer-health) and workers. Use when: "security scan", "vulnerability assessment", "scan this PR for vulnerabilities", "run the security scanners", "incident", "production is do...

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 18, 2026
ai-agentsdockerkubernetesterraformgitapici/cdsecurity

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned October 18, 2026

npx -y skills add mikeparcewski/wicked-garden --skill platform --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Platform?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Platform
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mikeparcewski-platform/badge)](https://www.skillsdirectory.com/skills/mikeparcewski-platform)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wicked-garden-platform
description: |
  Platform domain skill: security scanning, incident triage, infrastructure
  review, and distributed-trace analysis. Routes to one of four inline actions
  (security | incident | infra | traces) backed by the rubrics in refs/, and
  links out to the domain's sub-skills (audit, compliance, health,
  observability, CI/CD tooling, peer-health) and workers.

  Use when: "security scan", "vulnerability assessment", "scan this PR for
  vulnerabilities", "run the security scanners", "incident", "production is
  down", "triage this alert", "root cause this error", "review our Terraform",
  "IaC review", "infrastructure review", "cloud cost review", "trace analysis",
  "why is this endpoint slow", "latency investigation", or any former
  /wicked-garden:platform:{security|incident|infra|traces} invocation.
metadata:
  role: router
  phases: "build,review,operate"
  archetypes: "*"
---

# Platform Domain

One entry point for the platform domain. Pick the action from the request,
parse its args, load its ref, and apply it inline.

## Action router

| Action | Use for | Args | Ref |
|--------|---------|------|-----|
| `security` | Real-scanner vulnerability scan + triage on code, PRs, or full repos | `<path, PR, or 'full'> [--scenarios]` | `refs/security-scan.md` |
| `incident` | Rapid incident triage: root cause, blast radius, remediation | `<error message, alert, or symptom>` | `incident/refs/incident.md` |
| `infra` | IaC / cloud architecture review: security, cost, HA, best practice | `<path to IaC files or 'scan'>` | `infra/refs/infra.md` |
| `traces` | Distributed-trace analysis: latency, dependencies, bottlenecks | `[service, trace ID, or 'slow']` | `traces/refs/traces.md` |

Routing hints:
- Compliance **evidence collection** → the `audit` sub-skill, not `security`.
- Compliance **policy/framework checking** → the `compliance` sub-skill.
- System/service health aggregation → the `health` sub-skill.
- Plugin-level diagnostics (probes, hook traces, contract assertions) → the
  `observability` sub-skill.
- Application architecture review → engineering domain (`arch`), not `infra`.

## Action: security

Run the real security scanners, then triage their actual output. This action
does NOT grep-guess: it detects which scanners are installed, runs the ones
that exist, and feeds their findings to triage. A missing scanner is reported
and skipped — the action never fails because a tool is absent.

1. Set the target from args (a path; default `.`, or the PR's changed files
   when given a PR number). Note `--scenarios` if passed.
2. Read `refs/security-scan.md` (relative to this skill's base directory) — the
   scanner detect+run block, the report formats for each scanner's JSON
   output, and the triage step.
3. For the triage rubric (CWE table, severity bands, OWASP matrix, output
   format, `--scenarios` behaviour, bus emit), read
   the `wicked-garden-platform-security-engineer` skill (its `SKILL.md`) — your
   reference, NOT a thing to re-derive.

NOT for compliance evidence collection (use the `audit` sub-skill) or IaC
posture (use the `infra` action).

## Action: incident

Rapid incident triage with root cause correlation, blast radius assessment,
and remediation guidance.

> **Scope**: this action is for **rapid active triage** — root cause, blast
> radius, remediation steps. To **log** an incident against a crew project
> with traceability, use the crew incident flow (`crew:incident`) instead.

1. Collect incident context from the args: error/alert description, start time
   if given, affected scope.
2. Read `incident/refs/incident.md` —
   the 5-phase rubric (triage → stabilize → investigate → resolve →
   follow-up), severity classification, common patterns, output format, and
   communication templates.
3. Apply the rubric directly: discover observability sources via
   `ListMcpResourcesTool`, correlate with recent git changes, classify
   severity (SEV1–SEV4), and produce the incident report with blast radius,
   mitigation actions, and rollback decision.

## Action: infra

Review infrastructure-as-code and cloud architecture for security, cost, HA,
and best-practice posture. NOT for application architecture review (use the
engineering domain's arch review) or active incident response (use the
`incident` action).

1. Parse args: path to IaC files, or `scan` to discover `.tf`, `.tfvars`,
   CloudFormation, Pulumi, Kubernetes manifests, and `docker-compose` files.
2. Read `infra/refs/infra.md` —
   discovery commands, security matrix, cost-optimization checklist, HA/DR
   checklist, platform best practices (Terraform, Kubernetes, Docker
   Compose), and output format.
3. Apply the rubric directly: discover IaC files, detect the platform, assess
   each dimension, and produce the infrastructure review with resource
   inventory, security matrix, cost opportunities, HA gaps, and prioritized
   fixes (critical first, then improvements).

## Action: traces

Analyze distributed traces for latency investigation, service dependencies,
and bottleneck detection. This is **distributed tracing across services** —
for wicked-garden hook execution traces, use the `observability` sub-skill
(`scripts/platform/observability/ops_log_viewer.py`).

1. Parse args: service name, trace ID, or `slow` for p99 latency
   investigation.
2. Read `traces/refs/traces.md` —
   tracing source discovery, investigation checklist, fallback code-pattern
   analysis, common patterns (N+1, sequential fan-out, cold-start), and
   output format.
3. Apply the rubric directly: discover tracing sources via
   `ListMcpResourcesTool`, query the target, and produce the trace analysis
   with latency breakdown, service dependencies, bottlenecks, and
   optimization recommendations with expected impact.

## Sub-skills

Loaded on demand — each is its own skill beside this one:

| Sub-skill | Use for |
|-----------|---------|
| `skills/platform/audit/` | Audit evidence collection for SOC2/HIPAA/GDPR/PCI |
| `skills/platform/compliance/` | Regulatory compliance check against a framework |
| `skills/platform/errors/` | Production error spike/pattern investigation |
| `skills/platform/health/` | System health aggregation across services |
| `skills/platform/observability/` | Plugin ecosystem diagnostics: probes, hook traces, contract assertions, toolchain discovery |
| `skills/platform/gh-cli/` | Advanced gh CLI operations (workflows, PRs, releases, repo) |
| `skills/platform/glab-cli/` | Advanced glab CLI operations for GitLab |
| `skills/platform/github-actions/` | GitHub Actions workflow generation/optimization/troubleshooting |
| `skills/platform/gitlab-ci/` | GitLab CI/CD pipeline writing |
| `skills/platform/prereq-doctor/` | Missing tool/dependency diagnosis |
| `skills/platform/gate-benchmark-rebaseline/` | AC-11 gate-result benchmark re-baselining |
| `skills/platform/peer-health/` | wicked-* peer tool reachability + version health |

## Workers

Specialist workers for delegated deep passes — each reached by name through a Hand-off:

- `skills/platform-security-engineer/` — security scanning + vulnerability
  assessment (also the triage rubric for the `security` action)
- `skills/platform-compliance-officer/` — regulatory compliance analysis
- `skills/platform-privacy-expert/` — PII/PHI detection and privacy-by-design

**Hand-off** — open the worker skill by name (`wicked-garden-platform-security-engineer`, `wicked-garden-platform-compliance-officer`, `wicked-garden-platform-privacy-expert`) with the target and the ask as the argument; on Claude Code this is the Skill tool, on any other seat open the named skill from your catalog and carry it out inline, then continue here.

Files in this skill

  • SKILL.md7.6 KB
  • audit/SKILL.md5.7 KB
  • audit/refs/audit.md4.6 KB
  • audit/refs/checklists-evidence-operations.md3.6 KB
  • audit/refs/checklists-gdpr-pci-evidence.md6.2 KB
  • audit/refs/checklists-soc2-hipaa.md3.2 KB
  • audit/refs/frameworks-gdpr-pci.md5.3 KB
  • audit/refs/frameworks-soc2-hipaa.md5.3 KB
  • compliance/SKILL.md5.8 KB
  • compliance/refs/checklists.md8.5 KB
  • compliance/refs/compliance.md4.4 KB
  • compliance/refs/frameworks.md7.3 KB
  • errors/SKILL.md5.4 KB
  • errors/refs/patterns.md6.1 KB
  • errors/refs/severity.md6.1 KB
  • gate-benchmark-rebaseline/SKILL.md5.4 KB
  • gh-cli/SKILL.md4.4 KB
  • gh-cli/refs/automation.md1.3 KB
  • gh-cli/refs/gh-ops.md2 KB
  • gh-cli/refs/operations.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.