Skip to content

feat(skills): add demo-setup skill to design-thinking collection#1623

Open
chaosdinosaur wants to merge 17 commits into
mainfrom
feature/add-demo-setup-skill
Open

feat(skills): add demo-setup skill to design-thinking collection#1623
chaosdinosaur wants to merge 17 commits into
mainfrom
feature/add-demo-setup-skill

Conversation

@chaosdinosaur

@chaosdinosaur chaosdinosaur commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add the demo-setup skill to the design-thinking collection, introducing the first skill artifact in this collection.

Closes #1622

Changes

File Change
.github/skills/design-thinking/demo-setup/SKILL.md New skill file
.github/skills/design-thinking/demo-setup/references/demo-video-script-template.md New reference template for the demo video script
collections/design-thinking.collection.yml Added skill entry with kind: skill, maturity: preview
collections/design-thinking.collection.md Added Skills table section between Chat Agents and Prompts
collections/hve-core-all.collection.yml Added skill entry

What the Skill Does

Creates demo-ready prototypes by guiding users through a simulated DT Coach session with a customer persona, then scaffolding a hi-fi prototype. The workflow:

  1. Generates a customer persona brief with realistic conversation seeds
  2. Accelerates through DT Methods 1-6 with simulated customer dialogue (2-3 exchanges per method)
  3. Scaffolds a runnable hi-fi prototype directly at Method 7 via the inline Demo Scaffold Template
  4. Produces a presenter's walkthrough guide and demo video script

The skill is scenario-agnostic — users supply their own domain, persona, and prototype targets as inputs. Primary audience: new users learning HVE Core tools.

Dependencies

  • DT Coach agent (already in design-thinking collection)

Note: An earlier revision depended on a separate hifi-prototype skill. That dependency was removed in 28301ac2 — Method 7 scaffolding is now inlined via the Demo Scaffold Template, so no standalone hifi-prototype skill is required.

Validation Checklist

  • SKILL.md follows skill content structure conventions
  • Frontmatter includes name, description, and attribution suffix
  • Collection YAML updated with proper kind: skill entry
  • Collection markdown updated with Skills table
  • npm run validate:skills passes (demo-setup ✅ — 0 errors, 0 warnings)
  • npm run plugin:generate succeeds (to be verified in CI)

Closes #1622

Add the demo-setup skill that creates demo-ready prototypes by guiding
users through a simulated DT Coach session with a customer persona,
then scaffolding a hi-fi prototype via the hifi-prototype skill.

Changes:
- Add .github/skills/design-thinking/demo-setup/SKILL.md
- Add skill entry to collections/design-thinking.collection.yml
- Add Skills table to collections/design-thinking.collection.md
@chaosdinosaur
chaosdinosaur requested a review from a team as a code owner May 20, 2026 20:26
@codecov-commenter

codecov-commenter commented May 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.13%. Comparing base (05cd2e1) to head (3ab7a71).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1623      +/-   ##
==========================================
+ Coverage   82.72%   85.13%   +2.41%     
==========================================
  Files         154       87      -67     
  Lines       20782     9214   -11568     
  Branches       13       13              
==========================================
- Hits        17191     7844    -9347     
+ Misses       3589     1368    -2221     
  Partials        2        2              
Flag Coverage Δ
docusaurus 94.38% <ø> (ø)
pester 86.26% <ø> (+0.04%) ⬆️
pytest 53.11% <ø> (-26.97%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 71 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bindsi

bindsi commented May 22, 2026

Copy link
Copy Markdown
Member

/review

@github-actions

github-actions Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

PR Review completed successfully!

@github-actions github-actions Bot 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.

Advisory review — this PR is from a maintainer. Findings are informational only.

Review Summary

The demo-setup skill is well-conceived and the SKILL.md content is thorough and well-structured. The collection YAML and markdown updates follow existing conventions. The two inline comments flag items that need resolution before the PR can pass CI.


🔍 Issue Alignment

✅ Passes. The PR closes #1622 and addresses all stated acceptance criteria in spirit. The hifi-prototype dependency is documented in prose in the PR description and in the SKILL.md Prerequisites and Inputs sections. The issue's AC for "hifi-prototype dependency documented" is satisfied, though adding it to the design-thinking collection in a follow-up would improve discoverability.


⚠️ PR Template Compliance

The PR description does not follow the standard PR template structure (.github/PULL_REQUEST_TEMPLATE.md). Key missing sections:

  • Type of Change: No checkboxes checked. The "Copilot skill (SKILL.md)" box and "New feature" box should be checked.
  • Sample Prompts: Required for AI artifact contributions. Should show a sample invocation, execution flow, output artifacts, and success indicators.
  • AI Artifact Contributions checklist: Boxes for prompt-builder review and common standards compliance are not present.
  • Required Automated Checks checklist: npm run validate:skills and npm run plugin:generate are unchecked in the PR's own validation list — these must pass before merge.
  • Security Considerations: Section is absent; at minimum the "no sensitive information" checkbox should be confirmed.

⚠️ Code Quality

Missing scripts directory (see inline comment on SKILL.md line 1): Skills require paired .sh and .ps1 scripts. Without them, npm run validate:skills will fail. This is the root cause of the unchecked validation items.

Broken file reference (see inline comment on SKILL.md line 358): The Demo Video Script Template section references demos/contoso/order-intake/demo-video-script.md, which does not exist in the repository.


✅ Coding Standards

The SKILL.md frontmatter is well-formed with name, description, and attribution suffix. Collection YAML uses the correct directory-level path (kind: skill, maturity: preview). The collection markdown table placement (between Chat Agents and Prompts) is appropriate and consistent with the document's structure.


Action Items

  1. Add scripts/demo-setup.sh and scripts/demo-setup.ps1 to the skill directory to satisfy validate:skills.
  2. Resolve the broken demos/contoso/order-intake/demo-video-script.md reference — either create the file, point to an existing example, or remove the reference.
  3. Confirm npm run validate:skills and npm run plugin:generate both pass.
  4. Update the PR description to follow the standard template, including Sample Prompts and the AI Artifact checklist.

Generated by PR Review for issue #1623 · ● 14.3M

Comment thread .github/skills/design-thinking/demo-setup/SKILL.md Outdated
Comment thread .github/skills/design-thinking/demo-setup/SKILL.md
@chaosdinosaur
chaosdinosaur marked this pull request as draft May 22, 2026 14:01
Remove IFS SmartParts and NYDoc Verify built-in example scenarios from
the demo-setup SKILL.md. Demos now run exclusively from user-provided
customer, industry, persona, and problem inputs. Commit the
demo-video-script-template.md reference file that the skill loads
during Step 6.
Move Script Structure, Section Authoring Rules, and Content Derivation
tables from demo-setup SKILL.md into references/demo-video-script-template.md
to follow progressive disclosure guidance. SKILL.md retains a brief
pointer to the template reference.
- Update workflow table Step 1 description to reflect input-driven flow
- Point Step 6 directly to references template
- Bump last_updated to 2026-05-22
- introduce demo-setup skill for simulating DT Coach sessions
- update README and collection files to include demo-setup details
- refine demo video script template with new attribution

🤖 - Generated by Copilot
- update input and profile sections for better readability
- enhance troubleshooting and validation sections
- ensure consistent formatting across all tables

📚 - Generated by Copilot
@chaosdinosaur
chaosdinosaur marked this pull request as ready for review May 26, 2026 17:49

@WilliamBerryiii WilliamBerryiii left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you, @chaosdinosaur — this is a really thoughtful addition. Bundling a persona-driven DT Coach simulation, an accelerated Methods 1-6 walkthrough, and a hi-fi scaffold into one repeatable demo flow is exactly the kind of onboarding on-ramp new HVE Core users need, and the presenter's guide plus video script make it genuinely reusable. My comments are about scope and a couple of small consistency items, not the quality of the work. The main thing to sort before merge is the dependency on a hifi-prototype skill that isn't in the repo yet — happy to help shape a proposal for it. Two follow-ups for maintainers: demo-setup still needs registering in collections/design-thinking.collection.yml and .md (then npm run plugin:generate / extension:prepare / extension:prepare:prerelease), and the title-cased Hifi-Prototype references could match the lowercase skill name.

## Prerequisites

* DT Coach agent accessible (provided by the HVE Core extension)
* hifi-prototype skill accessible (workspace `.github/skills/hifi-prototype/`)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This prerequisite points at .github/skills/hifi-prototype/, but skills live under their collection id, so the path should be .github/skills/design-thinking/hifi-prototype/. More importantly, that skill isn't in the repo yet, and Step 4 / Method 7 hard-depends on it — so as written the demo can't complete its scaffold. Rather than block this PR, we should make a proposal for this skill addition: spec and build hifi-prototype as a companion prerequisite to demo-setup. Two of my own migrations are good precedents — #1857 (instruction→skill conversion plus the collection manifest updates) and #1841 (skill-root-relative paths and references/ layout). Happy to pair on the spec.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Resolved via the decouple path. Step 4 now generates the hi-fi prototype scaffold directly from the inline Demo Scaffold Template, so demo-setup no longer depends on a separate hifi-prototype skill, and the incorrect .github/skills/hifi-prototype/ prerequisite has been removed (commit 28301ac2). A standalone hifi-prototype skill can still be spec'd as a follow-up if we want to reuse Method 7 scaffolding elsewhere — happy to pair on that. Thanks for the precedents (#1857, #1841).

7. Apply `[SIMULATED]` badges to all mock components.
8. Pre-wire telemetry for page views, clicks, and task timing.

#### Hifi-Prototype Input Mapping

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tiny consistency nit: Hifi-Prototype here (and the reference on line 180) could be lowercased to hifi-prototype to match the actual skill name used elsewhere in the file.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 28301ac2 — the section is now titled Prototype Input Mapping and the title-cased Hifi-Prototype references are gone, so it stays consistent with the lowercase hifi-prototype naming used elsewhere.

├── style.css
├── app.js
├── telemetry.js
└── sim/fixtures/{domain-data}.js

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Small encoding artifact: this tree line renders with replacement characters (���──) instead of a box-drawing branch. It should read └── sim/fixtures/{domain-data}.js so the scaffold tree displays correctly.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Resolved — the scaffold tree now renders as └── sim/fixtures/{domain-data}.js with no replacement characters (verified 0 U+FFFD in the file).

@bindsi bindsi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Automated review (bindsi batch). The demo-setup skill SKILL.md is comprehensive and well-structured. The concern raised in prior reviews (WilliamBerryiii, github-actions bot) about unresolved dependencies (hifi-prototype skill not yet in the repo) and missing collection registration remain valid.

No new blocking findings beyond what's already been flagged:

  1. The hifi-prototype skill dependency doesn't exist in the repo yet — this skill cannot fully execute without it.
  2. Collection registration in design-thinking.collection.yml is still needed.
  3. The broken file reference to demos/contoso/order-intake/demo-video-script.md (flagged by the automated review) should be resolved.

Deferring to existing reviewer threads for resolution. No security/correctness issues in the skill specification itself.

@bindsi bindsi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Automated batch review: requesting changes for one blocking missing-dependency issue.

…ype dependency

The demo-setup skill hard-depended on a hifi-prototype skill that does not exist in the repo, and Method 7 today is documentation-only. Step 4 now generates the hi-fi prototype scaffold directly using the inline Demo Scaffold Template, removing the phantom prerequisite, the incorrect skill path, and the title-cased Hifi-Prototype references.
…p-skill

# Conflicts:
#	collections/hve-core-all.collection.md
#	collections/hve-core-all.collection.yml
#	plugins/design-thinking/.github/plugin/plugin.json
#	plugins/design-thinking/README.md
#	plugins/hve-core-all/README.md
@github-actions

Copy link
Copy Markdown
Contributor

Eval Execution

⚠️ No eval summary was produced.

@rezatnoMsirhC rezatnoMsirhC 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.

Thank you for this contribution, @chaosdinosaur. The demo-setup skill is well-structured and the decoupling work to remove the hifi-prototype dependency was a clean resolution.

The PR description's Dependencies section still references hifi-prototype as "exists in repo" and as a current dependency. Both are now false since the skill was decoupled in commit 28301ac2. Worth updating so future contributors are not sent looking for a skill that does not exist.

metadata:
authors: "microsoft/hve-core"
spec_version: "1.0"
last_updated: "2026-05-22"

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.

The last_updated field reads 2026-05-22, but the skill was substantially reworked in July 2026 when the hifi-prototype dependency was removed and the scaffold template was inlined. Consider updating this to the date of the final commit before merge.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 3ab7a715 — bumped last_updated to 2026-07-21 so the metadata reflects the July rework (the decouple in 28301ac2 and follow-ups) rather than the original May authoring date. Thanks for the catch.

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.

Step 2 sets session_mode: demo in coaching-state.md expecting the DT Coach to apply accelerated pacing, and Step 3 depends on that contract for the 2-3 exchanges-per-method flow. Could you add a reference to where this behavior is implemented in the DT Coach agent, so a reader can verify the contract holds? If the DT Coach does not yet recognize this field, this step would be worth flagging as a follow-up dependency rather than presenting it as working behavior.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, and you're right to ask for the reference — I verified and the DT Coach does not natively recognize session_mode. The coaching-state.md schema (dt-coaching-foundation/references/coaching-state.md) only defines initial_classification in the project block, and no agent or method instruction branches on session_mode or accelerated pacing.

Fixed in 3ab7a715:

  • Step 2 now describes session_mode: demo as a demo-setup marker that records the session type, not a field the Coach honors.
  • Step 3 makes explicit that this skill drives the 2-to-3-exchanges-per-method cadence (the Coach does not infer it from session_mode).
  • Added a Note under Step 2 and corrected the troubleshooting row that previously implied native recognition.

Formalizing session_mode in the DT Coach agent and the coaching-state schema is called out as a follow-up so the field becomes a real contract if we want it.

Reframe session_mode: demo as a demo-setup convention the DT Coach does not natively recognize; accelerated pacing is enforced by the skill's Step 3 direction. Refresh last_updated and align the troubleshooting row.
@chaosdinosaur

Copy link
Copy Markdown
Collaborator Author

@rezatnoMsirhC Updated the PR description. The Dependencies section no longer lists hifi-prototype — it was never a standalone skill in the repo, and the dependency was removed in 28301ac2. I also corrected the "What the Skill Does" step so it reflects that Method 7 scaffolding is now inlined via the Demo Scaffold Template rather than handed off to a separate skill. Thanks for flagging the stale references.

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.

Add demo-setup skill to design-thinking collection

5 participants