src/main/resources/targets/claude/skills/core/lib/x-lib-verify-group/SKILL.md
Build gate verification between parallelism groups. Compiles code, classifies errors, decides retry vs escalate, extracts outputs for next group. Used between each implementation group in Phase 2.
npx skillsauth add edercnj/ia-dev-environment x-lib-verify-groupInstall 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.
Runs between each parallelism group (G1-G7) during Phase 2 of the feature lifecycle. Compiles the code, classifies any errors, decides whether to retry or escalate, and extracts created file contents for the next group's dependency inputs.
| Caller Skill | Phase | Context | |-------------|-------|---------| | x-implement-story | Phase 2 | After each group completes, BEFORE starting the next group | | x-implement-task | Implementation | Inline build gate between layer groups |
| Input | Type | Description |
|-------|------|-------------|
| Group ID | G1\|G2\|G3\|G4\|G5\|G6\|G7 | The parallelism group to verify |
| Task outputs | File list | Files created/modified by tasks in the completed group |
{{COMPILE_COMMAND}}
Capture: exit code + stderr output.
For G7 (Tests group), use the full build command instead:
{{BUILD_COMMAND}}
Classify errors based on the {{LANGUAGE}} compiler/interpreter output. The patterns below are common across languages — adapt to the specific error messages produced by your toolchain:
| Error Category | Classification | Meaning | | ----------------------------------------------------- | ------------------ | --------------------------------- | | Missing type/symbol from a PREVIOUS group | MISSING_DEPENDENCY | Previous group regression | | Missing type/symbol from the CURRENT group | TASK_ERROR | Current task produced bad code | | Type mismatch / incompatible types | TASK_ERROR | Wrong types in current task | | Missing package/module from previous group | MISSING_DEPENDENCY | Previous group incomplete | | Missing external dependency | BUILD_ERROR | Missing dependency in build file | | Interface/contract mismatch | TASK_ERROR | Implementation doesn't match port | | Unhandled error/exception | TASK_ERROR | Missing error handling | | Any other error | UNKNOWN | Needs investigation |
| Classification | Attempt | Action | | ------------------ | ------- | ------------------------------------------------- | | TASK_ERROR | 1st | RETRY same tier, add error message to prompt | | TASK_ERROR | 2nd | RETRY same tier, add both errors to prompt | | TASK_ERROR | 3rd | ESCALATE to next tier (Junior->Mid, Mid->Senior) | | MISSING_DEPENDENCY | any | HALT pipeline, flag previous group regression | | BUILD_ERROR | any | HALT pipeline, report missing dependency | | UNKNOWN | 1st | ESCALATE immediately to next tier | | UNKNOWN | 2nd | HALT pipeline, flag for manual intervention |
Escalation path: Junior -> Mid -> Senior -> Manual intervention
When retrying a task:
## COMPILATION ERROR\n{error message}\n## FIX INSTRUCTIONS\nThe previous attempt produced this error. Fix it.For each task in the completed group:
task.files_createdtask.files_modifiedAfter successful compilation:
git add {all files from this group}
git commit -m "{group commit message}"
Group commit messages follow Conventional Commits format (see rules/06-git-conventions.md for scopes):
feat({scope}): add {group description} for STORY-ID
Derive the {scope} from the architecture layer being committed. The scopes table in rules/06-git-conventions.md defines the valid scopes for your project. Example pattern:
feat(domain): add foundation models and migration for STORY-IDfeat(domain): add ports, DTOs, and engine for STORY-IDpersistence, api, config)feat(observability): add tracing and metrics for STORY-IDtest: add tests for STORY-IDGroup G{N} verified: {PASS|FAIL}
Tasks: {N} completed, {N} retried, {N} escalated
Files: {N} created, {N} modified
Warnings: {N}
{If escalation: "ESCALATION: T{X} from {tier} -> {next_tier} (reason: {error})"}
G7 uses {{BUILD_COMMAND}} instead of {{COMPILE_COMMAND}}:
Additional checks:
If tests fail:
| Scenario | Action | |----------|--------| | Compilation fails with TASK_ERROR (1st attempt) | Retry same tier with error message in prompt | | Compilation fails with TASK_ERROR (2nd attempt) | Retry same tier with both errors in prompt | | Compilation fails with TASK_ERROR (3rd attempt) | Escalate to next tier (Junior -> Mid -> Senior) | | MISSING_DEPENDENCY detected | Halt pipeline, flag previous group regression | | BUILD_ERROR (missing external dependency) | Halt pipeline, report missing dependency in build file | | UNKNOWN error (1st attempt) | Escalate immediately to next tier | | UNKNOWN error (2nd attempt) | Halt pipeline, flag for manual intervention | | Senior-tier escalation exhausted | Halt pipeline, flag for manual intervention |
| Skill | Relationship | Context | |-------|-------------|---------| | x-implement-story | called-by | Invoked during Phase 2 after each group | | x-implement-task | called-by | Build gate between layer groups during implementation |
{{COMPILE_COMMAND}} for G1-G6, {{BUILD_COMMAND}} for G7testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.
tools
Generates a Picocli @Command with subcommands, options, converters, and unit tests.
testing
Scaffolds a Micronaut service with @Controller, DI, health, Dockerfile, and tests.
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.