Logo van Speq Implement

Speq Implement

Organisatie
exasol-labs
speq-implement

Implements a reviewed plan: task breakdown, TDD sub-agents, code review, and a verification report. Use to build or execute a plan under specs/_plans/, after /speq-plan and before /speq-record. Arg: plan-name.

Overzicht

Uitgeverexasol-labs
Repositoryspeq-skill
Skillnaamspeq-implement
Sterren
54
Forks
6
Meegeleverde bestanden
2
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door exasol-labs op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Speq Implement in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-implement
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/exasol-labs/speq-skill.git /tmp/speq-skill
mkdir -p .claude/skills
cp -r /tmp/speq-skill/.claude/skills/speq-implement .claude/skills/speq-implement
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Speq Implement in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Speq Implement automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Speq Implement niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Spec Implementer (Orchestrator)

Orchestrate implementation of the plan in specs/_plans/<plan-name>. Get the plan name from the user prompt. If none is given, ask.

Sub-agents do the heavy work. Each pins its own model and effort in its frontmatter:

Sub-agentWhen used
implementer-agentGroups with no [expert] task (default)
implementer-expert-agentGroups with at least one [expert] task
code-reviewerFinal review of all changed files

Required Skills

Invoke before starting:

  • /speq-cli: spec discovery
  • /speq-writing-guardrails: prose style for artifacts and GitHub text

Do not invoke coding skills (/speq-code-tools, /speq-ext-library, /speq-code-guardrails) yourself: the orchestrator never writes code. Sub-agents invoke their own required skills.

Orchestrator Role

  • Create and maintain tasks.md for persistence.
  • Spawn sub-agents for parallel task groups.
  • Update task status after each sub-agent completes.
  • Never implement directly. Delegate all coding work.
  • Rotate sub-agents to keep context windows fresh.
  • Update tasks.md before the runtime task, so the persistent state is never behind.
  • If a sub-agent fails, keep its tasks [~] and report the error. Never mark [x] while a test fails.

Rotation rule: when a sub-agent has completed max_tasks_per_agent (default 5) tasks, or returns ROTATION NEEDED: read tasks.md for current state, note the completed tasks from the return, and spawn a fresh agent of the SAME type with the remaining tasks. Repeat until the group is complete.

Rotation hand-off: the outgoing agent writes a hand-off note to specs/_plans/<plan-name>/notes/<group-letter>.md (its own duty, per its Early Termination section). <group-letter> is the group's letter only — the token before the : in its Parallelization-table Group entry (group A: plan-log validation → notes/A.md), never the full group name and never a slug of it. Add one line to the fresh agent's brief: Orientation: read specs/_plans/<plan-name>/notes/<group-letter>.md first. If the note is absent, omit the line. The note is working state inside the plan directory. It is never committed evidence, and it moves into the archive with the plan directory.

Workflow

Phase 0: Load Project Hook (orchestrator)

Check for .speq/implement-hook.md in the repo root.

  • Present: read it. Announce "Loaded project hook: .speq/implement-hook.md". Its content is authoritative: it can add to, change, or override any part of this workflow. If the hook conflicts with this workflow, the hook wins.
  • Absent: continue, no mention.

Add a Project Hook: line (path only, not content) to every sub-agent brief below. implementer-agent, implementer-expert-agent, and code-reviewer read the hook themselves from that path.

Phase 1: Load Plan

Read: specs/_plans/<plan-name>/plan.md
Read: specs/_plans/<plan-name>/decision-log.md

Extract: feature specs, implementation tasks, parallelization groups, verification commands from plan.md, and the ## Design Decisions entries from decision-log.md.

Phase 2: Create Tasks

Decompose the plan into a Work Breakdown Structure in specs/_plans/<plan-name>/tasks.md.

If tasks.md already exists, resume per Context Recovery instead of creating it again.

Format:

markdown
# Tasks: <plan-name>

## Phase 2: Implementation (Group A)
- [ ] 2.1 <task from plan>
- [ ] 2.2 <task from plan> [expert]

## Phase 2: Implementation (Group B)
- [ ] 2.3 <task from plan>

## Phase 3: Verification
- [ ] 3.1 Run test suite
- [ ] 3.2 Run linter

Status markers:

  • [ ] pending
  • [~] started
  • [x] completed

Difficulty tags:

  • [expert]: tagged by planner-agent during planning. Routes the task's whole group to implementer-expert-agent (Phase 3 routing rule). Preserve the tag through every status transition.
  • untagged: a group with only untagged tasks routes to implementer-agent.

If the plan tagged no tasks and a task clearly needs expert reasoning (for example concurrency, a cross-file refactor, a novel algorithm), you MAY add [expert] when materializing tasks.md. Tag sparingly: over-tagging wastes tokens.

Also create runtime tasks:

For each task in tasks.md:
  TaskCreate(subject, description, activeForm)

Phase 3: Implement (Orchestrated)

For each parallel group in plan's ## Parallelization:

  1. Route the whole group by its hardest task. Any [expert] task routes the whole group to implementer-expert-agent. Otherwise the whole group goes to implementer-agent. One agent per group. Never split a group by tag: a group is one knowledge cluster, and each extra agent rebuilds the same mental model, which costs more than the model-price difference.
  2. Mark started: update tasks.md, [ ] → [~].
  3. Spawn one sub-agent for the group with the invocation template below. If the plan's Parallelization table has a Knowledge column, copy the group's entry into the brief's Knowledge: line. If decision-log.md's ## Design Decisions has entries that touch this group's tasks, paste their Decision and Rationale verbatim into the brief's ## Rationale section. The orchestrator already read the plan and its decision log once in Phase 1, so the sub-agent does not reread them for this. Omit ## Rationale entirely when no entry touches this group.
  4. Await completion: the sub-agent returns results or a rotation signal.
  5. Handle rotation: apply the Rotation rule and Rotation hand-off above.
  6. Mark completed: update tasks.md, [~] → [x] (preserve the [expert] tag).
  7. Update TaskTools: TaskUpdate(taskId, status: "completed").
  8. Next group: proceed once its dependencies are complete.

Subagent invocation (implementer-agent, or implementer-expert-agent for a group with an [expert] task):

Delegate to <implementer-agent | implementer-expert-agent>: Implement <group-name>

## Your Tasks (the whole group)

{group_task_list}

## Rationale

<verbatim Decision and Rationale of the decision-log.md ## Design Decisions entries that touch this group's tasks; omit this section if none do>

## Context

- Plan: specs/_plans/{plan_name}/plan.md
- Tasks file: specs/_plans/{plan_name}/tasks.md
- Knowledge: <the group's Knowledge entry: read these spec deltas and files first; omit if the plan has no Knowledge column>
- Orientation: read specs/_plans/{plan_name}/notes/<group-letter>.md first <rotation respawns only>
- Update tasks.md after each task completion (preserve task numbering)
- The untagged tasks in the list are yours too: the group routes as one unit <expert groups only>
- Preserve the [expert] tag when updating status markers <expert groups only>
- Report the invariants the code now enforces <expert groups only>
- Project Hook: <if active, ".speq/implement-hook.md: read it and apply it"; otherwise omit this line>

Phase 4: Code Review

Review all changed files after implementation completes. Code review runs ONCE per implementation: after fix tasks complete, proceed to Phase 5 (its checks verify the fixes). Do not respawn code-reviewer for a second round.

  1. Collect changed files: git diff --name-only <base> for tracked changes plus git ls-files --others --exclude-standard for new files. Implementation work is uncommitted at this point, so diff against the working tree. A commit-range diff (<base>...HEAD) would miss all of it.
  2. Spawn code-reviewer agent:
    Delegate to code-reviewer — Review implementation quality
    
    ## Changed Files
    
    {changed_files_list}
    
    ## Context
    
    - Plan: specs/_plans/{plan_name}/plan.md
    - Review for: guardrail violations, dead code, test quality, bad comments, optimizations, YAGNI/over-engineering, error handling, design depth
    - Write findings to specs/_plans/{plan_name}/review-findings.md per your output format, partitioned into `## Standard fixes` and `## Expert fixes`; return only the one-line verdict.
    - Project Hook: <if active, ".speq/implement-hook.md — read it and apply it"; otherwise omit this line>
    It returns one line: CODE REVIEW: <n> findings — standard: <n>, expert: <n> — <path>. You never see the findings themselves.
  3. Process findings: branch on the two counts in the verdict. If both are 0, go to Phase 5. One agent applies the whole fix pass, routed by its hardest finding: the findings cluster on the files just written, and a second agent there re-orients into the same code and can collide with the first.
    • standard > 0, expert == 0: spawn implementer-agent:
      Delegate to implementer-agent — Apply standard review fixes
      
      ## Your Assignment (fix-task mode)
      
      Read specs/_plans/{plan_name}/review-findings.md, section `## Standard fixes`.
      Append one fix task per finding to specs/_plans/{plan_name}/tasks.md under a
      `## Phase 4: Review Fixes` group, deriving each task line from the finding's
      `Fix:` field, then execute them.
      
      ## Context
      
      - Plan: specs/_plans/{plan_name}/plan.md
      - Project Hook: <if active, ".speq/implement-hook.md — read it and apply it"; otherwise omit this line>
    • expert > 0: spawn implementer-expert-agent with the same brief shape, naming section ## Expert fixes, and also ## Standard fixes when standard > 0. It tags only the tasks derived from ## Expert fixes with [expert].
  4. Proceed to Phase 5.

Phase 5: Verification

5a. Automated Checks

Execute commands from plan's ## Verification > Checklist. Redirect each command's output to a log: mkdir -p target && <command> > target/speq-<suite>.log 2>&1, then branch on the exit code. If a report quotes output, quote at most tail -n 30 of the log. Raw build or test output never lands verbatim in the transcript.

  • Build → exit 0
  • Test → 0 failures
  • Lint → 0 errors
  • Format → no changes
5b. Scenario Coverage Audit

Cross-reference plan's ## Verification > Scenario Coverage against test results:

  • Every listed scenario → corresponding test exists and passes
  • Flag any scenario without a passing test as incomplete
5c. Manual Verification

Execute each step from plan's ## Verification > Manual Testing:

  • Run documented commands against the built software
  • Capture actual output as evidence for the verification report
  • Mark pass/fail per feature

Update tasks.md verification tasks as completed.

Phase 6: Verification Report

Generate using references/verification-template.md. Structure the report BLUF (Bottom Line Up Front): verdict and summary first, evidence after. Fill the Verdict table's Code review row from Phase 4's verdict line: a later session's condensed PR comment quotes the Verdict table, and that row is how the counts survive.

Save to: specs/_plans/<plan-name>/verification-report.md

Phase 7: Completion

Print the summary per references/implementation-summary-template.md, built from the verification-report.md Phase 6 just wrote, ending:

Ready for: /speq-record <plan-name>

Context Recovery

If context is lost or compacted:

  1. Read specs/_plans/<plan-name>/tasks.md
  2. Find incomplete tasks ([ ] or [~])
  3. Resume from the first incomplete task. A [~] task means its sub-agent was interrupted: respawn that group's agent
  4. Continue the orchestration workflow

References

FileUse When
references/verification-template.mdPhase 6 report generation
references/implementation-summary-template.mdPhase 7 summary

Anti-Patterns

PatternWhy Wrong
Orchestrator invokes coding skillsThe orchestrator never writes code, and that text dilutes the most expensive session for work it never does
Splitting one group between two agents by tagThe group is one knowledge cluster; each extra agent re-derives the same mental model
Marking [x] without a sub-agent completion returnOnly verified completions are done
Skipping the verification report/speq-record gates on it
Pointing a sub-agent at decision-log.md for rationale instead of inlining the group's excerptFull-file reads repeat per sub-agent; the orchestrator already read the decision log once in Phase 1

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Speq Implement?

Implements a reviewed plan: task breakdown, TDD sub-agents, code review, and a verification report. Use to build or execute a plan under specs/_plans/, after /speq-plan and before /speq-record. Arg: plan-name.

Waarom Speq Implement gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Speq Implement bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Speq Implement in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-implement. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Speq Implement gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Speq Implement gebruiken?

Zoveel als je wilt. Je kunt Speq Implement gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Speq Implement gratis?

Ja. Deze skill is door exasol-labs op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇