agentleFS
walkinglabswalkinglabs/learn-harness-engineering/CLAUDE.md

learn-harness-engineering

CLAUDE.md19k starsChanged 2 months agoMITView on GitHub

Learn Harness Engineering is a project-based course on building reliable coding environments for AI agents. The repo contains a VitePress documentation site plus hands-on project code. The course revolves around an Electron knowledge-base desktop app that evolves across the projects: - Main process (src/main/): Window management, IPC handlers, service initialization - Preload (src/preload/): contextBridge exposing typed API to renderer - Renderer (src/renderer/): React UI with document list, Q&A panel, status bar - Services (src/services/): DocumentService, IndexingService, QaService, PersistenceService - Shared…

  • Installs packages

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 3 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 3 mentionsSep 2026: 0 mentionsOct 2026: 9 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the walkinglabs/learn-harness-engineering repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about walkinglabs/learn-harness-engineering

The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 17

Talked about on GitHub and Bluesky (17 times).

On GitHub · 16

11 more on GitHub

On Bluesky · 1

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All data stored locally as JSON/text files (no database)

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Learn Harness Engineering is a project-based course on building reliable coding environments for AI agents. The repo contains a VitePress documentation site plus hands-on project code.

Commands

# Documentation site
npm install
npm run docs:dev        # Dev server with hot reload (VitePress)
npm run docs:build      # Production build
npm run docs:preview    # Preview built site

# Run lecture code examples
npx tsx docs/en/lectures/<lecture-dir>/code/<file>.ts

# Project Electron apps (from each project directory)
cd projects/project-NN/starter  # or solution/
npm install
npm run dev              # Build + launch Electron (via scripts/dev.js)
npm run check            # Type-check both tsconfig.json and tsconfig.node.json
npm run test             # Vitest run (single run)
npm run test:watch       # Vitest watch mode

Repository Structure

  • docs/ — VitePress documentation site (lectures, projects, resources)
  • docs/.vitepress/config.mts — Nav/sidebar config for all 15 locales (en, zh, zh-TW, ja, ko, es, fr, ru, de, ar, vi, uz, tr, uk, pt-BR)
  • docs/<lang>/lectures/ — 14 lectures, each with index.md + code/ examples
  • docs/<lang>/projects/ — 8 project descriptions
  • docs/<lang>/resources/ — localized templates, references, OpenAI advanced pack
  • docs-readme/ — localized README translations (one directory per locale)
  • projects/shared/ — Shared Electron + TypeScript + React foundation
  • projects/project-NN/ — Per-project starter/ and solution/ directories (project-01 through project-06; project-07 and project-08 are docs-only so far)

Architecture

The course revolves around an Electron knowledge-base desktop app that evolves across the projects:

  • Main process (src/main/): Window management, IPC handlers, service initialization
  • Preload (src/preload/): contextBridge exposing typed API to renderer
  • Renderer (src/renderer/): React UI with document list, Q&A panel, status bar
  • Services (src/services/): DocumentService, IndexingService, QaService, PersistenceService
  • Shared types (src/shared/types.ts): Cross-boundary interfaces and IPC channel constants

Each project's starter/solution is a complete copy of the Electron app at that evolutionary stage. P(N+1) starter is derived from P(N) solution. The shared foundation is in projects/shared/.

Key Patterns

  • IPC channels defined as constants in src/shared/types.ts (IPC_CHANNELS) — single source of truth
  • All data stored locally as JSON/text files (no database)
  • Mock Q&A returns structured answers with citations (no real LLM API)
  • Harness files in project roots: AGENTS.md, CLAUDE.md, feature_list.json, init.sh, claude-progress.md
  • Progressive disclosure: short AGENTS.md entrypoint linking to focused docs
  • Each project has two tsconfigs: tsconfig.json (renderer) and tsconfig.node.json (main/preload)

Multilingual Content

Course documentation is organized by locale under docs/<lang>/. Keep English as the structural source of truth, keep localized directories in sync, and preserve runnable code examples across languages.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.