
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 번역)
프롬프트, 에이전트 지침, 기술 설명, 슬래시 명령을 작성하기위한 두 층 기술, 그리고 다른 곳에서 LLM은 지침을 읽습니다. Claude Code 및 OpenAI Codex CLI와 동일하게 작동합니다.
같은 SKILL.md, 같은 트리거 표면, 같은 outcome. ~/.claude/skills/directional-prompting/와 ~/.codex/skills/directional-prompting/]에 그것을 떨어뜨리고 두 에이전트는 기본적으로 선택합니다.
2개의 층
Layer 1 - 결과. 모든 비 트리 바이알 프롬프트는 대상을 지명하는 블록과 함께 열립니다. 목표, "done"와 같은 것, 중지 할 때, 진실한 invariants. 이것은 프레임입니다.
Layer 2 - 방향. 그 프레임 내부, 모든 문장은 긍정적 인 동사로 전달 경로. “Trace”, “build”, “use”, “read”, “return”, “ask”, “check”. 올바른 행동은 명확하게 설명하고 완전히 잘못된 행동은 존재하지 않는 방이 없다.
방향없이 Outcome는 소원으로 읽습니다. - 모델은 어디로 가야하지만 단계가 아닌지 알고 있습니다. outcome wanders없이 방향 - 모델은 어디서나 crisp 경로를 걸어. 두 층 모두 : 목적지를 알고 있으며 모든 토큰에 걸어.
왜 둘 다 실험실은 여기에서 융합합니다
이 페이지는 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