Aller au contenu
Skillpedia
Agents23k · #10140

harness-creator

Ce qu’il fait

Cette skill vous guide pour créer ou auditer la configuration d'un dépôt pour les agents de code IA : fichiers d'instructions, suivi d'avancement, étapes de vérification et notes de passation entre sessions. Elle s'adresse aux développeurs dont l'agent de code oublie le contexte, sort du périmètre prévu ou affirme qu'un travail est terminé trop tôt.

Quand l’utiliser

  • ✓Quand votre agent de code oublie ce qu'il faisait entre deux sessions.
  • ✓Quand un agent de code affirme qu'un travail est terminé sans avoir lancé aucune vérification.
  • ✓Quand vous voulez ajouter des instructions AGENTS.md ou CLAUDE.md et des notes d'avancement à un dépôt.

Lien du skill

https://github.com/walkinglabs/learn-harness-engineering/blob/main/skills/harness-creator/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/walkinglabs/learn-harness-engineering/blob/main/skills/harness-creator/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Mon agent de code oublie sans cesse l'état du projet entre les sessions. Je voudrais mettre en place un cadre simple pour ce dépôt.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La skill vérifie ce qui existe déjà, ne demande que les détails manquants, et ajoute un petit ensemble de fichiers couvrant les instructions, le suivi d'avancement, les commandes de vérification et les notes de passation.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Harness Creator

Use this skill to make a repository easier for coding agents to start, stay in scope, verify work, and resume across sessions. Keep the harness small enough that agents actually follow it.

Not for model selection, prompt tuning in isolation, chat UI design, or general app architecture.

Core Model

Every useful coding-agent harness has five subsystems:

Subsystem Minimal artifact Purpose
Instructions AGENTS.md or CLAUDE.md Startup path, working rules, definition of done
State feature_list.json, progress.md Current feature, status, evidence, next step
Verification init.sh or documented commands Tests/checks the agent must run before claiming done
Scope Feature dependencies and done criteria Prevents overreach and half-finished work
Lifecycle session-handoff.md, end-of-session routine Makes the next session restartable

First Move

  1. Inspect what already exists: instruction files, feature/state files, verification commands, docs, package manifests.
  2. Ask only for missing context that cannot be inferred safely: target agent, desired file name, tolerance for structure, and whether overwriting is allowed.
  3. Prefer a minimal harness first. Add memory, tool safety, multi-agent, or benchmark details only when the user's problem calls for them.

Common Tasks

Create a harness

Use the bundled script when working on a local repository:

node skills/harness-creator/scripts/create-harness.mjs --target /path/to/project

Options:

  • --agent-file CLAUDE.md for Claude-oriented projects.
  • --package-manager npm|pnpm|yarn|bun when detection is wrong.
  • --commands "cmd one,cmd two" for custom verification.
  • --force only after confirming overwrites are acceptable.

Then explain what was created and how the user should replace placeholder feature entries.

Audit an existing harness

Run:

node skills/harness-creator/scripts/validate-harness.mjs --target /path/to/project

Report the five subsystem scores, the lowest-scoring area, and the first 2-3 changes that would improve reliability. Treat the lowest score as a candidate bottleneck; confirm with failures, logs, or task outcomes before claiming causality.

Produce a report

Use when the user wants a shareable assessment:

node skills/harness-creator/scripts/render-assessment-html.mjs --target /path/to/project
node skills/harness-creator/scripts/run-benchmark.mjs --target /path/to/project --html /path/to/report.html

Be clear that this is a structural benchmark. The benchmark first runs a self-check — it scaffolds a throwaway harness and validates it, proving the bundled scripts work end-to-end — then scores the target and eval coverage. Real effectiveness still needs before/after agent sessions on representative tasks.

When to Read References

Load only the reference needed for the user's problem:

Design Rules

  • Keep the root instruction file short: routing and invariants, not a full manual.
  • Put project facts in project docs, not in the skill.
  • Make verification commands explicit and runnable.
  • Require evidence before marking a feature done.
  • Use one active feature unless the harness has explicit multi-agent ownership boundaries.
  • Prefer append/update state files over relying on chat history.
  • Never hide destructive behavior in scripts; overwrites require explicit user approval.

Deliverable Checklist

For a usable minimal harness, leave the target project with:

  • AGENTS.md or CLAUDE.md
  • feature_list.json
  • progress.md
  • init.sh
  • Optional session-handoff.md for multi-session work
  • Documented verification evidence or next action

If you cannot create files, provide exact file contents and commands instead.

Questions fréquentes

Choisit-elle le modèle d'IA à ma place ?

Non. La skill indique qu'elle ne sert ni au choix du modèle, ni à l'architecture générale de l'application.

Crée-t-elle beaucoup de fichiers ?

Non. Elle recommande de commencer par un cadre minimal, et d'en ajouter seulement si le problème le justifie.

Quels fichiers utilise-t-elle ?

AGENTS.md ou CLAUDE.md pour les instructions, et des fichiers comme une liste de fonctionnalités et des notes d'avancement pour suivre l'état.

Détails

Description originale de l’auteur

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is unreliable across sessions — forgets context, drifts out of scope, claims "done" before tests pass, or starts each session inconsistently — or when creating or assessing AGENTS.md, CLAUDE.md, feature_list.json, init.sh, progress.md, or session-handoff files. Reach for it even if th

repo: walkinglabs/learn-harness-engineering

Popularité

Étoiles GitHub
23k
Position au classement
#10140
Licence
MIT
Mis à jour
22/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires