AGENT SKILL

harness-docs

Harness Kit documentation — installation, plugin catalog, creating plugins, cross-harness setup, architecture, and FAQ. Use when working with or configuring harness-kit plugins, understanding the plugin/skill system, installing slash commands, setting up AI coding tool configuration, answering questions about the plugin marketplace, writing SKILL.md files, using harness.yaml, or integrating with Copilot, Cursor, or Codex. Do NOT use for general Claude Code questions unrelated to harness-kit.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 10
Forks
2

01 前言 Front Matter

name
harness-docs
description
Harness Kit documentation — installation, plugin catalog, creating plugins, cross-harness setup, architecture, and FAQ. Use when working with or configuring harness-kit plugins, understanding the plugin/skill system, installing slash commands, setting up AI coding tool configuration, answering questions about the plugin marketplace, writing SKILL.md files, using harness.yaml, or integrating with Copilot, Cursor, or Codex. Do NOT use for general Claude Code questions unrelated to harness-kit.
user-invocable
false

02 资源文件 5

03 SKILL.md 正文

Harness Kit Documentation

harness-kit is a harness-agnostic framework for AI coding tools. Plugins, skills, MCP servers, hooks, and conventions live in one portable config. It works with Claude Code today and is designed to travel across tools.

Repo: https://github.com/harnessprotocol/harness-kit
Docs: https://harnesskit.ai/docs

How to Use This Skill

This is a background knowledge skill. When the user asks about harness-kit, load the relevant reference file from ${CLAUDE_SKILL_DIR}/references/ and answer from it.

Topic Reference file
Installation, architecture, quick start getting-started.md
Plugin list, what each plugin does plugin-catalog.md
Creating plugins, writing SKILL.md, frontmatter creating-plugins.md
Using with Copilot, Cursor, Codex cross-harness.md
Core concepts, FAQ, harness.yaml, comparison with MCP/A2A concepts-and-faq.md

Load with: Read ${CLAUDE_SKILL_DIR}/references/<filename>.md

Quick Reference: 17 Plugins

Plugin Slash command What it does
research /research Process any source (URL, GitHub, YouTube, PDF) into a structured knowledge base
orient /orient Topic-focused session orientation across knowledge graph and research
capture /capture Capture session info into a staging file for later reflection
review /review Structured code review for branches, PRs, or file paths with severity labels
rubber-ducky /rubber-ducky Second opinion on a plan, design, or diff — independent critics on different Claude models
explain /explain Layered explanations of files, functions, directories, or concepts
lineage /lineage Column-level lineage tracing through SQL, Kafka, Spark, JDBC
docgen /docgen Generate or update README, API docs, architecture overview, or changelog
open-pr /open-pr Pre-flight checks and PR creation: tests, review, CI
merge-pr /merge-pr Merge a ready PR: verify CI, sync base, squash merge, clean up
pr-sweep /pr-sweep Cross-repo PR sweep: triage, review, merge, fix CI
dependabot-sweep /dependabot-sweep End-to-end Dependabot remediation: fetch alerts, fix per ecosystem, verify, open/merge a PR
harness-share /harness-export, /harness-import Compile, export, import, and sync harness configs across 8 AI coding tools
stats /stats Interactive HTML dashboard for Claude Code token and session usage
iterm-notify — macOS desktop notifications and iTerm2 badge management for Claude Code events
frontend-design /frontend-design Production-grade frontend design rules: OKLCH color, typography, motion, accessibility
membrain /memory Graph-based agent memory — search, trace, and manage a persistent knowledge graph

Key Concepts

Skill — A SKILL.md file: the workflow Claude reads when you type a slash command.
Plugin — The package wrapping a skill: a directory with plugin.json, the skill, optional scripts, hooks, and agents.
harness — Your complete AI tool setup: CLAUDE.md, plugins, MCP servers, hooks, permissions.
harness.yaml — A portable snapshot of your complete harness. Export with /harness-export, restore with /harness-import.

Install

/plugin marketplace add harnessprotocol/harness-kit
/plugin install <plugin-name>@harness-kit

04 同仓库更多 Skills

harnessprotocol
harnessprotocol/harness-kit

stats

Use when user invokes /stats or asks about Claude Code usage, token consumption, session history, model distribution, or activity patterns. Generates an interactive HTML dashboard with charts and tables, auto-opens in browser. Also triggers on "how much have I used Claude", "show my usage", "token usage", "session stats", "usage report", "usage dashboard". Do NOT use for API billing or cost estimation — token counts are not costs.

开发工程师资料检索与研究
★ 10
harnessprotocol
harnessprotocol/harness-kit

rubber-ducky

Use when you've planned a non-trivial change and are about to implement it, finished a complex or multi-file piece of work, just wrote tests, or are stuck on repeated failures or unexpected results — and any time the user says "rubber duck this", "rubber ducky", "get a second opinion", "sanity-check my plan", "poke holes in this", "what am I missing", "critique my approach", "review this before I build it", or "/rubber-ducky". Spawns independent read-only critics on DIFFERENT Claude models than the one driving the session to catch blind spots, design flaws, and substantive bugs while course corrections are still cheap. Skip it only for small, obvious, well-understood changes. Do NOT use for reviewing a finished diff or PR — use /review for that; rubber-ducky pressure-tests your own in-progress thinking before and during implementation.

★ 10
harnessprotocol
harnessprotocol/harness-kit

review

Use when user invokes /review to review code changes. Also triggers on "review my code", "check this PR", "look at my changes". Accepts a PR number (e.g. /review 123), a path filter (e.g. /review src/auth/), or no argument (reviews current branch vs base). Produces structured per-file review with severity labels, cross-file analysis, and an overall verdict. Do NOT use for explaining what code does — use /explain instead.

开发工程师
★ 10
harnessprotocol
harnessprotocol/harness-kit

research

Use when user invokes /research command with any source — URL, GitHub repo, YouTube video, podcast, Reddit post, academic paper, documentation page, product site, local file, or empty. Processes and indexes research materials with raw source preservation and topic-level synthesis coalescing. Do NOT use for quick factual questions — use /explain instead.

资料检索与研究
★ 10
harnessprotocol
harnessprotocol/harness-kit

refresh-research

Use when user invokes /refresh-research to re-fetch refreshable research sources, detect meaningful changes, and update synthesis files. Supports specific files, categories, staleness thresholds, backfill of source_type, and audit-only dry runs.

资料检索与研究
★ 10
harnessprotocol
harnessprotocol/harness-kit

pr-sweep

Use when you want to sweep all open pull requests across all repos, triage their status, run code reviews on unreviewed PRs, merge what's ready, fix quick blockers, and produce a full status report. Trigger when the user says "check my PRs", "close out open PRs", "what's the status of my PRs", "sweep my PRs", "PR sweep", "pull request sweep", or wants a cross-repo PR status report. Future: pairs with the loop skill for ongoing automated PR management.

开发工程师代码审查Skill与智能体开发
★ 10