generated from bisco/codex-bootstrap
Initial commit
This commit is contained in:
36
.codex/prompts/refactor.md
Normal file
36
.codex/prompts/refactor.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Refactor prompt
|
||||
|
||||
```text
|
||||
You are working in this repository as Codex.
|
||||
|
||||
Mandatory instructions:
|
||||
- Read AGENTS.md and all relevant files under .codex/ before making changes.
|
||||
- Start from develop.
|
||||
- Create a dedicated refactor branch.
|
||||
- Preserve existing behavior.
|
||||
- Do not introduce new features.
|
||||
- Do not perform unrelated cleanups.
|
||||
- Add tests only if coverage is missing for the behavior being preserved.
|
||||
- Run the configured Docker-based test command from .codex/project.md.
|
||||
- Update documentation and ADRs if required.
|
||||
- Commit using Conventional Commits.
|
||||
|
||||
Refactor goal:
|
||||
<DESCRIBE THE REFACTOR HERE>
|
||||
|
||||
Non-goals:
|
||||
<LIST WHAT MUST NOT CHANGE>
|
||||
|
||||
Acceptance criteria:
|
||||
<LIST ACCEPTANCE CRITERIA HERE>
|
||||
|
||||
Final response must include:
|
||||
- branch name;
|
||||
- commit hash;
|
||||
- summary of changes;
|
||||
- confirmation that behavior is preserved;
|
||||
- tests executed and result;
|
||||
- documentation/ADR updates;
|
||||
- residual risks;
|
||||
- rollback notes.
|
||||
```
|
||||
Reference in New Issue
Block a user