<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Refactoring and maintenance | SpecDD</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/</link><description>Spec-driven development refactoring and maintenance guides for preserving behavior, updating specs, moving files, extracting modules, retiring obsolete specs, and removing dead code.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://specdd.ai/how-to/refactoring-and-maintenance/index.xml" rel="self" type="application/rss+xml"/><item><title>How to refactor with SpecDD</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-refactor-with-specdd/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-refactor-with-specdd/</guid><description>Refactor with spec-driven development by capturing current behavior in local specs, confirming authority, changing structure in small steps, and verifying behavior stayed the same.</description></item><item><title>How to refactor with agents safely</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-refactor-with-agents-safely/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-refactor-with-agents-safely/</guid><description>Refactor with agents safely by constraining scope, reviewing the plan, preserving spec-driven development behavior, running checks, and rejecting boundary-crossing changes.</description></item><item><title>How to update specs during refactoring</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-update-specs-during-refactoring/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-update-specs-during-refactoring/</guid><description>Update SpecDD specs during refactoring in a spec-driven development workflow by changing ownership, paths, structure, references, tasks, and Done when only when the refactor changes them.</description></item><item><title>How to retire obsolete specs</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-retire-obsolete-specs/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-retire-obsolete-specs/</guid><description>Retire obsolete SpecDD specs safely in a spec-driven development workflow by proving they no longer govern behavior, moving live rules, checking references, and deleting stale files with validation.</description></item><item><title>How to split modules with local specs</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-split-modules-with-local-specs/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-split-modules-with-local-specs/</guid><description>Split modules with local SpecDD specs in a spec-driven development workflow by preserving parent constraints, moving ownership to child specs, avoiding duplicated rules, and verifying behavior.</description></item><item><title>How to move code without losing spec authority</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-move-code-without-losing-spec-authority/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-move-code-without-losing-spec-authority/</guid><description>Move code without losing SpecDD authority in a spec-driven development workflow by moving or updating local specs, ownership paths, references, same-basename matches, and checks.</description></item><item><title>How to extract a module with SpecDD</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-extract-a-module-with-specdd/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-extract-a-module-with-specdd/</guid><description>Extract a module with spec-driven development by defining target ownership, preserving behavior, moving tests, updating dependencies, and keeping specs and code aligned.</description></item><item><title>How to rename or move files without breaking spec resolution</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-rename-or-move-files-without-breaking-spec-resolution/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-rename-or-move-files-without-breaking-spec-resolution/</guid><description>Rename or move files without breaking SpecDD resolution in a spec-driven development workflow by updating same-basename specs, directory specs, path references, roots, and validation checks.</description></item><item><title>How to remove dead code with SpecDD</title><link>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-remove-dead-code-with-specdd/</link><guid>https://specdd.ai/how-to/refactoring-and-maintenance/how-to-remove-dead-code-with-specdd/</guid><description>Remove dead code with spec-driven development by proving behavior is obsolete, updating governing specs, deleting code and tests safely, and avoiding stale rules.</description></item></channel></rss>