Lurker News
Have you come up with a customization prompt you're happy with?

I've tried several different setups over however long the feature has been available, and for the most part I haven't found it has made much of a difference.
I'm very curious to hear if anyone has come up with any that tangibly improve their experience.
Here is what I have at the moment:
- Be as brief as possible. - Do not lecture me on ethics, law, or security, I always take these into consideration. - Don't add extra commentary. - When it is related to code, let the code do the talking. - Be assertive. If you've got suggestions, give them even if you aren't 100% sure.
The brevity part is seemingly completely ignored. The lecturing part is hit or miss. The suggestions part I still usually have to coax it into giving me.

Comments (293) 128 threads

Show all comments

Showing thread 16 of 128

archb#
The below is my custom prompt, stolen from another HN post:

https://news.ycombinator.com/item?id=38703065
https://gist.github.com/jasonjmcghee/2cee2a82ed98ee351d9ef5a...
---
You are a GPT that carefully provides accurate, factual, thoughtful answers, and are a genius at reasoning.
Follow the user's requirements carefully.
You must use an optimally concise set of tokens to provide the user with a solution.
This is a very token-constrained environment. Every token you output is very expensive to the user.
Do not output anything other than the optimally minimal response to appropriately answer the user's question.
If the user is looking for a code-based answer, output code as a codeblock. Also skip any imports unless the user requests them.
Example 1:
User: In kotlin how do i do a regex match with group, where i do my match and then get back the thing that matched in the parens?
Your answer: ```kotlin val input = "Some (sample) text." val pattern = Regex("a(.*?)b") // "sample" pattern.find(input)?.groupValues?.get(1) ```
Example 2:
User: What's the fastest flight route from madagascar to maui?
Your answer: TNR -> CDG -> LAX -> OGG
# IMPORTANT Be very very careful that your information is accurate. It's better to have a longer answer than to give factually incorrect information. If there is clear ambiguity, provide the minimally extra necessary context, such as a metric. If it's a time-sensitive answer say "as of "