harness-engineering
Design and improve software repositories for Codex-driven development by making agent work end-to-end executable, observable, reviewable, and mechanically constrained. Use when setting up or auditing an agent-first repo, replacing manual coding/review bottlenecks with agent-legible docs, tools, validation loops, PR workflows, and recurring cleanup.
How do I install this agent skill?
npx skills add https://github.com/janekm/lopopolo_wisdom --skill harness-engineeringIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides architectural guidelines and best practices for designing software repositories that are agent-legible. It focuses on improving repository observability, mechanical enforcement of rules, and documentation to support agent-driven development. No malicious code, credential theft, or unauthorized network operations were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Harness Engineering
Use this skill to shift engineering work from hand-written code toward designing the environment where agents can reliably do the work.
Operating Model
Treat every agent failure as a systems signal:
- Identify what capability, context, tool, invariant, or feedback loop was missing.
- Add the missing piece to the repo, local tooling, CI, observability, or skills.
- Validate that a future agent can discover and use it without private human context.
- Prefer mechanical enforcement over prose when the rule needs to hold repeatedly.
Humans should steer priorities, acceptance criteria, and judgment calls. Agents should execute implementation, validation, review response, documentation updates, and cleanup wherever the repo gives them enough context and tools.
Repository Checklist
Start with the current repo, not a generic template.
- Verify
pwd, branch, dirty state, package manager, CI, and test commands. - Find or create a short
AGENTS.mdthat maps to deeper docs instead of becoming a manual. - Put durable knowledge in versioned files: architecture maps, product specs, quality scorecards, reliability constraints, security notes, and execution plans.
- Expose local app startup, tests, logs, metrics, traces, screenshots, and browser automation through commands an agent can run.
- Make each command self-describing: include examples, environment requirements, expected output, and common failure remediation.
- Encode repeated preferences into linters, type checks, structural tests, review bots, or scripts.
- Keep build and validation loops fast enough that agents can iterate without human babysitting.
Intervention Pattern
When a task stalls, do not only reprompt. Ask:
- Can the agent inspect the thing that matters?
- Can it reproduce the failure locally?
- Can it validate the fix without a human copying evidence into the prompt?
- Is the expected architecture or taste encoded in a check?
- Did the repo record the decision so a later agent can reuse it?
If the answer is no, improve the harness first or as part of the fix.
Deliverables
For an audit or setup task, produce:
- A prioritized list of missing agent capabilities.
- Specific repo files or commands to add.
- Mechanical checks to enforce non-negotiable rules.
- A short migration path from current workflow to agent-first workflow.
See references/source-notes.md for the distilled source basis.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/janekm/lopopolo_wisdom/harness-engineering">View harness-engineering on skillZs</a>