AGENT SKILL

evals-context

Provides context for Alpha's retained evaluation infrastructure and extension quality suites. Use when a task mentions evals, evaluation runs, eval exercises, benchmark campaigns, or VS Code extension certification.

License 许可
Apache-2.0
所属仓库
lukegob10/alpha
最近更新
2026-11-13
Stars
★ 0
Forks
1

01 前言 Front Matter

name
evals-context
description
Provides context for Alpha's retained evaluation infrastructure and extension quality suites. Use when a task mentions evals, evaluation runs, eval exercises, benchmark campaigns, or VS Code extension certification.

03 SKILL.md 正文

Evals Codebase Context

Use this skill for work on the evaluation infrastructure that exercises the Alpha VS Code extension. The repository keeps the evaluator package, the exact-host VS Code runner, extension-specific suites, and the campaign definitions needed to reproduce benchmark work. The former standalone eval dashboard and nightly packaging variant are retired.

When to use this skill

Use it when a task involves:

  • packages/evals/ controller, runner, database, evidence, grading, or benchmark code
  • apps/vscode-e2e/ host-contract and live evaluation runners
  • extension-specific suites under evals/
  • historical campaign snapshots under evals/archive/frontier-campaign/
  • adding or reviewing exercises in the external Alpha-Evals repository

Do not use it for ordinary extension or webview changes unless the task also changes an evaluation contract.

Repository boundaries

Component Path Purpose
Evaluation package packages/evals/ Optional controller, runner, database, evidence, grading, and benchmark tooling that executes the real VS Code extension
VS Code runner apps/vscode-e2e/ Exact VS Code 1.141.0 reference-host and 1.125.0 compatibility tests, scripted providers, and live host harnesses
Local extension suites evals/ Deterministic extension and safety suites that are part of Alpha's quality checks
Historical campaigns evals/archive/frontier-campaign/ Archived configurations, authoring reports, and milestone results; new run output belongs in ignored evaluator artifacts
Exercise repository Alpha-Evals External language exercises and their tests

The evaluator launches the real extension through VS Code. It is not a second Alpha runtime. Keep extension policy, tool availability, persisted task behavior, and provider contracts in the extension packages that own them.

Package layout

The package layout can evolve with the evaluator; these are the current active areas:

packages/evals/
├── src/benchmark/       # benchmark commands
├── src/campaign/        # reproducible campaign definitions and runs
├── src/certification/   # certification workflows
├── src/cli/             # evaluator orchestration and VS Code task execution
├── src/db/              # run, task, and evidence persistence
├── src/evidence/        # manifests, journals, reconstruction, and integrity checks
├── src/experiments/     # governed comparison and reporting helpers
├── src/exercises/       # exercise loading and task metadata
├── src/grading/         # result aggregation and grading plugins
├── src/infrastructure/  # Docker and runner lifecycle adapters
├── src/lifecycle/       # run state transitions
├── src/orchestration/   # run scheduling and coordination
└── src/testing/         # evaluator test helpers and contracts

Treat packages/evals/src/**/__fixtures__ and contract fixtures as immutable test inputs unless a contract change explicitly requires updating them. Historical campaign output is evidence, not a source fixture. New campaigns default to packages/evals/artifacts/campaigns/; authoring reports default to packages/evals/artifacts/authoring/. Both are ignored.

Common commands

Run the default repository checks from the root for the extension, webview, and VS Code E2E dependency graph:

pnpm lint
pnpm check-types
pnpm test

Use the exact release-host gate when a change affects extension activation, VS Code APIs, task lifecycle, or packaging:

pnpm --filter @alpha-code/vscode-e2e test:smoke:1410

The default root checks intentionally exclude optional evaluator work. Run all retained workspace checks explicitly when that surface is in scope:

pnpm lint:all
pnpm check-types:all
pnpm test:all

For evaluator-only validation, prefer the package scripts so each suite's environment is explicit:

pnpm test:evals
pnpm test:evals:offline
pnpm --filter @alpha-code/evals test:unit
pnpm --filter @alpha-code/evals test:contract
pnpm --filter @alpha-code/evals test:certification

Live evaluator runs require the configured provider credentials, a working VS Code installation, and any services named by the selected package command. Do not treat an offline or fixture run as evidence for live provider quality.

Adding or changing exercises

Follow the authoring guide for local or external exercise roots. Keep the evaluator's language adapters, Docker image, and tests in sync. A new exercise should include its instructions, implementation stub, language-specific test, and deterministic success criteria.

Changes to evaluator behavior should include focused package tests and, when the behavior crosses the extension boundary, an exact-host or contract test. Preserve historical run records and result values; migrations and compatibility readers must remain able to load older records.

Campaigns and evidence

Tracked files under evals/archive/frontier-campaign/ preserve historical definitions, reports, and reproducibility metadata. Some snapshots name retired packages and missing documents; do not treat them as current runnable commands. Preserve their bytes and recorded digests. Explicit legacy artifact roots remain supported for existing configurations. Do not delete immutable evaluator fixtures because no current source file imports them: runners resolve inputs by path.

When reporting benchmark results, identify the campaign/configuration, evaluator version, VS Code host, model and effort, fixture or exercise revision, and evidence root. Separate deterministic offline checks from live-model observations.

04 同仓库更多 Skills

lukegob10
lukegob10/alpha

skill-builder

Create, revise, migrate, and evaluate production-quality Agent Skills packages with standards-compliant SKILL.md frontmatter, focused instructions, progressive disclosure, safe supporting resources, and trigger and behavior tests. Use when the user asks to build, improve, standardize, or audit a skill or SKILL.md for Alpha, Cursor, Claude Code, Codex, or another Agent Skills-compatible host. Do not use merely to install, list, or invoke an existing skill.

Skill与智能体开发
★ 0
lukegob10
lukegob10/alpha

rich-documents

Create or revise a rich HTML document in Alpha's built-in HTML previewer for a substantial spec, review, or quantitative report, or when explicitly requested. Respect plain text, Markdown, existing output destinations, and ordinary short answers or code fixes.

★ 0
lukegob10
lukegob10/alpha

review-agent

Review a specified code change for actionable defects and return prioritized findings without editing. Use when explicitly asked to use this skill, including a delegated review of working changes, a commit, or a branch against its base. Investigating a reported failure belongs to debug.

开发工程师Skill与智能体开发
★ 0
lukegob10
lukegob10/alpha

debug

Investigate a concrete bug with an unclear cause using reproduction, hypotheses, and runtime evidence. Use for an explicit debugging investigation, unexplained or intermittent incorrect behavior, or the same failure persisting after an attempted fix. Skip routine commands, ordinary implementation, code review, general debugging questions, and isolated build/test errors whose cause and correction are already clear. Mentioning a bug, error, log, or test alone does not trigger this skill.

开发工程师代码审查
★ 0
lukegob10
lukegob10/alpha

skill

暂无简介

Skill与智能体开发
★ 0
lukegob10
lukegob10/alpha

alpha-conflict-resolution

Provides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context. Use when tasks involve merge conflicts, rebasing, PR conflicts, or git conflict resolution. This skill analyzes commit messages, git blame, and code intent to make intelligent resolution decisions.

Skill与智能体开发
★ 0