/open-horizons-platform:github-copilot-harness-engineeringfrom open-horizons-platform
Adopts or reviews repository-level harness engineering for GitHub Copilot and coding agents. Combines instructions, constraints, feedback, memory, evaluation, and governance to prevent repeated AI coding-agent mistakes.
Ships in open-horizons-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn repeated coding-agent mistakes into durable repository artifacts by combining instructions, constraints, feedback, memory, evaluation, and governance into a small, evidence-backed harness.
Harness = Instructions + Constraints + Feedback + Memory + Evaluation + Governance
| Principle | Apply it |
|---|---|
| Source of truth | Treat the target repository as authoritative for stack, package manager, CI, docs, naming, and architecture. |
| Inspect before editing | Read existing guidance before adding new guidance. |
| Smallest useful harness | Update existing files before creating duplicates. |
| Enforce when practical | Turn high-value rules into tests, linters, type checks, CI, pre-commit hooks, or drift scripts. |
| Manual where safer | Use review points when automation would be brittle or misleading. |
| Failure memory | Record high-risk failures and name the check or review point that prevents recurrence. |
| No template dumping | Adapt every artifact to evidence in the target repository. |
Read these files and folders when they exist, then summarize the stack, entry points, commands, conventions, failures, and unenforced rules:
README.mdAGENTS.md.github/copilot-instructions.md.github/instructions/.github/workflows/CONTRIBUTING.mdpackage.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, or build.gradledocs/scripts/| Need | Preferred artifact |
|---|---|
| Always-on agent behavior | AGENTS.md or .github/copilot-instructions.md |
| File-scoped guidance | .github/instructions/*.instructions.md |
| Recurring project checks | scripts/check_*.py, shell scripts, or package scripts |
| CI enforcement | Existing workflow files or a small new workflow |
| Known failures | docs/failures/*.md |
| Architecture or process decisions | docs/decisions/*.md |
| Adoption evidence | docs/harness/adoption-report.md or similar |
Agent instructions must cover project purpose, ownership boundaries, setup, test, lint, build, verification commands, package manager rules, dependency rules, safe editing rules, generated file rules, forbidden paths, testing expectations, PR or commit conventions, and how to record new failures or decisions. Avoid broad personality guidance and rules that cannot be checked or reviewed.
Good checks are narrow, fast, named clearly, documented with the rule they protect, and runnable locally or in CI.
Rule: Do not edit generated API clients.
Check: script scans diffs for generated paths and fails with a clear message.
Rule: Every failure memory note names a regression check.
Check: script validates docs/failures/*.md for a "Detection" section.
Rule: Profile docs and templates must stay aligned.
Check: test compares profile README files to expected template files.
Create docs/failures/<slug>.md for user-visible, high-risk, or recurring failures unless an existing note already covers the root cause:
# Short Failure Title
## Summary
What failed, who saw it, and why it matters.
## Root Cause
The technical or process cause. Avoid blame.
## Prevention
Instruction, test, drift check, CI gate, fixture, or manual review point that prevents or detects recurrence.
## Evidence
Links to issue, PR, test, log, command output, or file paths.
If automation is unsafe, record the manual review point and why automation would mislead.
Use drift checks when guidance can silently become stale: docs mention removed commands, profile snippets diverge from generated examples, failure notes omit regression checks, decision records are missing for structural changes, or CI references stale scripts or package commands. Prefer the repository's existing language; if there is no convention, Python with only the standard library is a portable default.
When reviewing harness changes, take an opposing perspective and report findings first, ordered by severity, with file and line references when available. Look for generic copied rules, duplicate or conflicting instruction files, broad checks with false positives, unenforced high-risk rules, missing failure memory, generated docs not refreshed, CI gates that skip relevant checks, and harness defaults overwriting target conventions. Do not modify files during review unless explicitly asked.
The prompt-first harness workflow at https://github.com/baskduf/harness-starter-kit is optional reference material only when the user asks for it or the target repository already uses it. Do not let that reference override repository evidence.
## Harness engineering report
**Status:** adopted | reviewed | blocked
**Repository inspected:** <path or repository>
### Evidence reviewed
- <file or folder>: <fact learned>
### Harness changes or findings
| Area | Artifact | Rule or finding | Enforcement |
| --- | --- | --- | --- |
| Instructions | `<path>` | <target-specific rule> | <check, CI, or manual review point> |
### Validation
- `<command or review>`: <pass, fail, or not run with reason>
### Follow-up
- <assumption, skipped failure memory reason, or next check>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
117 skills in this plugin
/agent-framework-pythonApplies Microsoft Agent Framework Python monorepo conventions to the imported example tree. Use when changing its public API exports, package metadata, tests, or Python implementation./agentsApplies current repository conventions for custom-agent metadata, tool scope, body structure, runtime boundaries, and validation. Use when creating or updating an agent./agent-safetyUse when editing Open Horizons agent runtimes, tools, orchestration, or policy code that requires safety and governance controls./agent-skillsApplies current portable Agent Skill conventions for discovery metadata, progressive disclosure, bundled resources, safety, and validation. Use when creating or updating SKILL.md./azure-agentic-architecture-patternsProvides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls./azure-api-centerDesign Azure API Center as the enterprise inventory and governance plane for APIs, agent tools, OpenAPI definitions, environments, deployments, metadata, linting, and MCP server discovery. Use when building an API or tool catalog, enforcing API standards, registering MCP servers, or making approved tools discoverable to agent builders.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin open-horizons-platformOther plugins' skills for the same job