Implementation
Purpose / When to Activate
Activate when:
- A Story is validated for implementation
- An execution plan exists decomposing the Story into actionable steps
- Relevant memory, rules, and constraints are available
Only proceed when all prerequisites are present and unambiguous.
Process
- Load context — retrieve minimal memory, load applicable rules and constraints
1a. Check contracted skills from the plan — If the execution plan contains a contracted
skill step (from required_skills):
- The platform delivery skills (implement, qa-review, etc.) remain authoritative and are
not replaced or overridden.
- Invoke the contracted skill step as specified in the plan, on top of the platform
backbone.
- Record in the implementation report which contracted skill was invoked and which bound
output AC it targets.
- If the plan contains no contracted skill step (because required_skills was
empty/absent), do NOT introduce any custom skill. The implementation proceeds on the
platform backbone only.
**Out-of-contract guard (hard, no exceptions):** IMPL MUST NOT introduce, discover, or
invoke any custom skill that was not contracted in the story's `required_skills` and
emitted as an explicit step in the plan. Introducing an out-of-contract custom skill is a
scope violation — QA will FAIL it.
- Interpret acceptance criteria — translate into specific expected behaviors, validate against plan
- Map plan to implementation — determine file paths, naming, modules per conventions; clarify dependency edges
- Generate code — write code per plan steps, annotate links to acceptance criteria, respect all style/architecture/quality rules
- Generate tests — cover expected behavior from acceptance criteria, include required edge cases, ensure automatable
- Internal validation — verify acceptance criteria map to code/tests, run linting if required by rules, confirm memory constraints respected
- Produce delivery outputs — code changes, test artifacts, implementation report
Output Definitions
code_changes — diffs or code fragments structured for integration
test_artifacts — test files (unit/integration) aligned with acceptance criteria
implementation_report — human-readable summary including:
- Mapping to plan steps
- Rules applied
- Memory constraints referenced
- Known risks and decisions
Quality Checks
- All acceptance criteria are met
- All rule checks pass
- Relevant tests exist and are runnable
- Implementation report articulates decisions
- Scope is unchanged
- Error-prone operations (I/O, parsing, external calls) have explicit error handling — failures are surfaced, not silently swallowed
- Functions exposed to external input validate arguments before executing
- Identifiers are explicit and intention-revealing — no single-letter variables, no ambiguous abbreviations outside established conventions
- Each function or module has a single, clear responsibility — if it does more than one thing, it must be decomposed
Non-Goals
This skill must NOT:
- Redefine product intent
- Add unrequested features
- Bypass governance rules
- Guess missing requirements
- Embed hidden context or implicit assumptions
- Introduce, discover, or invoke any custom skill not contracted via
required_skills and emitted as an explicit step in the execution plan
"I implement exactly what the plan defines, and I prove it."
1---2name: implement3description: Generate correct, minimal, maintainable code that satisfies a validated Story's acceptance criteria against an execution plan. Activate when a Story is validated, a plan exists, and all prerequisites are unambiguous.4license: ELv25---67# Implementation89## Purpose / When to Activate1011Activate when:12- A Story is validated for implementation13- An execution plan exists decomposing the Story into actionable steps14- Relevant memory, rules, and constraints are available1516Only proceed when all prerequisites are present and unambiguous.1718---1920## Process21221. **Load context** — retrieve minimal memory, load applicable rules and constraints23241a. **Check contracted skills from the plan** — If the execution plan contains a contracted25 skill step (from `required_skills`):26 - The platform delivery skills (implement, qa-review, etc.) remain authoritative and are27 not replaced or overridden.28 - Invoke the contracted skill step as specified in the plan, on top of the platform29 backbone.30 - Record in the implementation report which contracted skill was invoked and which bound31 output AC it targets.32 - If the plan contains no contracted skill step (because `required_skills` was33 empty/absent), do NOT introduce any custom skill. The implementation proceeds on the34 platform backbone only.3536 **Out-of-contract guard (hard, no exceptions):** IMPL MUST NOT introduce, discover, or37 invoke any custom skill that was not contracted in the story's `required_skills` and38 emitted as an explicit step in the plan. Introducing an out-of-contract custom skill is a39 scope violation — QA will FAIL it.40412. **Interpret acceptance criteria** — translate into specific expected behaviors, validate against plan423. **Map plan to implementation** — determine file paths, naming, modules per conventions; clarify dependency edges434. **Generate code** — write code per plan steps, annotate links to acceptance criteria, respect all style/architecture/quality rules445. **Generate tests** — cover expected behavior from acceptance criteria, include required edge cases, ensure automatable456. **Internal validation** — verify acceptance criteria map to code/tests, run linting if required by rules, confirm memory constraints respected467. **Produce delivery outputs** — code changes, test artifacts, implementation report4748---4950## Output Definitions5152**`code_changes`** — diffs or code fragments structured for integration5354**`test_artifacts`** — test files (unit/integration) aligned with acceptance criteria5556**`implementation_report`** — human-readable summary including:57- Mapping to plan steps58- Rules applied59- Memory constraints referenced60- Known risks and decisions6162---6364## Quality Checks6566- All acceptance criteria are met67- All rule checks pass68- Relevant tests exist and are runnable69- Implementation report articulates decisions70- Scope is unchanged71- Error-prone operations (I/O, parsing, external calls) have explicit error handling — failures are surfaced, not silently swallowed72- Functions exposed to external input validate arguments before executing73- Identifiers are explicit and intention-revealing — no single-letter variables, no ambiguous abbreviations outside established conventions74- Each function or module has a single, clear responsibility — if it does more than one thing, it must be decomposed7576---7778## Non-Goals7980This skill must NOT:81- Redefine product intent82- Add unrequested features83- Bypass governance rules84- Guess missing requirements85- Embed hidden context or implicit assumptions86- Introduce, discover, or invoke any custom skill not contracted via `required_skills` and emitted as an explicit step in the execution plan8788**"I implement exactly what the plan defines, and I prove it."**