skills/harness-map/SKILL.md
Map a repository's mechanical harness layers: canonical check command, local and CI gates, architecture boundaries, structural rules, behavioral verification, docs ratchets, evidence workflows, and operator-facing surfaces. Use when you need to understand how a repo keeps change safe.
npx skillsauth add alchemiststudiosdotai/i-love-claude-code harness-mapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 layerdevelopment
This skill should be used when mapping or researching a codebase to understand its structure, patterns, and architecture. Use when the user asks to "map the codebase", "research how X works", "find all Y patterns", or needs to understand code organization. Produces factual structural maps in .artifacts/research/—no suggestions, no recommendations, just what exists. Uses ast-grep for structural pattern matching.
development
Perform quality assurance on code changes after the research-phase -> plan-phase -> execute-phase workflow. STRICTLY QA only—no coding, no fixes, no source-code changes. Focus on changed areas only, emphasizing control/data flow correctness.
development
Generate execution-ready implementation plans from research docs - planning ONLY, no fixing or verifying. North Star is whether a JR developer can execute the plan with zero additional context.
testing
Execute implementation plans from .artifacts/plan/. Focus on EXECUTING ONLY - no planning, no fixes outside plan scope. Uses gated checks, atomic commits, and maintains a single execution log in .artifacts/execute/. Use when the user says "execute this plan" or provides a plan path.