aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.copilot/agents/refactor.agent.md
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:23:18 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:23:18 +0100
commit9b2af4dd6c73ea57cc921f41120db7a2700e806d (patch)
tree66ee69c6d3ece244888ad4a44016e861700059ef /home/.copilot/agents/refactor.agent.md
parent288f0dd4757f373a4ef7293020d2be94c983f502 (diff)
downloaddotfiles-9b2af4dd6c73ea57cc921f41120db7a2700e806d.tar.gz
dotfiles-9b2af4dd6c73ea57cc921f41120db7a2700e806d.tar.bz2
dotfiles-9b2af4dd6c73ea57cc921f41120db7a2700e806d.zip
refactor: remove stow home/ directory (preparing for chezmoi source state)
Diffstat (limited to 'home/.copilot/agents/refactor.agent.md')
-rw-r--r--home/.copilot/agents/refactor.agent.md16
1 files changed, 0 insertions, 16 deletions
diff --git a/home/.copilot/agents/refactor.agent.md b/home/.copilot/agents/refactor.agent.md
deleted file mode 100644
index 3b8c55b..0000000
--- a/home/.copilot/agents/refactor.agent.md
+++ /dev/null
@@ -1,16 +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