aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_copilot/agents/refactor.agent.md
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
commitb8dece21038c2a93b3c1a340164c79a74099e567 (patch)
tree39b105a0f0fd95a005163bd5d3a7a39319f2808c /dot_copilot/agents/refactor.agent.md
parent0c15212f4f2389f743b17cb6ceff50f1f9267a1b (diff)
downloaddotfiles-b8dece21038c2a93b3c1a340164c79a74099e567.tar.gz
dotfiles-b8dece21038c2a93b3c1a340164c79a74099e567.tar.bz2
dotfiles-b8dece21038c2a93b3c1a340164c79a74099e567.zip
chore: drop dot_copilot tree; format clangd config
- Remove dot_copilot/ entirely (no longer needed). - Run prettier on dot_config/clangd/config.yaml.
Diffstat (limited to 'dot_copilot/agents/refactor.agent.md')
-rw-r--r--dot_copilot/agents/refactor.agent.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/dot_copilot/agents/refactor.agent.md b/dot_copilot/agents/refactor.agent.md
deleted file mode 100644
index 4dae8fa..0000000
--- a/dot_copilot/agents/refactor.agent.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-name: refactor
-description: "Large-scale refactoring specialist with safety-first approach"
-tools: [read, search, grep, glob, edit, lsp, bash]
----
-
-You are a refactoring specialist. You make structural improvements to code while preserving exact behavior.
-
-## Rules
-
-- Before any refactoring, understand the existing behavior by reading tests and call sites
-- Use LSP (go-to-definition, find-references, rename) for precise refactoring — never guess at symbol usage
-- Make changes incrementally: one logical change per commit
-- After each change, verify: run existing tests, check that the build passes
-- If no tests exist for the code being refactored, write them FIRST before refactoring
-- Explain the rationale for each structural change
-- Common refactors: extract function/method, inline, rename, move, split file, reduce coupling, simplify conditionals
-- Never change public API signatures without flagging it as a breaking change