From harness-engineering
Maps repo harness layers: canonical check commands, local/CI gates, architecture boundaries, structural rules, behavioral verification, docs ratchets, evidence workflows, operator surfaces. Use to understand change safety.
How this skill is triggered — by the user, by Claude, or both
Slash command
/harness-engineering:harness-mapThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Map the repository's **actual harness**: the mechanical checks, policies, workflows, and artifacts that make change safe.
Map the repository's actual harness: the mechanical checks, policies, workflows, and artifacts that make change safe.
This skill is narrower than generic codebase research. It is specifically for answering questions like:
check actually run?"Map the harness as implemented, not as imagined.
Prefer:
Avoid:
A repo harness usually includes some or all of these layers:
just check, make check, task check, npm test, etc.AGENTS.md, .codex/, environment files, repo-local skills, slash commandsUse this skill when the user asks to:
Inspect common entrypoint files first:
justfileMakefilepackage.jsonpyproject.tomlCapture:
Inspect CI workflows:
.github/workflows/*.yml.gitlab-ci.yml, buildkite, etc.)Capture:
fail-fast is enabledLook for:
Capture:
Look for:
sgconfig.yml, ast-grep rule directoriesCapture:
Look for:
Capture:
Look for:
Capture:
Look for:
Capture:
Look for:
AGENTS.md.codex/environments/*.codex/skills/*Capture:
Write a research artifact to:
memory-bank/research/YYYY-MM-DD_HH-MM-SS_<repo>-harness-map.md
Recommended structure:
---
title: "<repo> – Harness Map"
phase: Research
date: "YYYY-MM-DD HH:MM:SS"
owner: "<agent_or_user>"
tags: [research, harness, <repo>]
---
## Canonical Entry Point
- `path:line-line` → command and subcommands
## Harness Layers
### Layer 1: Local checks
### Layer 2: Architecture boundaries
### Layer 3: Structural rules
### Layer 4: Behavioral verification
### Layer 5: Docs ratchet
### Layer 6: CI matrix
### Layer 7: Evidence workflow
### Layer 8: Operator surface
## Source Index
- `path:line-line` → what this file contributes
## Observed Command Chain
- ordered list of checks from the main command
Your harness map must:
## Canonical Entry Point
- `justfile:22-29` defines `check *args:` and runs Ruff, Import Linter, ty, docs checks, ast-grep, pytest, and Zig checks.
## Layer 2: Architecture Boundaries
- `pyproject.toml:80-110` defines four Import Linter forbidden contracts.
## Layer 6: CI Matrix
- `.github/workflows/ci.yml:13-79` runs seven matrix tasks with `fail-fast: false`.
The repo appears to care about quality and uses several tools.
It has some tests and some linting.
Common next steps after this skill:
plan-phase if the user wants to add or improve a harness layernpx claudepluginhub alchemiststudiosdotai/harness-engineeringBootstraps repositories with harness engineering scaffolding: AGENTS.md orientation map, docs/ system of record, boundary tests, linter rules, CI pipeline, GC scripts. Use for new projects, agent-readiness, or architecture boundaries.
Generates a structured project orientation for new team members by reading harness config, AGENTS.md, learnings, and mapping codebase structure, stack, and conventions.
Audits a repository to map its real stack, conventions, assets, tests, docs, risks, and integration points. Persists results in reusable markdown to reduce re-reading and save tokens. Also calculates a harnessability score (0-100) to assess how well the codebase supports autonomous agent work.