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 about to add a new helper, utility, or abstraction, a task sounds like a solved problem, a new external dependency is being considered, or custom code is proposed without checking what already exists.
$ npx -y skills add yeaight7/agent-powerups --skill search-before-building --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/search-before-buildingContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when about to add a new helper, utility, or abstraction, a task sounds like a solved problem, a new external dependency is being considered, or custom code is proposed without checking what already exists.
name: search-before-building description: Use when about to add a new helper, utility, or abstraction, a task sounds like a solved problem, a new external dependency is being considered, or custom code is proposed without checking what already exists.
Before implementing new functionality, verify it does not already exist and that the best option has been considered.
Run in order. Stop when you find a satisfactory answer.
Search the current codebase before anything else:
rg "<keyword>" src/ lib/ --type ts --type js -l rg "<keyword>" --glob "*.py" -l
Check: Does equivalent logic already exist? Is it importable as-is, or would it need wrapper work?
Search the relevant registry for the project language:
| Language | Registry | Search method | | --- | --- | --- | | TypeScript/JS | npm | `npm search <keyword>` or npmjs.com | | Python | PyPI | `pip index search <keyword>` or pypi.org | | Go | pkg.go.dev | web search `site:pkg.go.dev <keyword>` | | Rust | crates.io | `cargo search <keyword>` |
Score each candidate:
Check whether an MCP server already provides this capability:
# List currently configured MCP servers cat .mcp.json 2>/dev/null || cat ~/.claude/settings.json | grep -A5 '"mcpServers"'
Check the Agent Powerups catalog for MCP configs:
apx list --type mcp-config
If a server covers the need, prefer configuring it over writing code.
Before adopting a package, verify:
| Finding | Action | | --- | --- | | Exact match in repo | **Reuse** — import and use; refactor only if the interface is incompatible | | Exact external match, acceptable risk | **Adopt** — install and use directly; do not wrap unless the API is hostile | | Partial match | **Wrap** — install, write a thin adapter; keep the adapter < 50 lines | | Multiple weak matches | **Compose** — combine 2–3 small packages; document why | | No suitable option | **Build** — write custom code; document the gap search found |
This check is mandatory before:
If time-boxed, spend at most 5 minutes on Steps 1–2 before deciding.
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,…