본문으로 건너뛰기
Skillpedia
일반 코딩40k · #7245

harness-engineering

하는 일

이 도구는 AI 어시스턴트가 코딩 프로젝트를 더 안정적으로 다루도록 돕습니다. 반복되는 실수를 규칙과 점검 사항으로 바꿔 같은 문제가 다시 생기지 않도록 합니다.

사용하는 경우

  • ✓프로젝트에서 AI 어시스턴트가 실수를 덜 하기를 원할 때.
  • ✓AI 어시스턴트가 따라야 할 명확한 규칙을 만들고 싶을 때.
  • ✓이미 일어난 오류를 기록하고 반복되지 않도록 하고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/harness-engineering/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/harness-engineering/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이미 발생한 실수를 막아서, 코딩 어시스턴트에게 이 프로젝트를 더 안정적으로 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 프로젝트를 분석해 작동 방식과 발생했던 오류를 파악합니다. 그런 다음 프로젝트에 맞는 구체적인 지침과 점검 사항을 만들어, AI가 앞으로 이런 오류를 피하도록 돕습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Harness Engineering

Harness engineering turns repeated coding-agent mistakes into durable repository artifacts:

Harness = Instructions + Constraints + Feedback + Memory + Evaluation + Governance

Use this skill when the user asks to:

  • make a repository more reliable for GitHub Copilot or other coding agents
  • add durable agent instructions, repository rules, or guardrails
  • prevent repeated AI coding-agent mistakes
  • record known failure paths and the checks that prevent recurrence
  • add lightweight drift checks for project rules
  • review, refresh, or update an existing agent harness

Do not use this skill for ordinary feature implementation unless the user asks to improve the repository's agent operating environment.

Core Principles

  • Treat the target repository as the source of truth.
  • Inspect before editing. Preserve the existing stack, package manager, CI, docs, naming, and architecture.
  • Add the smallest useful harness. Prefer updating existing files over adding duplicate guidance.
  • Make important rules enforceable where practical through tests, linters, type checks, CI, pre-commit hooks, or drift scripts.
  • Use manual review points only when automation would be brittle or misleading.
  • Record high-risk failures that should not recur, and name the check or review point that catches recurrence.
  • Do not copy generic templates blindly. Adapt every artifact to real evidence in the target repository.

Discovery

Before proposing or making harness changes, inspect the repository for existing rules and evidence.

Read these files and folders when they exist:

  • README.md
  • AGENTS.md
  • .github/copilot-instructions.md
  • .github/instructions/
  • .github/workflows/
  • CONTRIBUTING.md
  • package manifests such as package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, or build.gradle
  • existing docs under docs/
  • existing scripts under scripts/
  • existing tests and CI checks

Then summarize:

  • stack, package manager, and entry points
  • existing development and verification commands
  • current agent instructions or repository conventions
  • known failures, incidents, flaky paths, or repeated review comments
  • gaps where project rules are not enforced

Adoption Workflow

Follow this sequence:

  1. Choose the harness surface that fits the target repository.
  2. Write target-specific agent instructions.
  3. Add enforceable checks for high-value rules.
  4. Record failure memory for high-risk or recurring failures.
  5. Add drift checks for guidance that can silently become stale.
  6. Report the adoption with evidence, assumptions, and follow-up.

1. Choose the Harness Surface

Pick only the surfaces that fit the target repository:

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

If the repository already has an equivalent location, update it instead of creating a parallel system.

2. Write Agent Instructions

Agent instructions should be concrete and operational. Include:

  • project purpose and major ownership boundaries
  • setup, test, lint, build, and verification commands
  • package manager and dependency rules
  • safe editing rules, generated file rules, and forbidden paths
  • testing expectations for changed code
  • PR and commit conventions if the repo has them
  • how to record new failures or decisions

Avoid broad personality guidance, generic best practices, and rules that cannot be checked or reviewed.

3. Add Enforceable Checks

Convert high-value rules into checks. Good harness checks are:

  • narrow enough to avoid false positives
  • fast enough to run locally and in CI
  • named clearly so agents can run them before finishing
  • documented with the rule they protect

Examples:

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.

…
자주 묻는 질문

'저장소 아티팩트'란 무엇인가요?

AI 어시스턴트의 동작을 안내하고 검증하도록 돕는 프로젝트 안의 파일과 설정입니다. 지침 파일, 테스트, 스크립트 같은 것입니다.

도구는 반복되는 오류를 어떻게 막나요?

오류를 '실패 기억'으로 바꾸고, 다시 발생하는 것을 감지하고 막는 점검 사항(테스트나 스크립트 등)을 만듭니다.

이것을 쓰려면 코딩을 알아야 하나요?

아니요. 숙련된 프로그래머가 아니어도 됩니다. 코드의 기술적 세부 사항을 잘 이해하지 못해도 쓸 수 있도록 설계되었습니다.

상세 정보

작성자의 원본 설명

Adopt repository-level harness engineering for coding agents. Use when a user wants to prevent repeated AI coding-agent mistakes by turning failures into durable instructions, drift checks, regression tests, failure memory, and adoption reports tailored to the target repository.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7245
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬