con un clic
demo-time
// Use when creating, updating, reviewing, or validating Demo Time act files and companion slides for this repository, especially .demo/*.yaml files, code highlight chunks, scene flow, and alignment with slides and src samples.
// Use when creating, updating, reviewing, or validating Demo Time act files and companion slides for this repository, especially .demo/*.yaml files, code highlight chunks, scene flow, and alignment with slides and src samples.
| name | demo-time |
| description | Use when creating, updating, reviewing, or validating Demo Time act files and companion slides for this repository, especially .demo/*.yaml files, code highlight chunks, scene flow, and alignment with slides and src samples. |
Create or refine Demo Time assets for this repository's MAF presentation flow.
Focus on:
.demo/.demo/slides/slides/ and samples in src/Match the numbering used by the source sample and slide deck.
Example: src/01-hello-agent.cs maps to .demo/01-hello-agent-demo.yaml and .demo/slides/01-hello-agent-start.md.
Align the demo narrative with the corresponding deck chapter.
Example: slides/01-foundations.md drives the flow for the 01-hello-agent demo.
Preserve the structure already used in the target act file.
If the existing file uses demos and steps, keep that shape.
If the existing file uses scenes and moves, keep that shape.
Do not rewrite the whole act just to normalize terminology.
Keep act files focused on one sample or one talk segment.
Use repo-relative paths in Demo Time actions.
Prefer YAML for Demo Time assets in this repository.
Read these before editing:
src/slides/.demo/, if it already exists.demo/slides/When highlights are involved, inspect exact line numbers before editing.
Structure the act in presentation order:
Keep each demo section focused on one visible idea. Examples:
For code walkthroughs, prefer these actions first:
openSlideopenhighlightOnly add more advanced actions if the requested demo actually needs them and the Demo Time docs confirm the syntax.
Do not default to single-line highlights.
Prefer chunk-based ranges that match how a presenter explains the code:
position: "1:3" for a block of linesposition: "10,5:20,10" only when partial-line emphasis is necessaryUse smaller chunks when the audience needs to follow the code step by step. Use larger chunks when a whole construct should stay visible together.
Avoid jumpy walkthroughs.
Good order:
Avoid reopening the same file in every step unless the editor context actually changed.
When the demo needs framing, add or update slides in .demo/slides/:
*-start.md for intro/context*-end.md for summary/transitionKeep these slides short and presenter-oriented.
If the act file already exists, update it in place. Preserve its naming, structure, and style unless the user explicitly asks for a rewrite.
If the sample is numbered, keep the number in all related demo assets.
If the current highlight is too narrow, widen it to a chunk. If it is too broad for live explanation, split it into multiple sequential chunks.
If you are unsure about an action property, check Demo Time documentation or schema before editing. Do not invent unsupported fields.
Before finishing:
The work is complete when:
src/02-tools.cs based on slides/01-foundations.md..demo/01-hello-agent-demo.yaml so the highlights move by logical code chunks.03-multi-turn demo.