Skip to content

cracktro: show original /agentic-workflows prompts on workflow slides - #77830

Merged
pelikhan merged 5 commits into
mainfrom
pelikhan/cracktro-workflow-prompt-footers
Nov 14, 2026
Merged

pelikhan merged 5 commits into
mainfrom
pelikhan/cracktro-workflow-prompt-footers

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

Each workflow slide in the cracktro talk now shows the prompt that started it. That ties the agent we demo back to the plain-language request that created it.

What changed

  • Prompt line on 11 slides. Slides 16, 19, 20, 22-25 and 27-30 each get an abridged /agentic-workflows ... line along the top. The text is the first user message of the Copilot session that created the slide's gh-aw workflow. It sits at the top because the bottom of most slides is already crowded.
  • Full-prompt dialog. Clicking /agentic-workflows opens a full-screen, phone-style (GitHub app) dialog with the complete prompt as a chat bubble. While it is open, deck keys, clicks and swipes are ignored, so the slide stays put. Escape, Done or a backdrop click closes it.
  • Skill docs. New .github/skills/cracktro/workflow-prompts.md documents the prompt-mining algorithm and the exact PR, task and session references, including skipped slides and why. It is linked from SKILL.md, and content-rules.md and docs/README.md are updated to match.

Mining algorithm

  1. Find the PR that added the workflow file (git log --diff-filter=A).
  2. If the PR body has an "Original prompt" block, use it. Older Copilot PRs have one.
  3. Otherwise, match the PR in the agents tasks API and read the earliest session's prompt.

The tasks API list caps at 500 results, so the scan pages through sort=updated_at&direction=asc&since= windows. Slides are skipped when the PR was human-authored, the prompt came from an issue, or the session prompt was empty or a review follow-up.

Review notes

  • Prompts are verbatim except that URL lines are removed to satisfy the deck's content rules (the only allowed URL is the docs link).
  • The new text passes the talk.spec.ts content checks. That regex still hits an existing githubnext/gh-cao reference on the Central Agentic Ops slide; this PR did not add it.
  • The Playwright suite was not run here: the Astro dev server fails locally because a sibling agentics checkout is missing. The dialog was checked manually in a browser.

Adds the first Copilot-session prompt that created each slide's workflow as a
top line; clicking /agentic-workflows opens the full prompt in a phone-style
GitHub app dialog. Documents the prompt-mining algorithm and exact PR/task/
session references in the cracktro skill.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 14, 2026 18:38
Copilot AI adaptive review requested due to automatic review settings November 14, 2026 18:38
…kflow-prompt-footers

# Conflicts:
#	.github/skills/cracktro/content-rules.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The modal does not contain keyboard focus or prevent background slide changes, and its key handling blocks native button activation, text copying, and prompt scrolling.

2 open issues
What changed in this PR

This PR connects the cracktro deck’s workflow examples to the plain-language requests that created them.

Changes:

  • Adds abridged /agentic-workflows prompts to 11 slides.
  • Adds a phone-style dialog displaying each full prompt, with deck input interception.
  • Documents prompt sourcing, references, exclusions, and public-content rules.
File Description
docs/​README.md Describes prompt lines and dialog controls.
docs/​public/​cracktro/​deck.js Adds prompt data, slide buttons, dialog styling, and interaction handlers.
.github/​skills/​cracktro/​workflow-prompts.md Documents prompt mining and source references.
.github/​skills/​cracktro/​SKILL.md Links the workflow-prompt guidance.
.github/​skills/​cracktro/​content-rules.md Records the public-content exception for original prompts.

Review effort: Balanced (dynamic)

Comment thread docs/public/cracktro/deck.js Resolved
Comment thread docs/public/cracktro/deck.js Resolved
pelikhan and others added 3 commits November 14, 2026 10:47
…flicts

The test reads .github/skills/cracktro/slides.md for headings, count and
illustrative notes; skill docs refer to slides by heading, never number.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan merged commit 62dc8a4 into main Nov 14, 2026
23 checks passed
@pelikhan
pelikhan deleted the pelikhan/cracktro-workflow-prompt-footers branch November 14, 2026 18:54
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.0

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.

2 participants