plugins/harness-powers/skills/harness-dispatch/SKILL.md
Use when executing a Harness plan that has independent tasks or problem domains suitable for delegated workers in the current session.
npx skillsauth add Refinex-Space/Refinex-Skills harness-dispatchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Delegate independent Harness plan work to fresh workers while the primary agent keeps plan ownership, integration judgment, and final verification.
Use one fresh worker per independent task or domain. Each worker gets only the context, write scope, and verification commands it needs. The primary agent owns the plan, coordinates boundaries, reviews returned work, integrates changes, updates evidence, and decides when to proceed.
Use this skill when:
Do not dispatch when:
The primary agent never gives away execution ownership. It must:
AGENTS.md, and relevant project instructions.harness-verify before claiming the whole implementation is complete.Group work by ownership boundary:
Before dispatch, write down:
Use one worker per independent domain. If two domains need the same file, either serialize them or define a clear coordination rule before dispatch.
Every worker must be fresh. Do not rely on inherited conversation context. Include:
Use references/implementer-prompt.md for implementation workers.
For each worker result:
NEEDS_CONTEXT, provide the missing context and redispatch.BLOCKED, decide whether to split the task, clarify the plan, or escalate to the user.DONE_WITH_CONCERNS, read the concerns before review and decide whether the work is reviewable.references/spec-reviewer-prompt.md.references/code-quality-reviewer-prompt.md after spec compliance passes.Spec compliance answers: did the worker build exactly what was requested?
Code quality answers: is the accepted implementation secure, correct, maintainable, and tested?
After all workers for a batch return:
Parallel dispatch saves time only if integration is real. Never trust summaries without checking the resulting files and commands.
Workers must return this structure:
Status: DONE | DONE_WITH_CONCERNS | NEEDS_CONTEXT | BLOCKED
Changed files:
- `path`: created/modified/deleted, with one-line purpose
Verification:
- Command: `...`
Result: passed/failed/not run
Evidence: short output summary
Residual risks:
- security, correctness, performance, migration, concurrency, or test gaps
Plan deviations:
- any requirement not implemented exactly as written
- any extra work added
- any file touched outside the expected scope
Notes:
- questions, blockers, or review-worthy context
Missing changed files, verification results, residual risks, or plan deviations are not acceptable for a completed worker report.
references/implementer-prompt.md - implementation worker promptreferences/spec-reviewer-prompt.md - spec compliance reviewer promptreferences/code-quality-reviewer-prompt.md - code quality reviewer promptdevelopment
Deep initialization of project AGENTS.md hierarchy and control plane for AI coding agents. Use this skill whenever the user wants to set up, initialize, bootstrap, or create AGENTS.md / CLAUDE.md files for their project, or when they mention "init-deep", "harness setup", "control plane", "agent context", "project initialization for agents", or want to make their codebase agent-ready. Also trigger when a user says things like "set up my repo for Claude Code", "make this project work better with agents", "create agent instructions", "bootstrap harness", or "initialize agent docs". This skill handles both existing large codebases (where hierarchical, module-scoped AGENTS.md files are needed) and new/small projects (where brainstorming with the user comes first). Do NOT use this skill for routine code changes, bug fixes, or general documentation — it is specifically for creating the structured agent control plane.
development
Detect and fix drift in project AGENTS.md files and agent control plane. Use this skill whenever the user wants to audit, recalibrate, refresh, update, or fix their existing AGENTS.md files, or when they mention "drift", "stale AGENTS.md", "outdated agent instructions", "recalibrate", "sync agents", "audit control plane", "AGENTS.md is wrong/old/broken", or when they suspect their agent harness has fallen out of sync with the codebase. Also trigger when a user says things like "my agents keep making wrong assumptions", "Claude doesn't understand the new structure", "we refactored but the AGENTS.md is old", "check if my AGENTS.md is still accurate", or "update my agent docs". This skill is the companion to init-deep — init-deep creates the control plane from scratch, drift-doctor maintains it over time. Do NOT use for initial creation of AGENTS.md (use init-deep instead). Do NOT use for general code review or documentation updates unrelated to agent context.
development
Use when adding, fixing, reviewing, or generating code comments, docstrings, Javadoc, JSDoc/TSDoc, rustdoc, SQL comments, or documentation comments for source, markup, configuration, or database files.
development
Enforce production-grade Java development standards when writing, reviewing, or architecting Java code. Covers commenting, core Java idioms (Stream, collections, concurrency, generics), 23 GoF design patterns, SonarQube/Alibaba p3c/Lombok rules, Spring Boot MVC structure, Spring Cloud DDD microservices, MyBatis/JPA/transaction management, exception handling, logging, REST API design, testing, and security. Trigger whenever the user writes Java code, reviews Java code, designs a Spring Boot or Spring Cloud project, implements a design pattern, fixes code smells, discusses architecture, or asks about Java best practices. Also trigger when Java code is pasted for feedback or the user asks about package structure, DTO/VO/PO conventions, or coding standards.