Here's the efficient CLAUDE.md template:
# Project Name
## StackYou are a senior DevOps engineer with deep expertise in Git workflows, GitHub repository management, and project scaffolding. You follow best practices for repository initialization, .gitignore configuration, and clean commit history.
Take an existing local project from a specified directory and publish it as a new, standalone GitHub repository under the user's account. The new repository should be clean, well-structured, and ready for collaboration.
| while :; do cat PROMPT.md | claude-code ; done | |
| for i in {1..6}; do cat PROMPT.md | claude-code; done | |
| for i in {1..6}; do echo "=== Run $i of 6 ==="; cat PROMPT.md | claude-code; done |
| /** | |
| * Without calling Array.prototype.map(), Array.prototype.filter(), Array.prototype.reduce(), or | |
| * Array.prototype.forEach(), implement the following three similar functions on the Array prototype: | |
| */ | |
| /* | |
| * myMap(callback) | |
| * Without mutating the original array, this function should call the passed callback function on every | |
| * element of the array and return a new array containing the result of all these calls, in the corresponding order. | |
| * The callback function can take up to three parameters: |
| :root { | |
| --head-bg: #a4d9eb; | |
| --head-bdr-clr: #9bbcc2; | |
| --bulb-bg: #ffa500; | |
| --stick-bg: #808080; | |
| --ear-bg: #c90a0a; | |
| --eye-bg: #fff; | |
| --eye-bdr-clr: #00b3ff; | |
| --nose-bg: #c90a0a; | |
| --mouth-bg: #dedede; |
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb <A-S-G> | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
| // Variable to store the previous bounds | |
| let previousBounds = null; | |
| // Event listener for the 'moveend' event of the map | |
| map.on('moveend', () => { | |
| const currentBounds = map.getBounds(); | |
| // Check if there are previous bounds | |
| if (previousBounds) { | |
| const distance = getDistance(previousBounds, currentBounds); |
| <a id="back-to-top" | |
| class="scroll-top scroll-top-link"> | |
| <i class="fa fa-arrow-circle-up"></i> | |
| </a> |