harness-claude-code
CLAUDE.md0 starsChanged 5 months agoMITView on GitHub
Guidance for working on this repo. This is not an application — it is a Claude Code plugin (harness-claude-code) distributed through a marketplace. There is no app to run, no test suite to execute, no server to boot. The "product" is a set of Markdown prompts (agents, commands, skills), a few deterministic JavaScript orchestration scripts (workflows), and shell hooks. Editing this repo means editing prompts and the contracts between them. An opinionated product → architecture → implementation → validation workflow:
In this repository74 other files it gives its agents.
- create-bug-issueSkill
- create-enhancement-issueSkill
- create-feature-issuesSkill
- dream-summary-memorySkill
- memory-conventionSkill
- operation-gitSkill
- pattern-architect-api-endpointSkill
- pattern-architect-data-modelSkill
- pattern-architect-deep-moduleSkill
- pattern-e2e-coding-standardSkill
- pattern-engineer-apiSkill
- pattern-engineer-backend-standardSkill
- pattern-engineer-coding-standardSkill
- pattern-engineer-containerSkill
- pattern-engineer-databaseSkill
- pattern-engineer-fastapiSkill
- pattern-engineer-frontend-standardSkill
- pattern-engineer-goSkill
- pattern-engineer-javaSkill
- pattern-engineer-kotlinSkill
- pattern-engineer-nodeSkill
- pattern-engineer-non-functionalSkill
- pattern-engineer-observabilitySkill
- pattern-engineer-pythonSkill
- pattern-engineer-rustSkill
- pattern-engineer-securitySkill
- pattern-engineer-ssrSkill
- pattern-engineer-swiftSkill
- pattern-engineer-typescriptSkill
- pattern-engineer-viteSkill
- pattern-exploratory-testingSkill
- pattern-reviewer-apiSkill
- pattern-reviewer-backend-standardSkill
- pattern-reviewer-coding-standardSkill
- pattern-reviewer-containerSkill
- pattern-reviewer-contractSkill
- pattern-reviewer-databaseSkill
- pattern-reviewer-fastapiSkill
- pattern-reviewer-frontend-standardSkill
- pattern-reviewer-goSkill
- pattern-reviewer-javaSkill
- pattern-reviewer-kotlinSkill
- pattern-reviewer-nodeSkill
- pattern-reviewer-non-functionalSkill
- pattern-reviewer-observabilitySkill
- pattern-reviewer-pythonSkill
- pattern-reviewer-rustSkill
- pattern-reviewer-securitySkill
- pattern-reviewer-ssrSkill
- pattern-reviewer-swiftSkill
- pattern-reviewer-test-coverageSkill
- pattern-reviewer-typescriptSkill
- pattern-reviewer-viteSkill
- pattern-test-coverageSkill
- principle-engineer-tddSkill
- scaffold-projectSkill
- workflow-architect-interviewSkill
- workflow-designer-sample-pagesSkill
- workflow-design-interviewSkill
- workflow-e2e-authorSkill
- The first 60 shown.
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
Author new surfaces through the meta-skills: Use /create-skill for a new skill and /create-agent for a new agent rather than hand-rolling …
- Distinctive: line 64
Never let a rule exist only on the reviewer side — prevention at authoring time is cheaper than a review-fix round-trip.
- Very specific: line 67
No shared imports between .mjs files — shared logic (the review fan-out) is duplicated inline by design.
- Very specific: line 83
Commit messages: follow Conventional Commits with a trailing version stamp, e.g.
- Distinctive: line 87
Commit/push only when asked.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Guidance for working on this repo. This is not an application — it is a
Claude Code plugin (harness-claude-code) distributed through a marketplace.
There is no app to run, no test suite to execute, no server to boot. The
"product" is a set of Markdown prompts (agents, commands, skills), a few
deterministic JavaScript orchestration scripts (workflows), and shell hooks.
Editing this repo means editing prompts and the contracts between them.
What it ships
An opinionated product → architecture → implementation → validation workflow:
- Commands (
commands/*.md) — slash-command orchestrators. They never write code themselves; they bring agents onto a team, brief them, and (in execution) launch background Workflow runs against GitHub-issue state./shipis the unified execution command (feature + enhancement + bug);/implement-featureis its feature-only fallback;/deep-dive-featureand/scaffold-projectare the discovery + bootstrap commands;/create-agentand/create-skillauthor new plugin surfaces. - Agents (
agents/*.md) — single-role subagents (product-owner,design-lead,architect,engineer,e2e-author,axis-reviewer,reviewer,doc-writer,sre). Each declares its model and the skills it loads (always-on vs. conditional pattern/principle vs. conditional workflow). - Skills (
skills/<name>/SKILL.md) — auto-activating capability prompts. Engineer-facingpattern-engineer-*skills are paired 1:1 with reviewer-facingpattern-reviewer-*skills;pattern-test-coverageis the shared, role-neutral catalogue both sides gate against.operation-gitis the single source of truth for everygh/gitmechanic (scripts + templates live under it). - Workflows (
workflows/*.mjs) — deterministic multi-agent orchestration run via theWorkflowtool.implement-slice.mjsdrives a feature/enhancement slice;fix-bug.mjsis its lighter bug sibling. Both inline their review fan-out as a function (runReviewSlice()/runReview()) rather than a child workflow. - Hooks (
hooks/, wired byhooks/hooks.json) — an engineer pre-push CI gate and theruntime-telemetry/capture scripts.
Layout
.claude-plugin/ plugin.json (manifest, holds the version) + marketplace.json
agents/ role-based subagents (one .md each)
commands/ slash commands (one .md each)
skills/ auto-activating skills (one directory per skill, SKILL.md + templates/ + scripts/)
workflows/ deterministic Workflow scripts (plain self-contained JS) + README.md
hooks/ PreToolUse / SubagentStart hooks + hooks.json
docs/ workflow.html (visual walkthrough)
README.md the authoritative prose catalogue of every surfaceConventions
- Author new surfaces through the meta-skills. Use
/create-skillfor a new skill and/create-agentfor a new agent rather than hand-rolling the frontmatter — they encode the naming, model-choice, and section structure this repo expects. - Engineer/reviewer pairing is load-bearing. A new
pattern-engineer-Xshould have a matchingpattern-reviewer-X, and coverage substance belongs in the sharedpattern-test-coverage(so a dreamed rule reaches both sides). The split within a pair: same rules on both sides; the engineer gets the imperative, the reviewer gets the apparatus. Engineer skills stack many-at-once in one dispatch, so they stay terse one-liners; reviewer skills load one-per-axis, so they carry detection method, severity calibration, BAD/GOOD, and false-positive guards. Never let a rule exist only on the reviewer side — prevention at authoring time is cheaper than a review-fix round-trip. - Workflow scripts are plain JavaScript, not TypeScript, and self-contained.
No shared imports between
.mjsfiles — shared logic (the review fan-out) is duplicated inline by design.Date.now()/Math.random()are unavailable in workflow scripts; dates are passed in viaargs.today. ghovergitfor any GitHub operation that has aghequivalent; reserve rawgitfor purely local work (rebase, worktree, fetch, force-with-lease).- Hook matchers must tolerate namespaced
agent_type. Plugin agents fire hooks asharness-claude-code:engineer(not bareengineer). Never gate on bare-string equality — use a regex matcher like^(.+:)?(engineer|reviewer)$. (Claude Code only treats a matcher as regex when it contains characters outside[A-Za-z0-9_|].)
Versioning & commits
- SemVer, recorded in
.claude-plugin/plugin.json#version(the single source of truth). Bump it deliberately — group related work under one bump rather than incrementing per commit. - Commit messages follow Conventional Commits with a trailing version stamp,
e.g.
feat(bug-lifecycle): add the unified /ship command (v0.41.0). - Tag releases as
vX.Y.Z.skills/operation-git/scripts/create-release.shis the release helper. - Commit/push only when asked; if on
main, branch first.
Keep docs in lockstep
Three surfaces describe the same system and drift apart easily — when you change behavior, update all that apply in the same change:
README.md— the authoritative per-surface catalogue (commands, agents, workflows, skills, hooks, discovery scripts).docs/workflow.html— the visual walkthrough (hero, big-picture diagram, execution stages, label protocol).- The frontmatter
descriptionof the agent/skill/command you touched — it is what drives activation, so it must match what the body actually does.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

