Add a feature to existing code
Extend code without breaking it.
chatgptclaude
Act as a senior developer. I want to add [feature] to this existing code: [paste]. Suggest the cleanest way to integrate it, write the changes, keep the existing behavior and style intact, and note anything to test. Explain your approach in a few lines. Language: [lang].
How to use this prompt
- Tap Copy prompt above.
- Replace the [bracketed] parts with your own details.
- Paste it into chatgpt, claude.