·
Last changedVersion:
This version passed the hardening gate. Hardening updated the skill content and independently checked the resulting changes. Classified findings before hardening: 2. Classified findings closed: 0. Classified findings remaining: 2. Unclassified scanner findings remaining: 0. Review findings closed: 0. Review findings remaining: 14.
1
1
1
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
references/online-ddl.md | Excessive Agency & Rogue Autonomy | — | Medium | Open | |
SKILL.md | Prompt Injection | Third-party content as instructions | Low | Open |
2 findings
Use this skill to make safe, measurable MySQL/InnoDB changes.
EXPLAIN, EXPLAIN ANALYZE, lock/connection metrics, and production-safe rollout steps).BIGINT UNSIGNED AUTO_INCREMENT) for write-heavy OLTP tables.utf8mb4 / utf8mb4_0900_ai_ci. Prefer NOT NULL, DATETIME over TIMESTAMP.ENUM. Normalize to 3NF; denormalize only for measured hot paths.References:
performance_schema — drop indexes with count_read = 0.References:
MAXVALUE catch-all.References:
EXPLAIN — red flags: type: ALL, Using filesort, Using temporary.OFFSET. Avoid functions on indexed columns in WHERE.UNION ALL over UNION when dedup unnecessary.References:
REPEATABLE READ (gap locks). Use READ COMMITTED for high contention.SELECT ... FOR UPDATE sparingly.References:
ALGORITHM=INPLACE) when possible; test on replicas first.max_connections exhaustion under load.References:
Get started with chainctlchainctl skill install public/planetscale/mysql:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/planetscale/skills/mysql:latest
MIT
HARDENING.md
LICENSE
SKILL.md
references/character-sets.md
references/composite-indexes.md
references/connection-management.md
references/covering-indexes.md
references/data-types.md
references/deadlocks.md
references/explain-analysis.md
references/fulltext-indexes.md
references/index-maintenance.md
references/isolation-levels.md
references/json-column-patterns.md
references/n-plus-one.md
references/online-ddl.md
references/partitioning.md
references/primary-keys.md
references/query-optimization-pitfalls.md
references/replication-lag.md
references/row-locking-gotchas.md