Skip to content

Instantly share code, notes, and snippets.

@oneryalcin
Created January 15, 2025 14:12
Show Gist options
  • Save oneryalcin/d420b451407cb613f5aca3d24ff60575 to your computer and use it in GitHub Desktop.
Save oneryalcin/d420b451407cb613f5aca3d24ff60575 to your computer and use it in GitHub Desktop.
Dan Mac's O1 Prompt (@daniel_mac8) https://x.com/daniel_mac8/status/1878898045175091434
# O1 Coding Prompt Template
## Input Format Paste your coding brainstorm/thoughts below:
``` [Your brainstorm here] ```
## Output Format
### Goal
[One clear sentence stating what you want to achieve]
### Return Format
- Return the complete working code solution
- Include all necessary imports and dependencies
- Specify file structure and locations
- Note any environment setup requirements
- Flag any potential gotchas or edge cases
### Warnings
- Highlight any performance considerations
- Note any security implications
- List potential breaking changes
- Specify version dependencies
- Flag any rate limits or API constraints
### Context Dump
- Current codebase structure and relevant files
- Related systems or services this interacts with
- Previous solutions or attempts
- Performance requirements
- Scale considerations
- Team conventions or preferences to follow
- Any existing patterns to maintain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment