READ FIRST: docs/file-management-spec.md
- List affected files explicitly
- State file operations clearly:
When working with Claude Code on web applications, a common issue occurs where Claude creates new files with updated logic but leaves old files with outdated logic intact. This leads to:
| setTimeout(() => { | |
| (function () { | |
| var jq = document.createElement('script'); | |
| jq.src = 'https://code.jquery.com/jquery-3.6.0.min.js'; | |
| jq.onload = function () { | |
| var easing = document.createElement('script'); | |
| easing.src = 'https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js'; | |
| easing.onload = function () { | |
| $(function () { |
| // Angular controller | |
| $scope.imageUpload = function(event, index) { | |
| var files = event.target.files //FileList object | |
| for (var i = 0; i < files.length; i++) { | |
| var file = files[i] | |
| var reader = new FileReader() | |
| reader.onload = (function(index){ | |
| return function(e) { |