prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when reviewing SQL that affects reporting, metrics, transformations, financial logic, product logic, or stakeholder-facing outputs -- especially when a query still runs fine but its business meaning may have drifted.
$ npx -y skills add yeaight7/agent-powerups --skill sql-business-logic-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sql-business-logic-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when reviewing SQL that affects reporting, metrics, transformations, financial logic, product logic, or stakeholder-facing outputs -- especially when a query still runs fine but its business meaning may have drifted.
name: sql-business-logic-review description: Use when reviewing SQL that affects reporting, metrics, transformations, financial logic, product logic, or stakeholder-facing outputs -- especially when a query still runs fine but its business meaning may have drifted.
Review SQL as business logic, not just syntax. Detect silent semantic changes and flag places where technically valid SQL can still produce wrong business results.
1. **Establish the intended grain** before and after the query or change.
2. **Scan for the standard risk patterns:**
3. **Ask the review questions:** 1. What is the intended grain before and after this query? 2. Could this query duplicate or drop rows? 3. Has the business definition changed even if the SQL still runs? 4. Are there edge cases around nulls, late-arriving data, or time windows? 5. What result could look plausible while still being wrong?
4. **Propose concrete validation checks**, for example:
-- grain check: the expected key must be unique SELECT <key_columns>, COUNT(*) FROM (<query under review>) GROUP BY <key_columns> HAVING COUNT(*) > 1; -- before/after comparison on a stable slice SELECT COUNT(*), SUM(<metric_column>) FROM (<old query>); SELECT COUNT(*), SUM(<metric_column>) FROM (<new query>);
1. summary of business-logic risks 2. likely semantic changes 3. highest-risk joins, filters, or aggregations 4. concrete validation checks to run 5. what needs human confirmation
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Repo: yeaight7/agent-powerups
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata.
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider directly, need the response saved…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file,…