Agent skill

implement

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.

Stars 123
Forks 27

Install this agent skill to your Project

npx add-skill https://github.com/Fr-e-d/GAAI-framework/tree/main/.gaai/core/skills/delivery/implement

Metadata

Additional technical details for this skill

id
SKILL-IMPLEMENT-001
track
delivery
author
gaai-framework
status
stable
version
1.0
category
delivery
updated at
1772064000

SKILL.md

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

  1. Load context — retrieve minimal memory, load applicable rules and constraints
  2. Interpret acceptance criteria — translate into specific expected behaviors, validate against plan
  3. Map plan to implementation — determine file paths, naming, modules per conventions; clarify dependency edges
  4. Generate code — write code per plan steps, annotate links to acceptance criteria, respect all style/architecture/quality rules
  5. Generate tests — cover expected behavior from acceptance criteria, include required edge cases, ensure automatable
  6. Internal validation — verify acceptance criteria map to code/tests, run linting if required by rules, confirm memory constraints respected
  7. 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

"I implement exactly what the plan defines, and I prove it."

Expand your agent's capabilities with these related and highly-rated skills.

Fr-e-d/GAAI-framework

ci-watch-and-fix

Watch GitHub Actions CI after PR creation, detect failures, extract logs, apply minimal fixes, and re-push — keeping the delivery session alive until CI resolves or escalating after 3 cycles. Activate immediately after gh pr create and before marking the story done.

123 27
Explore
Fr-e-d/GAAI-framework

qa-review

Validate that implemented code fully satisfies Story acceptance criteria, respects rules, and introduces no regressions. This is the hard quality gate — no pass means no delivery. Activate after implementation is complete.

123 27
Explore
Fr-e-d/GAAI-framework

compose-team

Assemble the context bundles for each sub-agent based on evaluate-story output. Produces spawn-ready packages for Planning, Implementation, QA, or MicroDelivery sub-agents. Activate after evaluate-story, before spawning any sub-agent.

123 27
Explore
Fr-e-d/GAAI-framework

coordinate-handoffs

Validate sub-agent handoff artefacts, sequence phase transitions, and manage retry and escalation logic. Activate after each sub-agent terminates to determine next action.

123 27
Explore
Fr-e-d/GAAI-framework

delivery-high-level-plan

Transform validated Stories into a clear, minimal, governed execution plan. Used by the Planning Sub-Agent as the first planning pass before prepare-execution-plan for Tier 2/3, or as the sole planning output for simple Stories.

123 27
Explore
Fr-e-d/GAAI-framework

prepare-execution-plan

Decompose a high-level delivery plan into a precise, file-level execution sequence with explicit ordering, edge cases, and test checkpoints. Activate after delivery-high-level-plan for complex or multi-phase Stories before implementation begins.

123 27
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results