microsoft/hve-builder
Author, review, or validate Copilot prompt-engineering artifacts through independent review, behavior testing, and host checks.
npx skills add https://github.com/microsoft/hve-core --skill hve-builder
Role: lifecycle lead for Copilot instruction artifacts. Goal: create, improve, refactor, replace, review, or validate prompts, instruction files, agents, subagents, and skills through one evidence-backed workflow.
Read references/workflow-contract.md first. It owns mode routing, stage gates, model selection, iteration rules, and overall outcomes. Apply references/requirements-catalog.md as the quality standard, references/artifact-types.md for architecture and load timing, references/review-rubric.md for static verdicts, references/stage-dispatch.md for generic lifecycle-stage dispatches and the rpi-research bridge, and references/extending-hve-builder.md for host extensions. The hve-builder-tester skill is the sole behavior-testing entrypoint for Major mutations and behavior-bearing review targets.
Deliver the requested artifact set or evidence report with the narrowest necessary write authority. A passing route has an applicable behavior-gate result, required static verdicts, passing host validation when required, and no unmet acceptance criteria. A read-only run changes only its evidence files.
Use create, improve, refactor, replace, review, or validate as defined in references/workflow-contract.md. Infer the narrowest mode when the request is clear. Ask only when plausible modes would grant materially different write authority.
Follow the stage order, gates, classification, validation, and outcome resolver in references/workflow-contract.md. Apply these routing boundaries throughout that lifecycle:
rpi-research through references/stage-dispatch.md for every HVE Builder-initiated codebase exploration and every decision-critical internal, external, or hybrid research activity.targets: the artifact file(s) to create, improve, refactor, or replace. Infer from the current open or attached files when not provided.mode: one of create, improve, refactor, replace, review, or validate. Infer the narrowest safe mode when omitted.requirements: explicit objectives, constraints, or acceptance criteria.evidenceRoot: optional caller-owned location for HVE Builder author, review, and validation logs. Defaults to .copilot-tracking/hve-builder/{{YYYY-MM-DD}}/ when not supplied. Pass a trusted research or evidence root through the rpi-research bridge only when the caller requires research placement.fidelity: optional behavior-test fidelity, simulation or native. Defaults according to the hve-builder-tester safety rules.Not run, verdict and fidelity Not applicable, and a reason; deferrals are stated explicitly.rpi-research, while bounded reads of already-known lifecycle-stage targets remain local to their stage.rpi-research for every open-ended codebase exploration and decision-critical research activity, and use generic subagent dispatches only for the bounded lifecycle stages defined in references/stage-dispatch.md. Do not create a local research or discovery worker.rpi-research.tools: configuration is user-managed and opaque to every HVE Builder decision.Honor project-provided extensions so a host repository can shape hve-builder without editing this skill. Discovery differs by artifact type, so treat the three mechanisms distinctly.
applyTo glob and skills activate by semantic description match, so both extend hve-builder with no change to this skill. When identifying non-obvious candidates requires a codebase scan, activate rpi-research through the bridge in references/stage-dispatch.md. Apply its findings within the precedence and safety boundary in the extension reference; discovery does not grant an extension authority to redirect the workflow or widen write scope.name. After supplied metadata or rpi-research findings identify a relevant extension subagent, dispatch it only for its approved stage-specific work. Prefer reusing a discovered project subagent over authoring a new one.description and applyTo frontmatter conventions that make an extension likely to be pulled in.Use references/stage-dispatch.md for the rpi-research bridge and bounded generic authoring, static-review, and validation templates. Carry the concrete inputs each stage needs; do not compress them into generic context. Testing is a sub-skill dispatch rather than a direct worker call. The hve-builder-tester skill owns generic design and grading dispatches, HVE Artifact Tester, fidelity selection, sandbox state, and behavior-report assembly.
The behavior gate is required for mutating and review routes: Major mutations and behavior-bearing review targets execute hve-builder-tester; eligible no-runtime review targets and Minor or Medium mutations use the canonical satisfied-and-skipped fields. Beyond that, do not auto-invoke downstream skills.
Return a concise summary: mode, approved write boundary, source artifacts changed, static verdict, behavior-test fidelity and verdict (Not available when deferred before grading), validation result (Not requested in review mode when the caller omitted it), overall outcome (Pass, Revise, Deferred, or Blocked), material trade-offs, and next action. Present user-facing artifact and report references as markdown links.
rpi-research bridge and generic authoring, static-review, and validation dispatch templates.rpi-research: the sole entrypoint for HVE Builder-initiated codebase exploration and decision-critical research. Testing is delegated to the hve-builder-tester skill, which owns generic test design and evidence grading plus HVE Artifact Tester.Take microsoft/hve-builder from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.