Repository navigation
Description
Summary
Integrate an automated effectiveness testing framework for skills, agents, and instructions into hve-core. This directly implements the Q4 2026 roadmap item "Build automated testing for agent and instruction effectiveness" with a proven multi-agent orchestration system that has already demonstrated measurable results against hve-core artifacts.
Motivation
hve-core currently has zero quality gates beyond structural validation (validate:skills). There is no mechanism to verify that a skill actually improves agent output quality. An external prototype (agent-skill-bench) has been evaluated against hve-core artifacts and demonstrates that automated effectiveness testing is both feasible and high-impact.
Key Benchmark Analysis: What the Data Reveals About HVE Core
An hve-artifact-authoring skill was benchmarked using blind A/B comparison (with-skill vs baseline) across 8 evaluations containing 34 expectations:
| Metric | With Skill | Baseline | Delta |
|---|---|---|---|
| Mean pass rate | 96% | 43% | +53% |
| Min pass rate | 67% | 0% | — |
| Max pass rate | 100% | 100% | — |
Critical Findings for hve-core
-
Skills are essential for custom conventions, not general patterns. Three evals (collection manifest authoring, orchestrator agent creation, delegation model design) show 0% baseline → 100% with-skill. These test HVE-specific patterns that an LLM cannot infer from general knowledge alone.
-
Some patterns are already learnable without skills. One eval (
add-skill-with-scripts) scored 100% in both conditions, meaning the patterns it tests are redundant with information already incopilot-instructions.md. -
The discriminating ratio (53%) identifies where skill investment matters. Of 34 expectations, 18 uniquely measure skill value. The remaining 15 pass in both conditions (redundant) or fail in both (undocumented design decisions). This metric enables lean eval suites.
-
One undocumented architectural decision was surfaced. A "parallel CI jobs" expectation fails in both conditions, revealing a design-fork that should become an ADR or instruction rather than a skill expectation.
-
Skills dramatically outperform baseline on frontmatter contracts and packaging conventions — exactly the areas where hve-core has custom conventions that deviate from defaults.
Strategic Implications
- Three patterns urgently need skills: collection manifest authoring, orchestrator handoffs/delegation, and the
agents:frontmatter contract. All scored 0% baseline. - The +53% delta validates hve-core's skill model. The investment in artifact packaging and distribution is justified by measurable quality improvement.
- Eval results can drive the authoring feedback loop. Bench results could feed into the existing Prompt Builder → Prompt Evaluator → Prompt Updater cycle.
Proposed Approach
Integrate the bench framework as a new collection (initially at experimental maturity) following a phased contribution:
- Phase 0: Fix critical functional blockers and frontmatter compliance
- Phase 1: Core eval framework — agents, SKILL.md, and collection manifest
- Phase 2: Integration with Prompt Builder workflow and npm scripts
- Phase 3: Run bench against existing hve-core skills to establish baselines
The bench uses a 5-mode lifecycle (CREATE → EVAL → IMPROVE → COMPARE → ASSESS) with a parent orchestrator dispatching specialized subagents, following the same architectural patterns already used throughout hve-core.
Architectural Alignment
| Dimension | Agent-Skill-Bench | HVE Core | Compatible? |
|---|---|---|---|
| Execution model | Local-only, VS Code Copilot Chat | Local-only, no backend | ✅ |
| Agent structure | Parent orchestrator + subagents | Same pattern | ✅ |
| File format | .agent.md, SKILL.md, .prompt.md | Same types | ✅ |
| State persistence | JSON in workspace | .copilot-tracking/ |
✅ (path alignment needed) |
| Cross-platform | Unix-only currently | Both PowerShell and bash required | |
| CI integration | Not yet implemented | npm scripts + GitHub Actions |
Known Gaps (from analysis)
A 27-finding quality review identified prerequisites before integration:
- 3 Critical: Missing subagent file, workspace naming mismatch, missing
agents:frontmatter - 12 Major: SKILL.md over 500-line limit, missing
name:frontmatter, Unix-only commands, non-standard section headers - 12 Minor: Style and documentation issues
All criticals are fixable in 1-2 days. Total conformance effort estimated at 3-4 weeks.
Quick Win (Independent of Framework Integration)
The hve-artifact-authoring skill itself could land in the coding-standards collection immediately with minimal integration friction. It demonstrates 96% pass rate and follows standard skill structure.
Discussion Points for Maintainers
- Should the bench land as its own collection (
skill-bench) or be distributed across existing collections? - What maturity level at launch: experimental or preview?
- Should benchmark results gate PR merges for skill changes?
- How should the bench interact with the existing Prompt Builder / Evaluator / Updater cycle?
- Preferred CI output format: JUnit XML, TAP, or custom JSON matching existing
logs/patterns?
References
- Q4 2026 Roadmap: "Build automated testing for agent and instruction effectiveness"
- Source repository: gim-home/agent-skill-bench (EMU-protected)
- Related: Prompt Builder agent workflow,
validate:skillsnpm script
Activity
github-actions commentedon May 1, 2026
This is a well-researched and thorough proposal — the benchmark analysis and architectural alignment table are particularly helpful for evaluating scope. Thank you for putting this together!
Given the estimated 3–4 week effort across four distinct phases, this issue has been decomposed into five independently deliverable sub-issues:
hve-artifact-authoringskill tocoding-standardscollection — can land immediatelyskill-benchcollection with orchestrator agent and SKILL.mdThe quick-win sub-issue (#1506) is independent and can proceed in parallel with the bench framework phases. Phases 0–3 are sequential. This issue serves as the epic tracker.
The open design questions (collection structure, maturity level, CI output format, bench/evaluator integration) should be resolved during Phase 1 planning before that work begins.
Note
🔒 Integrity filter blocked 2 items
The following items were blocked because they don't meet the GitHub integrity level.
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:chaosdinosaur commentedon May 1, 2026
Artifacts used to run feature analysis by Dimitrios Mavroeidis (@dmavroeid):
hve-artifact-authoring.zip
evals.json
agent-skill-bench-analysis.md
benchmark.json
dmavroeid commentedon Aug 31, 2026
Since #1504 was opened, HVE Core has integrated Vally and established several
evaluation workflows. This provides a strong foundation for a narrower and more
useful contribution than the original five-mode skill-bench framework.
The missing question is not whether a skill is structurally valid or whether an
agent follows its instructions. It is:
A skill can pass conformance checks while adding little value over what the
agent already knows. Conversely, it may improve a particular outcome or make
delivery more reliable without changing every measured behavior. HVE Core
supports artifact validation, behavioral conformance, and baseline equivalence,
but it does not yet have a dedicated workflow for measuring this value.
Proposed Direction
I propose replacing the original skill-bench integration plan with a focused
skill-effectivenessworkflow delivered in two PRs:These PRs answer related but materially different questions.
PR 1 asks:
PR 2 asks:
Separating them keeps the initial contribution focused. The repository path adds
knowledge extraction, candidate selection, and transfer questions that are not
needed when evaluating an existing skill.
PR 1: Existing-Skill Effectiveness MVP
The first PR would add a
skill-effectivenessskill that drives the completeworkflow:
would count against that expectation.
experiment. This includes selecting a suitable task and target, keeping both
environments identical, and adding a frozen copy of the complete skill
package and its required dependencies only to treatment.
review, record accepted changes, and require approval before paid execution.
The generated experiment is specific to the skill, task, and target. It contains
the fixtures, validators, calibration material, native Vally configuration,
review record, and result analysis required to run and understand the
comparison.
Generated evaluations would initially remain on-demand and locally curated. The
MVP would not establish a permanent HVE eval suite or CI lane. After the pilot,
maintainers could decide whether selected evaluations should be promoted into
HVE Core's maintained eval infrastructure.
Why Vally
This proposal builds on HVE Core's existing Vally integration instead of adding
another execution framework.
Vally can execute and record matched baseline and treatment trials while making
skill availability the only configured difference. The proposed skill adds the
opinionated methodology around that execution:
inconclusive conclusion.
Vally remains responsible for experiment execution, workspaces, graders,
trajectories, and raw result persistence.
Initial HVE Pilot
The first PR would exercise the workflow against three current HVE skills:
ds-catalogds-analysis-authoringc4-architectureThe C4 case should use a non-trivial target requiring reconciliation of source
code, configuration, dependencies, and deployment information. Its architecture
should not already be summarized in a README.
The pilot should also include small, reviewed controls demonstrating that the
evaluation responds to useful non-obvious guidance without reporting unexplained
improvement on an unrelated task. Their exact design should be reviewed during
implementation rather than fixed in this comment.
The pilot report should include:
This will tell us both whether the selected HVE skills add measurable value and
whether the
skill-effectivenessworkflow makes that evaluation work morereliable and manageable.
PR 2: Repository-to-Skill Extension
After the existing-skill workflow is accepted, a second PR would extend the same
skill to use a repository as the starting point.
The workflow would:
packaging, with
no skill warrantedas a valid result.expected to add beyond the agent's existing knowledge.
held-out task that requires applying the extracted knowledge rather than
reproducing repository examples.
them before paid execution.
difference.
including rejected candidates, manual effort, and limitations.
The pilot should preferably test the candidate skill on another repository. If
it instead uses a held-out task on the source repository, the result must be
labelled as same-repository evidence and must not support a broad transfer
claim.
This separation lets reviewers assess the core skill-versus-no-skill method
before adding repository analysis, candidate creation, and transfer evaluation.
Delivery
PR 1
skill-effectivenessworkflow.PR 2
no skill warranted.Raw generated run directories would not be committed. Permanent eval
registration, CI execution, nightly scheduling, and portfolio-scale testing
would remain follow-up decisions.
I expect PR 1 and its initial evidence collection to fit within several working
days to approximately one week. PR 2 would follow after review of the core MVP.
Related Issues
I propose updating the existing issue structure as follows:
that the method produces useful evidence.
hve-builder; this isindependent of effectiveness measurement.
bench:*scripts are not MVP prerequisites; execution integration can be reconsidered
after the pilots.
existing-skill effectiveness MVP and initial HVE pilot.
not be ported.
pilot.
Does this two-PR direction and revised issue mapping fit how maintainers would
like #1504 to proceed?
feat: Add hve-artifact-authoring skill to coding-standards collection (…