Skip to content

feat: teach voiceflow-prompting a conversational writing style (COR-16415) - #32

Closed
peter-isaacs wants to merge 1 commit into
voiceflow:mainfrom
peter-isaacs:peter/conversational-prompting-style
Closed

peter-isaacs wants to merge 1 commit into
voiceflow:mainfrom
peter-isaacs:peter/conversational-prompting-style

Conversation

@peter-isaacs

@peter-isaacs peter-isaacs commented Dec 1, 2026 •

Copy link
Copy Markdown

COR-16415

Problem and resulting behavior

voiceflow-prompting says what each instruction layer holds and how to wire it, but not how to write the instructions. Without that, assistants fall back to XML sections, "You are NOT" lists, if-the-user-asks rules and edge-case lists. Agents written that way follow rules rigidly, handle anything off the list inconsistently, and behave differently from model to model.

This adds a conversational writing style that has held up across models in recent agent work. Instructions describe the agent's world and how a conversation goes, then end with a few ranked must-haves. It also adds a draft-against-published test loop.

File Change
voiceflow-prompting/SKILL.md New How to write it section after the layer split (8 rules + link to the reference). New Test the change step at the end. Two review checks: escape-hatch conditions, and must-haves buried in a list of options. "Use descriptive sections and concrete conditions" moves into the new section; the WHAT + WHEN rule stays. Mechanics unchanged.
voiceflow-prompting/references/conversational-style.md New skill-only reference (not a shared copy): the idea, a section skeleton per layer, a before/after global prompt for a fictional bike shop, how to write must-haves, four regressions with their fixes, and the test loop.
evals/cases.json 3 product cases (below).
package-files.txt Adds the new reference.

Verification

Repository checks (run locally):

  • python3 scripts/validate.py: passes
  • python3 -m unittest discover -s tests: 175 tests, OK (1 skipped)
  • python3 scripts/build.py: builds

Acceptance cases added, not yet run against a host or model:

  • prompt-restructure-style: rewrite an XML-style prompt into the world / conversation / must-haves structure, without publishing
  • prompt-escape-hatch: an agent that never asks its clarifying question; the fix replaces "if needed" with an exact condition and re-runs the scenario
  • prompt-buried-must-have: a comparison written as text; the fix moves the rule out of a list of options into the must-haves and checks the tool call

Runtime evidence for the style itself (not a run of the skill): a live retail demo agent was restructured into this style by hand and compared with its published version through the conversation API. The first run used 18 conversations: the new prompts held their recommendation under pushback where the old one gave way, and answers got shorter. It also had four regressions, which became the reference's lessons table. After fixing those, the failing scenarios were re-run on the draft (7 conversations) and all four passed. Its write tools were checked before and after: no records changed.

Compatibility and release notes

  • No change to prerequisites, installation, the CLI or MCP surface, or support claims.
  • The new reference ships with the skill and is listed in package-files.txt. It isn't a shared reference, so sync_shared_references.py leaves it alone.
  • voiceflow-prompting is adapted from the Creator skill library, and Atlas reads its own copy there (apps/realtime/src/copilot/skills/skills/prompting/SKILL.md), which still teaches Identity / "You are NOT" sections. A later sync could contradict this change unless the source is updated too. That's left for the maintainers to decide.
  • No changelog entry or version bump; left for the release.
  • The examples are synthetic: a fictional brand, and no customer names or data.

…6415)

Add a How to write it section (world first, conversation as the task,
ranked must-haves last, exact conditions), a Test the change step, two
review checks, and a conversational-style reference with a section
skeleton per layer, a before/after example and lessons from real
regressions. Add three eval cases.
@peter-isaacs
peter-isaacs force-pushed the peter/conversational-prompting-style branch from 05d86ca to be64b87 Compare December 1, 2026 23:41
@peter-isaacs peter-isaacs changed the title feat: teach voiceflow-prompting a conversational writing style feat: teach voiceflow-prompting a conversational writing style (COR-16415) Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant