
kingbootoshi/directional-prompting
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
kingbootoshi/directional-prompting は [https://github.com/kingbootoshi/directional-prompting.] からインポートされたエージェントスキルの候補です
概要
kingbootoshi/directional-prompting は [https://github.com/kingbootoshi/directional-prompting.] からインポートされたエージェントスキルの候補です
概要(AI 翻訳)
プロンプト、エージェントの指示、スキルの説明、スラッシュコマンド、その他のLMが指示を読み込むための2層のスキル。 Claude Code と OpenAI Codex CLI で同じ動作します。
同じ[SKILL.md]、同じトリガー表面、同じ結果。 [~/.claude/skills/directional-prompting/と~/.codex/skills/directional-prompting/にドロップすると、両方のエージェントがネイティブにピックアップします。
2つのレイヤー
**層 1 — アウトカム ** すべての非トリバイアルプロンプトは、宛先の名前のブロックで開きます: 目標, 「完了」が見えるもの, 停止するとき, 真の無variants. フレームです。
層2 — 方向。 その枠の内側に、すべての文は、正の動詞で進むパスを名前付けます。 “Trace”, “build”, “use”, “read”, “return”, “ask”, “check”, “check”, “check”", “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “re”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “return”, “check”, “return”, “return”, “return”, “return”, “return”, “re”, “return”, “re”, “return”, “return”, “return”, “return”, “re”, “return”, “re”, “return”, “re”, “return”, “re”, “return”, “re”, “return”, “re”, “return”, “re”, “re”, “return”, “re”, "re 正しい行動は明らかに記述され、誤った行動が存在しない部屋があることは完全に記述されます。
向きのないアウトカムは、望みどおりに読み込まれます。モデルは、どこに行くべきかではなく、ステップする方法を知っている。 アウトプットワンダーなしのディレクション — どこにも鮮明なパスを歩くモデル。 どちらのレイヤーも: 目的地を知り、すべてのトークンでそれに向かって歩くモデル。
両方のラボがここに収まる理由
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Directional Prompting
A two-layer skill for writing prompts, agent directives, skill descriptions, slash commands, and anywhere else an LLM reads instructions. Works the same in Claude Code and OpenAI Codex CLI.
Same SKILL.md, same trigger surface, same outcome. Drop it into ~/.claude/skills/directional-prompting/ and ~/.codex/skills/directional-prompting/ and both agents pick it up natively.
The two layers
Layer 1 — Outcome. Every non-trivial prompt opens with a block that names the destination: the goal, what “done” looks like, when to stop, the true invariants. This is the frame.
Layer 2 — Direction. Inside that frame, every sentence names the path forward with positive verbs. “Trace”, “build”, “use”, “read”, “return”, “ask”, “check”. The correct behavior is described so clearly and completely that the wrong behavior has no room to exist.
Outcome without direction reads as wishful — the model knows where to go but not how to step. Direction without outcome wanders — the model walks crisp paths to nowhere. Both layers together: a model that knows the destination and walks toward it on every token.
Why both labs converge here
Modern frontier models follow instructions literally. The Claude 4.7 guide: “Positive examples showing how Claude can communicate with the appropriate level of concision tend to be more effective than negative examples or instructions that tell the model what not to do.” The GPT-5.5 guide: “GPT-5.5 is strongest when the prompt defines the target outcome, success criteria, constraints, and available context, then lets the model choose the path.”
Both labs converge on the same shape. Name the destination. Name the path. Skip the prohibitions.
What this skill does
When the agent sees prompt-authoring language (write a prompt, improve this prompt, audit this system prompt, outcome-first, make this prompt positive, or any new skill, agent, or directive being authored), it:
- Opens the draft with an explicit outcome block:
Goal:,Success means:,Stop when:(plusConstraints:when needed). - Rewrites the body so every sentence leads with a positive verb naming the correct action.
- Audits the draft for
don't,do not,never,avoid,refrain,instead of,rather than,not allowed,prohibited,forbidden,won't,shouldn't— and rewrites each as the positive replacement. - Demotes decorative
ALWAYS/NEVER/MUSTdown to plain prose so the absolute-rule signal stays loud where it matters.
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add kingbootoshi/directional-prompting