prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost…
Use when code needs restructuring without changing observable behavior.
Claude Code
$ npx -y skills add yeaight7/agent-powerups --skill safe-refactor --agent claude-code
Codex
$ npx skills add yeaight7/agent-powerups --skill safe-refactor -a codex -y
Cursor
$ npx skills add yeaight7/agent-powerups --skill safe-refactor -a cursor -y
Gemini CLI
$ npx skills add yeaight7/agent-powerups --skill safe-refactor -a gemini-cli -y
GitHub Copilot
$ npx skills add yeaight7/agent-powerups --skill safe-refactor -a github-copilot -y
OpenCode
$ npx skills add yeaight7/agent-powerups --skill safe-refactor -a opencode -y
Windsurf
$ npx skills add yeaight7/agent-powerups --skill safe-refactor -a windsurf -y
name: safe-refactor description: Use when code needs restructuring without changing observable behavior.
Restructure code in small, safe steps while preserving all externally observable behavior. Prevents refactor regressions where behavior silently changes.
Do not use this skill if there are no existing tests — write tests first.
1. **Confirm behavior** — Run the test suite. All tests must pass before starting. 2. **Plan** — List the structural changes. Check each for API impact. 3. **Refactor in small steps** — One change at a time, each independently reversible. 4. **Avoid interface changes** — Do not alter public APIs, exported types, or CLI behavior unless explicitly intended. 5. **Validate after each step** — Re-run targeted tests after each meaningful change.
Changed: - <structural change 1> - <structural change 2> Behavior unchanged because: <reasoning> Validated by: <test commands run>
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
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost…
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test…
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or…
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.