Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit cf61dfd

Browse files
committed
docs: add preferred working methodology to copilot instructions
- Add guidelines for working in small, manageable steps - Include parallel changes methodology for independent modifications - Specify separation between refactoring and feature commits - Add requirement for planning complex tasks with confirmation - Include rollback strategies and risk mitigation for critical changes This ensures AI-assisted development follows incremental, well-organized approach with clear separation of concerns and proper planning.
1 parent 7f3251a commit cf61dfd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/copilot-instructions.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,31 @@ When providing assistance:
303303
- Provide clear explanations and documentation
304304
- Consider the migration to Hetzner infrastructure in suggestions
305305

306+
#### Preferred Working Methodology
307+
308+
**Work in Small Steps:**
309+
- Break down complex tasks into small, manageable increments
310+
- Each step should be independently testable and reviewable
311+
- Prefer multiple small commits over large monolithic changes
312+
313+
**Parallel Changes When Possible:**
314+
- Identify changes that can be made independently
315+
- Suggest parallel work streams for unrelated modifications
316+
- Separate concerns to enable concurrent development
317+
318+
**Separate Refactors from Features:**
319+
- **Refactoring commits**: Focus solely on code structure, organization, or cleanup
320+
- **Feature commits**: Focus on adding new functionality or enabling features
321+
- Never mix refactoring with feature addition in the same commit
322+
- Always complete refactoring first, then add features in subsequent commits
323+
324+
**Complex Tasks and Bug Fixes:**
325+
- For any task that requires multiple intermediary steps, always present a plan first
326+
- Break down the approach into numbered steps with clear objectives
327+
- Ask for confirmation before implementing the plan
328+
- Include rollback strategies for critical changes
329+
- Identify potential risks and mitigation strategies upfront
330+
306331
#### Git Actions and Permission Requirements
307332

308333
**IMPORTANT**: Git actions that change repository state require explicit permission:

0 commit comments

Comments
 (0)