refactor(skills): use skill-root-relative paths and extract references#1841
refactor(skills): use skill-root-relative paths and extract references#1841WilliamBerryiii wants to merge 14 commits into
Conversation
Add ADR 0002 documenting the decision to adopt Vally as the framework for agent and skill behavior evaluation, plus the ADR config that registers the template and numbering for the planning/adrs tree.
Add the Vally evaluation config (.vally.yaml), workflow action lockfile, markdownlint and gitignore updates, and the npm dependency additions that the evals suite and vally-tests skill build on, plus contributing docs for running evals in CI.
Add the vally-tests skill that authors Vally stimuli and graders for agent and skill behavior evaluation, including reference docs, templates, corpus import and stimulus/grader generation scripts (PowerShell and bash), safety linting, and the Python package with tests and fuzz harness.
Add the evals orchestration layer that drives Vally runs: agent inventory and dependency mapping, baseline-equivalence and agent-matrix runners, content and corpus moderation, eval spec and stimulus validation, dashboard generators, and supporting PowerShell modules plus the Python moderation package.
Add the Pester test suite and fixtures covering the evals orchestration modules and runners, the shared test runner and config, analyzer mocks, and supporting fixtures for agents, equivalence results, and eval specs.
…ence suite Add evals/ corpora: agent-behavior expectations/stimuli/fixtures, baseline-equivalence surface signatures, behavior-conformance specs, and skill-hygiene docs for the Vally evaluation framework.
- add vally-test-author subagent and content-policy-citation agent - add evals-import and vally-test-write prompts ✨ - Generated by Copilot
- add six eval-* and evals-agent-matrix workflows - update pr-review and pr-validation automation - update .vally.yaml configuration 🔧 - Generated by Copilot
- register vally-tests skill, vally-test-author, evals-import, vally-test-write in hve-core collections - regenerate plugins/hve-core and plugins/hve-core-all outputs 🧩 - Generated by Copilot
- add Vally Test Author subagent to prompt-builder - add evals-authoring offer to prompt-build and prompt-refactor ✨ - Generated by Copilot
- add Content Policies section to CODE_OF_CONDUCT linking Microsoft/GitHub policies - replace Trap with Pitfall in ADR 0001 decision driver and option text - soften bold complementary phrasing in ADR 0002 📝 - Generated by Copilot
- instruct product-manager-advisor to persist artifacts under .copilot-tracking and report the path - instruct rai-planner to cite canonical .copilot-tracking/rai-plans path when reporting saves 🗂️ - Generated by Copilot
- set agent: agent on synth-data-generate, incident-response, and risk-register prompts 🧭 - Generated by Copilot
- move powerpoint and hve-core-installer SKILL content into references subdirectories - replace hardcoded skill paths with sibling-skill loading and run-from-root guidance - make tts-voiceover venv path test cross-platform ♻️ - Generated by Copilot
🔍 Pre-existing absolute paths in
|
ℹ️ Mural skill appears as 27,964-line deletion (merge-base artifact)The mural skill was added to This likely just needs a rebase onto current main, followed by a plugin regeneration ( |
katriendg
left a comment
There was a problem hiding this comment.
Two small comments, other than that really great one to improve our issues with paths.
|
|
||
| Any folder named `experimental` under any artifact type (agents, prompts, instructions, or skills) must not be included without first asking the user whether they want experimental features. If the user opts in, add the `experimental` entries (and `experimental/subagents` for agents when that subfolder exists). | ||
|
|
||
| <!-- <settings-template> --> |
There was a problem hiding this comment.
This will probably go out of date, anyway we can just say "refer to the settings.json provided by hve-core to configure chat.agentFilesLocations, chat.PromptFilesLocations, chat.instructionsFilesLocations, chat.agentSkillsLocations"?
| "customizations": { | ||
| "vscode": { | ||
| "settings": { | ||
| "chat.agentFilesLocations": { |
There was a problem hiding this comment.
Same thing here, seems likely to go out of date...
|
|
||
| ## MCP Configuration Templates | ||
|
|
||
| Create `.vscode/mcp.json` using ONLY the templates below. Use HTTP type with managed authentication where available. |
There was a problem hiding this comment.
Related to my earlier comment, these mcp.json settings would also likely go out of date as well, can the prompt instructions refer to the mcp.json in the hve-core repo?
There was a problem hiding this comment.
Nit: last_updated: "2026-03-18" was not bumped as part of this refactor. Since the Script Reference section was extracted into references/scripts.md in this PR, consider updating this to today's date.
There was a problem hiding this comment.
Nit: last_updated: "2026-04-01" was not bumped as part of this refactor. The file was substantially restructured in this PR; consider updating this field to today's date.
1769e90 to
35d9c90
Compare
Pull Request
Description
Refactored several skills to use skill-root-relative paths and extracted long inline content into dedicated reference files. The powerpoint and customer-card-render skills now point at references/scripts.md and relative asset paths, and the hve-core-installer skill's large SKILL.md was decomposed into phase-specific reference files (phase-2-installation-paths.md through phase-7-upgrade-mode.md). Adjusted associated test and corpus references to match.
Related Issue(s)
Closes #1826
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request: "Build a PowerPoint deck from this content."
Execution Flow: The powerpoint skill now resolves its scripts and assets via skill-root-relative paths and loads the extracted references/scripts.md on demand.
Output Artifacts: Generated deck, unchanged in behavior from the prior inline layout.
Success Indicators: Skill structure validation passes and references resolve correctly.
Testing
Validated via
npm run lint:all(exit 0), includingnpm run validate:skillsandnpm run lint:md-linksfor the extracted reference files.Checklist
Required Checks
AI Artifact Contributions
/prompt-analyzeto review contributionprompt-builderreviewRequired Automated Checks
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run validate:skillsnpm run lint:md-linksnpm run lint:psnpm run plugin:generatenpm run docs:testSecurity Considerations
Additional Notes
Fourteenth PR in the #1637 stack. Base branch:
feat/1637-c-prompt-frontmatter. Refactor of existingexperimentalandinstallerskills; behavior is unchanged.