Enable the Code Quality Advisor. When on, SQL files written during tool use are automatically analyzed for anti-patterns (SELECT *, missing WHERE, unbounded results, cartesian products, deprecated functions) and findings are logged.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add Snowflake-Labs/cocoplus --skill code-quality --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Code Quality?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/snowflake-labs-code-quality-cocoplus)More formats (shields.io, HTML) on the badges page.
---
name: "quality-on"
description: "Enable the Code Quality Advisor. When on, SQL files written during tool use are automatically analyzed for anti-patterns (SELECT *, missing WHERE, unbounded results, cartesian products, deprecated functions) and findings are logged."
version: "1.0.0"
author: "CocoPlus"
tags:
- cocoplus
- code-quality
---
Your objective is to enable the Code Quality Advisor.
Before proceeding, verify that `.cocoplus/` exists.
If not: output "CocoPlus not initialized in this directory. Run `$pod init` to begin." Then stop.
Create mode flag: create the file `.cocoplus/modes/quality.on` with empty content using the Write tool (cross-platform: do not use `touch`)
Update AGENTS.md (keep ≤200 lines): replace Quality line with `- Quality: ON (auto-review SQL writes)`
Output: "✓ Code Quality Advisor enabled. SQL files written during this session will be automatically reviewed for anti-patterns. Findings are written to .cocoplus/quality-findings-[timestamp].md."
## Anti-Rationalization
| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Skip updating AGENTS.md since the mode flag is already set | AGENTS.md is the hot context; if it still says "Quality: off" the AI will behave as if quality is off |
## Exit Criteria
- [ ] `.cocoplus/modes/quality.on` flag exists
- [ ] `.cocoplus/AGENTS.md` Quality line reads `- Quality: ON (auto-review SQL writes)`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!