Skip to content
cccskills
FreePublished on GitHub

harness-engineering

Initialize a Harness Engineering framework in the current project. Use when user says 'harness', 'init harness', 'initialize framework', 'setup harness engineering', '/harness', or wants to set up a Plan-Build-Verify development workflow with specialized agents (planner, generator, evaluator). Creates CLAUDE.md, agent definitions, command templates, hooks, and documentation structure for autonomous AI-driven development.

The English summary is being prepared. Showing the original description.

See how to install

Files included (19)

  • SKILL.md4.7 KB
  • scripts/scaffold.py7.7 KB
  • templates/agents/doc-gardener.md2.7 KB
  • templates/agents/evaluator.md4.1 KB
  • templates/agents/generator.md3.0 KB
  • templates/agents/planner.md3.0 KB
  • templates/CLAUDE.md1.9 KB
  • templates/commands/build.md1.5 KB
  • templates/commands/plan.md913 B
  • templates/commands/qa.md1.2 KB
  • templates/commands/sprint.md2.0 KB
  • templates/docs/architecture.md4.5 KB
  • templates/docs/contracts/TEMPLATE.md1.1 KB
  • templates/docs/golden-principles.md4.2 KB
  • templates/docs/sprint-workflow.md4.7 KB
  • templates/hooks/context-injector.py3.3 KB
  • templates/hooks/loop-detector.py3.7 KB
  • templates/hooks/pre-completion-check.py1.7 KB
  • templates/settings.json1.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Harness Engineering Framework

One-click initialization of a complete Harness Engineering framework in any project directory.

Based on insights from OpenAI (Codex), Anthropic (3-agent GAN architecture), and LangChain (self-verify loops), this skill sets up:

  • 3-agent architecture: Planner (spec), Generator (build), Evaluator (test)
  • Sprint contracts: Machine-verifiable "done" criteria before coding
  • Quality hooks: Loop detection, pre-completion checklist, context injection
  • Slash commands: /plan, /build, /qa, /sprint
  • Golden principles: 10 non-negotiable rules enforced across all agents

When to Use

  • Starting a new project and want structured AI-assisted development
  • Want to set up Plan-Build-Verify-Fix workflow in current project
  • User says "harness", "init harness", "setup framework", or similar

Initialization Process

Step 1: Gather Project Info

Before generating files, ask the user:

  1. Project name (or detect from current directory name)
  2. Tech stack (optional, e.g. "React + Node.js", "Python FastAPI", "Go microservice")
  3. Project type (web app, API service, CLI tool, library, etc.)

If the user provides a description with /harness <description>, extract the info from context.

Step 2: Generate Framework Files

Execute the scaffold script:

python3 {{SKILL_PATH}}/scripts/scaffold.py --project-name "<PROJECT_NAME>" --tech-stack "<TECH_STACK>" --project-type "<PROJECT_TYPE>" --target-dir "<CURRENT_PROJECT_DIR>"

This generates the following structure in the current project:

<project>/
  CLAUDE.md                        # Project map (<80 lines)
  .claude/
    agents/
      planner.md                   # Spec creation agent
      generator.md                 # Implementation agent
      evaluator.md                 # Testing/grading agent
      doc-gardener.md              # Doc freshness agent
    commands/
      plan.md                      # /plan command
      build.md                     # /build command
      qa.md                        # /qa command
      sprint.md                    # /sprint command
    hooks/
      loop-detector.py             # File edit loop detection
      pre-completion-check.py      # Task completion checklist
      context-injector.py          # Session context middleware
  docs/
    architecture.md                # System design
    golden-principles.md           # Non-negotiable rules
    sprint-workflow.md             # Sprint process
    contracts/
      TEMPLATE.md                  # Sprint contract template
    specs/                         # (populated by planner)
    plans/                         # (populated by planner)

Step 3: Configure Hooks

After generating files, merge hook configuration into the project's .claude/settings.json (or create it):

python3 {{SKILL_PATH}}/scripts/merge_settings.py --target-dir "<CURRENT_PROJECT_DIR>"

This adds hook definitions without overwriting existing settings.

Step 4: Verify Installation

Confirm all files were created:

ls -la CLAUDE.md .claude/agents/ .claude/commands/ .claude/hooks/ docs/

Report to the user what was created and how to start using it.

Usage After Initialization

CommandPurpose
/plan <description>Create a feature specification from 1-4 sentences
/buildBuild the most recent spec using sprint workflow
/qaRun evaluator against current code
/sprint <description>Full Plan-Build-Verify cycle from scratch

Key Principles

The framework enforces these rules (see docs/golden-principles.md after install):

  1. Spec before code - No implementation without a written spec
  2. Testable criteria - Every feature has machine-verifiable acceptance criteria
  3. Self-verify first - Generator must self-check before evaluator runs
  4. Loop awareness - Editing same file 5+ times triggers a stop-and-reassess
  5. Contract-driven - Sprint contracts define "done" before coding begins

Architecture

For full details, read the generated docs/architecture.md after installation. Key flow:

User Prompt → Planner (spec) → Generator + Evaluator negotiate contract
→ Generator builds → Evaluator tests → Fix loop (max 3x) → Complete

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Generate and download images through APIMart's asynchronous GPT-Image-2 API. Use when Codex needs APIMart image generation, GPT-Image-2 text-to-image, image-to-image with reference URLs or local image files, 1k/2k/4k output, aspect-ratio control, task polling, or saving APIMart image results locally.

The English summary is being prepared. Showing the original description.

kangarooking/kangarooking-skills679Updated Sep 7, 2026

Find low-follower viral Bilibili videos for account-growth topic selection. Use when the user asks for B站低粉爆款, Bilibili low-fan hits, 起号选题 from B站, niche Bilibili references, or videos ranked by UP主粉丝数, 播放, 点赞, 投币, 收藏, 分享, 评论, 弹幕, and 播放粉丝比.

The English summary is being prepared. Showing the original description.

kangarooking/kangarooking-skills679Updated Sep 7, 2026

用于处理写书过程中的章节截图与插图工作流。适用于:梳理某一章需要哪些截图、逐步给出 Claude Code 实操提示词、规定截图文件名与图号映射、回填本地 Markdown 中的图片位置、清理作者备注为读者版正文、以及把章节和图片按正确位置同步到 Feishu 文档。用户如果提到“书的截图”“章节配图”“图号对应”“放到原文里”“上传飞书文档”“按刚才那套流程来”,应触发此 skill。

The English summary is being prepared. Showing the original description.

kangarooking/kangarooking-skills679Updated Sep 7, 2026

Use for the owner's personal creator-content thumbnails and covers for short video, Bilibili, Douyin, WeChat, or similar platforms from a title, summary, established real portrait, kangaroo IP, product Logo, screenshot, or app reference. It enforces the owner's visual signature, runs a four-concept selection stage, then five responsive platform ratios. Do not use for generic clients, book or album covers, slide title pages, generic posters or social cards, article body illustrations, document headers, website hero art, or unrelated image edits unless the user explicitly invokes cover-skill and accepts the personal-signature rules.

The English summary is being prepared. Showing the original description.

kangarooking/kangarooking-skills679Updated Sep 7, 2026

输入文字或图片,通过腾讯混元生3D TokenHub/OpenAI 兼容接口或腾讯云 SDK 生成3D模型。支持文生3D、图生3D、多视图生3D、PBR、白模、草图生3D、智能拓扑生3D;当用户要求生成或查询混元3D模型时使用。

The English summary is being prepared. Showing the original description.

kangarooking/kangarooking-skills679Updated Sep 7, 2026

Standalone multi-agent image generation skill for Hermes. Includes an internal design compiler, GPT-Image-2 generation via apimart.ai, case library reuse, interactive reference selection, batch workflows, and style-consistent series generation.

The English summary is being prepared. Showing the original description.

kangarooking/kangarooking-skills679Updated Sep 7, 2026

See all skills by kangarooking

Report a problem with this skill