Skip to content

feat(c-examples): aviation prompts for 7 simple c-* graphs (PR 2 of 4)#350

Merged
blove merged 2 commits into
mainfrom
c-aviation-prompts-pr2
May 16, 2026
Merged

feat(c-examples): aviation prompts for 7 simple c-* graphs (PR 2 of 4)#350
blove merged 2 commits into
mainfrom
c-aviation-prompts-pr2

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 16, 2026

Summary

PR 2 of 4 in the c-* aviation theme rollout (spec: `docs/superpowers/specs/2026-05-16-c-examples-aviation-prompts-design.md`). Rewrites 7 prompt files for the simple `_build_prompt_graph` c-* graphs to share a unified aviation-assistant character.

Files rewritten

  • `messages.md` — generic aviation assistant
  • `input.md` — generic aviation assistant
  • `debug.md` — generic aviation assistant
  • `interrupts.md` — generic + booking-confirmation pause hook
  • `theming.md` — generic aviation assistant
  • `threads.md` — generic + thread-context hook
  • `timeline.md` — generic + multi-turn checkpoint hook

Pattern

All 7 share the same opener: "You are a friendly aviation assistant helping travelers with flights, airports, and trip questions. ... mock dataset covers 10 US airports (LAX, JFK, SFO, ORD, BOS, ATL, DFW, SEA, MIA, DEN) and 4 airlines (AA, UA, DL, B6)."

Three prompts append primitive-specific direction:

  • c-interrupts: when user wants to book, pause and ask for confirmation
  • c-threads: keep responses scoped to the current thread's topic
  • c-timeline: keep answers short so checkpoints are clean units

The other 4 (messages, input, debug, theming) don't need primitive-specific hooks — the chat-lib primitives they demonstrate work regardless of prompt direction.

Out-of-scope

  • PR 3: c-generative-ui dashboard → airline KPI dashboard
  • PR 4: c-a2ui contact form → aviation booking form
  • Manual chrome MCP smoke (requires `OPENAI_API_KEY` configured for the langgraph dev backend)

Test plan

  • Markdown-only PR; no code changes
  • CI verifies python build (the prompts are loaded at runtime by `_build_prompt_graph`)
  • Manual chrome MCP smoke per c-* demo (deferred, needs API key)

🤖 Generated with Claude Code

blove and others added 2 commits May 15, 2026 20:13
Rewrites 7 simple c-* prompt files (messages, input, debug, interrupts,
theming, threads, timeline) to use a shared aviation-assistant character.
All graphs are single-node prompt-loaders so this is markdown-only.

Three prompts get primitive-specific hooks:
- interrupts: booking confirmation pause
- threads: multi-thread context awareness
- timeline: multi-turn planning encouragement

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 16, 2026 3:24am

Request Review

@blove blove merged commit b068baa into main May 16, 2026
16 checks passed
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