<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>实战技巧 on Codexer</title><link>https://codexer.com/tags/%E5%AE%9E%E6%88%98%E6%8A%80%E5%B7%A7/</link><description>Recent content in 实战技巧 on Codexer</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 01 Jun 2026 09:00:00 +0800</lastBuildDate><atom:link href="https://codexer.com/tags/%E5%AE%9E%E6%88%98%E6%8A%80%E5%B7%A7/index.xml" rel="self" type="application/rss+xml"/><item><title>OpenAI 官方秀肌肉：三个 Codex 项目背后的提示词心法</title><link>https://codexer.com/posts/2026-06-01-codex-showcase-prompt-techniques/</link><pubDate>Mon, 01 Jun 2026 09:00:00 +0800</pubDate><guid>https://codexer.com/posts/2026-06-01-codex-showcase-prompt-techniques/</guid><description>&lt;h2 id="你知道-openai-自己也在秀codex-吗"&gt;你知道 OpenAI 自己也在「秀」Codex 吗？&lt;/h2&gt;
&lt;p&gt;很多开发者用 Codex 写业务代码、修 bug、做重构，但很少有人注意到，OpenAI 官方维护了一个 Codex Showcase 项目展示区。里面放着他们自己用 Codex 构建的完整项目，每个都附带了初始提示词和构建思路。&lt;/p&gt;
&lt;p&gt;这不是普通的 demo。这些项目展示了 Codex 在不同场景下的最佳使用方式，也暴露了一些大多数用户不知道的隐藏功能。比如，你可以在 Codex 中用 &lt;code&gt;$imagegen&lt;/code&gt; 技能直接调用图像生成，或者用 &lt;code&gt;@Build&lt;/code&gt; 插件让 Codex 控制你的桌面应用。&lt;/p&gt;
&lt;p&gt;今天我们拆解其中三个项目，看看 OpenAI 自己是怎么「驾驭」Codex 的。&lt;/p&gt;
&lt;h2 id="项目一用-codex-做一个地牢探索游戏"&gt;项目一：用 Codex 做一个地牢探索游戏&lt;/h2&gt;
&lt;p&gt;OpenAI 的第一个展示项目叫 Swifty Dungeon，一个用 SwiftUI 写的第一人称地牢探索游戏。有贴图、有精灵图、有遥测数据，不是玩具级别的东西。&lt;/p&gt;
&lt;p&gt;他们给 Codex 的初始提示词是这样的：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Use $imagegen and @Build macOS apps to build a native macOS first-person dungeon crawler.&lt;/p&gt;
&lt;p&gt;First, use $imagegen to generate a screenshot/interface of the ideal app: a native SwiftUI Liquid Glass app with the playable dungeon view in the center, the character and on-screen arrow keys in the bottom area, and player status plus inventory in the right sidebar.&lt;/p&gt;</description></item></channel></rss>