Skilllibrary implementer-hub
install
source · Clone the upstream repo
git clone https://github.com/merceralex397-collab/skilllibrary
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/merceralex397-collab/skilllibrary "$T" && mkdir -p ~/.claude/skills && cp -r "$T/06-agent-role-candidates/implementer-hub" ~/.claude/skills/merceralex397-collab-skilllibrary-implementer-hub && rm -rf "$T"
manifest:
06-agent-role-candidates/implementer-hub/SKILL.mdsource content
Purpose
Coordinates multi-file and multi-module implementation by partitioning work, sequencing changes to avoid merge conflicts, managing cross-cutting concerns, and routing individual file changes to the appropriate implementer agents.
When to use
- An approved plan requires changes across 3+ files or 2+ modules.
- Multiple implementer agents need to work on the same codebase without conflicts.
- Cross-cutting concerns (e.g., error handling, logging, type changes) affect multiple modules.
- A ticket's implementation order matters (e.g., types first, then services, then routes).
Do NOT use when
- Only a single file needs modification — route directly to
.implementer-node-agent - No implementation plan exists yet — use
first.planner - Context has not been gathered — use
first.implementer-context - The task is testing or QA — use
.qa-validation
Operating procedure
- Read the implementation plan and extract the full list of files to be created or modified.
- Run
to check for in-flight changes that might conflict with the plan.git --no-pager diff --name-only HEAD~5 - Group the file list into modules by directory (e.g.,
,src/auth/
,src/api/
). Create a module partition table: | Module | Files | Dependencies | Priority |.src/db/ - Identify cross-cutting concerns by searching for shared types or interfaces: run
to find shared contracts.grep -rn 'export type\|export interface' <target-dirs> | head -30 - Build a dependency-ordered implementation sequence: types/interfaces → data layer → service layer → API/route layer → tests. Record this as a numbered step list.
- For each step in the sequence, identify which files change and whether they can be parallelized (no shared imports between them) or must be serial (one imports from another).
- Dispatch each work unit to the appropriate implementer agent with: file path, planned changes, relevant context from the context bundle, and the conventions sheet.
- After each implementer agent completes, run
to verify only the expected files were modified.git --no-pager diff --stat - Run the project's existing lint command (extract from
scripts orpackage.json
) to catch convention violations across all changed files.Makefile - Run the project's test suite with
,npm test
,pytest
, or equivalent. Record pass/fail counts.cargo test - If any tests fail, identify the failing test, map it back to the responsible implementer change, and re-dispatch a fix to that specific agent.
- Compile a completion report with the full list of changes, test results, and any remaining issues.
Decision rules
- Never dispatch two agents to modify the same file simultaneously — serialize those changes.
- If a type definition changes, all downstream consumers must be updated in the same batch before tests run.
- If a new dependency is needed, add it to the manifest first (step it before any code that imports it).
- If the plan has >15 file changes, split into 2–3 sub-batches and run the test suite between batches.
- If an agent reports a conflict with existing code not in the plan, pause and escalate to the user.
Output requirements
- Module Partition Table — columns: Module, Files, Dependency Count, Execution Priority.
- Implementation Sequence — numbered list showing the order of file changes with parallelization notes.
- Dispatch Log — for each dispatched unit: agent, file(s), status (pending/done/failed), and duration.
- Conflict Check — list of any merge conflicts or unexpected file modifications detected.
- Test Results — pass/fail count, failing test names, and which change caused each failure.
- Completion Summary — total files changed, lines added/removed, and outstanding issues.
References
— inter-agent handoff formatreferences/handoff-contract.md
— common multi-agent coordination failuresreferences/anti-patterns.md
— completion verification standardsreferences/success-criteria.md
Related skills
— provides the context bundles consumed by this skillimplementer-context
— executes individual file-level changesimplementer-node-agent
— produces the plans this skill orchestratesplanner
— validates the combined output of all implementer agentsqa-validation
Failure handling
- If an implementer agent fails on a file, retry once with additional context. If it fails again, mark that file as blocked and continue with independent files.
- If the test suite fails after a batch, run
on the batch changes, re-run tests to confirm the baseline passes, thengit stash
and bisect the failure.git stash pop - If circular dependencies between modules prevent clean ordering, identify the cycle and break it by extracting shared types into a common module first.
- If the plan references files that do not exist and are not marked as "create", flag the discrepancy and ask for plan clarification before proceeding.