<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Prompt on On My Way</title>
    <link>https://tuanzi-wow.cn/tags/prompt/</link>
    <description>Recent content in Prompt on On My Way</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 09 Sep 2026 19:00:52 +0800</lastBuildDate>
    <atom:link href="https://tuanzi-wow.cn/tags/prompt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Prompting 要点</title>
      <link>https://tuanzi-wow.cn/codex/codex-prompting/</link>
      <pubDate>Mon, 07 Sep 2026 00:00:00 +0800</pubDate>
      <guid>https://tuanzi-wow.cn/codex/codex-prompting/</guid>
      <description>提示词结构要点：目标、上下文与输出的格式、长度与详细程度。</description>
      <content:encoded><![CDATA[<h2 id="prompting">Prompting</h2>
<h2 id="overview">overview</h2>
<p>Larger task,plz include these parts:
Goal
Context
Output: format,length,level of detail
Boundaries</p>
<h2 id="describe-the-result-u-need">Describe the result u need:</h2>
<p>not detailed list,but needed details those change what AI should produce</p>
<h2 id="add-useful-context">Add useful context:</h2>
<p>for example:
necessary attach file;
visual work: screenshot,image;and point out which area matters
web search: Explicitly( 显式地 ) ask to use Web Search in the conversation.
share resources: using a directory</p>
<h2 id="use-connected-sources">Use connected sources:</h2>
<p>name where it should look and what if should find</p>
<h2 id="using-plugins">Using plugins:</h2>
<p>plugins provide reusable instructions and connections to tools
Ask for the result u need and let the active surface choose from the tools available to it</p>
<h2 id="personalize-">Personalize :</h2>
<p>Put preferences that should apply across chats in <strong>Settings &gt; Personalization</strong> as custom instructions.</p>
<h2 id="set-boundaries-that-prevent-real-problems">Set boundaries that prevent real problems:</h2>
<p>avoid creating extra work or taking an action u did not asked.</p>
<ul>
<li>Keep the approved dates and budget figures unchanged.</li>
<li>Use only the supplied sources. Flag missing information instead of guessing.</li>
<li>Keep recommendations within the stated budget.</li>
<li>Prepare the message as a draft. Don&rsquo;t send it.
focus on the one or two boundaries that really matters</li>
</ul>
<h2 id="improve-the-result-with-follow-up-messages">Improve the result with follow-up messages:</h2>
<p>Your first prompt doesn&rsquo;t need to be perfect. Review the result, then ask for the specific change you want.</p>
<h2 id="steering-and-queuing">Steering and queuing:</h2>
<p>Steer add to the current run;Queue for the next run.
In the CLI,using Enter to steer,and Tab to queue.</p>
<h2 id="put-the-pieces-together">Put the pieces together:</h2>
<p>include the four parts(maybe not all) above</p>
<h2 id="use-voice-dictation">Use voice dictation:</h2>
<p>Ctrl+Shift+Tab</p>
<h2 id="prompting-examples-for-chat">Prompting examples for chat:</h2>
<p>start with the outcome u want and add details when it changes to the answer</p>
<h3 id="understand-a-topic">Understand a topic</h3>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">Explain how compound interest works for someone who has never invested.
</span></span><span class="line"><span class="cl">Use one concrete example and define any financial terms you introduce.
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="draft-and-refine-writing">Draft and refine writing</h3>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">Draft a friendly email declining this invitation because I will be traveling.
</span></span><span class="line"><span class="cl">Keep it under 120 words and leave the door open for a future event.
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="compare-options">Compare options</h3>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">Compare these two phone plans for one person who travels internationally twice
</span></span><span class="line"><span class="cl">a year. Show the important differences in a table, then recommend one and explain
</span></span><span class="line"><span class="cl">the tradeoff.
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="make-a-practical-plan">Make a practical plan</h3>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">Plan five weekday dinners that take less than 30 minutes. Avoid peanuts, reuse
</span></span><span class="line"><span class="cl">ingredients across meals, and finish with one consolidated shopping list.
</span></span></code></pre></td></tr></table>
</div>
</div><h2 id="prompting-codex">Prompting codex:</h2>
<p>Name the behavior u want,points to the relevant code or codebase or reproduction steps,preserves important constraints and says how to verify the change.</p>
<p>For a muti-step task,<strong>/plan</strong> when u want codex to investigate and propose an approach before editing.
<strong>/goal</strong> to set a persistent goal
CLI: using <strong>/mention</strong> and @ path autocomplete
Codex runs local commands inside a sandbox that limits file and network access</p>
<h2 id="explain-a-codebase">Explain a codebase:</h2>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">Explain how the request flows through the selected code.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Include:
</span></span><span class="line"><span class="cl">- a short summary of the responsibilities of each module involved
</span></span><span class="line"><span class="cl">- what data is validated and where
</span></span><span class="line"><span class="cl">- one or two &#34;gotchas&#34; to watch for when changing this
</span></span></code></pre></td></tr></table>
</div>
</div><h2 id="fix-a-bug">Fix a bug:</h2>
<p>Give Codex a reproduction recipe, plus the file(s) you suspect</p>
<p>Context notes: by u and by Codex itself
Verification:
Run the repro steps after fix
if u have a standard check pipeline ,ask it to run it</p>
<h2 id="write-a-test">Write a test:</h2>
<p>Prompt with a function name:
by the way,function name should be meaningful</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
