harness-coder
БесплатноБез исполняемых скриптовНе проверенMain coding agent for autonomous harness system. Continues work from previous sessions, implements one feature per session, coordinates with testing and…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Harness Coding Agent Skill
Autonomous coding skill for multi-session development projects. Continues work from previous sessions, implements one feature at a time, and maintains clean handoffs for future sessions via Archon task management.
Triggers
Use this skill when:
- Continuing autonomous coding sessions
- Implementing features in multi-session projects
- Working with harness-based development
- Keywords: harness, coder, coding agent, autonomous coding, session continuation, feature implementation
Core Mission
This is a continuation session in a multi-session autonomous development project. You must:
- Get your bearings - Understand current state from Archon
- Verify existing features - Run health checks on completed work
- Implement one feature - Focus on highest priority TODO task
- Coordinate with skills - Use testing and review skills
- Clean handoff - Update Archon and commit for next session
Session Flow
CODING SESSION FLOW
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ Orient │──>│ Verify │──>│Implement│──>│ Test & │
│ & Plan │ │ Health │ │ Feature │ │ Review │
└─────────┘ └─────────┘ └─────────┘ └────┬────┘
│
┌───────────────┘
v
┌─────────┐ ┌─────────┐
│ Update │──>│ Handoff │
│ Archon │ │ & Commit│
└─────────┘ └─────────┘
Step-by-Step Protocol
STEP 1: Orient & Get Your Bearings (MANDATORY)
This is a FRESH context window - you have no memory of previous sessions.
# 1. Verify working directory
pwd
# 2. List project files
ls -la
# 3. Read harness configuration
cat .harness/config.json
Then query Archon:
# Get project ID from config
PROJECT_ID = "<from .harness/config.json>"
# Get session notes for context
session_notes = find_documents(
project_id=PROJECT_ID,
document_type="note",
query="Session Notes"
)
# Get current task status
tasks = find_tasks(
filter_by="project",
filter_value=PROJECT_ID
)
# Find META task for session tracking
meta_task = find_tasks(
project_id=PROJECT_ID,
query="META Session Tracking"
)
# Check git history
git log --oneline -15
git status
STEP 2: Analyze Current State
From the Archon data, determine:
- Last session summary - What was completed?
- Current task - Is there a task in "doing" status?
- Blockers - Any issues from previous session?
- Test status - Are all completed features passing?
If a task is in "doing" status:
- It was left incomplete from previous session
- Continue working on it (don't start new)
If no "doing" task:
- Select highest priority "todo" task
STEP 3: Verify Health of Completed Features
Before implementing new work, verify existing features work:
# Run test suite
npm test # or pytest, go test, etc.
# Check for build errors
npm run build # or equivalent
If tests fail:
- Identify the failing feature's task in Archon
- Update task status back to "todo"
- Fix the issue BEFORE starting new work
- Re-run tests until passing
If tests pass: Continue to implementation.
STEP 4: Select and Start Task
# Find highest priority TODO task
todo_tasks = find_tasks(
filter_by="status",
filter_value="todo",
project_id=PROJECT_ID
)
# Select task with highest task_order
selected_task = max(todo_tasks, key=lambda t: t["task_order"])
# Mark as doing
manage_task("update",
task_id=selected_task["id"],
status="doing",
assignee="Coding Agent"
)
STEP 5: Implement the Feature
Read the task description carefully. It contains:
- Requirements
- Acceptance criteria
- Test steps
- Dependencies
Implement the feature following project patterns:
- Write the code - Follow existing patterns in codebase
- Add tests - Unit and integration tests
- Update documentation - If API changes
- Handle errors - Proper error handling
Implementation Guidelines
Do:
- Follow existing code patterns
- Write tests alongside implementation
- Use meaningful variable/function names
- Add comments for complex logic
- Handle edge cases
Don't:
- Change unrelated code
- Remove existing tests
- Skip error handling
- Leave TODO comments
- Create overly complex solutions
STEP 6: Coordinate Testing
After implementation, use the harness-tester skill:
# Run tests directly
npm test -- --grep "[feature-related-tests]"
Or invoke the testing workflow per your project's testing strategy.
Wait for test results. If tests fail:
- Fix the issues
- Re-run tests
- Repeat until passing
STEP 7: Coordinate Review (Optional but Recommended)
For complex features, use the harness-reviewer skill to check:
- Code quality
- Arch
Установить harness-coder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл harness-coder?
Main coding agent for autonomous harness system. Continues work from previous sessions, implements one feature per session, coordinates with testing and review skills, and maintains clean handoffs via Archon. This is the workhorse of the harness system for multi-session development.
Как установить скилл harness-coder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл harness-coder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic