Logo von Speq Implement Pr

Speq Implement Pr

Organisation
exasol-labs
speq-implement-pr

Builds a planned feature on its feat/plan-name branch as a follow-up to /speq-plan-pr: implements, bumps the version, runs the real test suites, records the specs if green, comments the verification, and marks the PR ready. Run again to resume. Arg: plan name, PR number, or branch name.

Übersicht

Herausgeberexasol-labs
Repositoryspeq-skill
Skill-Namespeq-implement-pr
Sterne
54
Forks
6
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von exasol-labs auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Speq Implement Pr in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-implement-pr
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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-pr .claude/skills/speq-implement-pr
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Speq Implement Pr in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Speq Implement Pr automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Speq Implement Pr nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Spec Implementer, PR flow (Orchestrator)

You are a thin orchestrator on top of speq-implement. Drive a plan on its existing feat/<plan-name> branch to a ready PR through the existing skills, run unchanged:

  • /speq-implement builds and verifies. /speq-record merges the specs. You run every git/gh action yourself, per /speq-git-operations.
  • Record only after the project's real test suites are green.
  • Stop on the first failed step and report it. Running the skill again resumes the work.

Required Skills (for the orchestrator)

Invoke before starting:

  • /speq-cli: spec discovery, to resolve plan names
  • /speq-writing-guardrails: prose style for artifacts and GitHub text
  • /speq-git-operations: the git/gh operation-to-command mapping, safety rules, and return formats. You run every operation directly

speq-implement and speq-record invoke their own required skills.

Workflow

0. Load Project Hook

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

  • Present: read it. Announce "Loaded project hook: .speq/implement-pr-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 without mention.

1. Resolve Target

$1 empty → ask the user which plan. Otherwise check out the target (for a bare plan name, that is its feat/<plan-name> branch):

Run — operation: checkout (per /speq-git-operations)
  target: <$1: a plan name (→ feat/<plan-name>), PR number, or branch name>

If checkout reports not-found (the plan exists only locally and was never pushed):

Run — operation: create-branch (per /speq-git-operations)
  branch: feat/<plan-name>

If specs/_recorded/*-<plan-name>/ exists and specs/_plans/<plan-name>/ does not, the plan is already recorded: skip to step 6.

2. Implement

If verification-report.md exists in the plan directory and every task in tasks.md is [x], skip this step.

Otherwise invoke /speq-implement <plan-name> and let it run to completion. If tasks.md exists, it resumes from the first incomplete task.

3. Bump Version

Skip this step if the version file already differs from the default branch.

Read the tech stack in specs/mission.md and bump the version in that stack's version file (for example Cargo.toml for Rust, package.json for Node, pyproject.toml for Python). Apply the next version per /speq-git-operations § PR title and version bump. Do not take the version from the plan's spec deltas. Run a build to keep the lockfile in sync, redirecting its output to a log: mkdir -p target && <build-command> > target/speq-build.log 2>&1. Branch on the exit code. If a report quotes output, quote at most tail -n 30 of the log.

4. Commit Evidence

Commit and push now, so the evidence artifacts reach git history before /speq-record archives the plan out of tracked space, and so the branch survives workspace loss. Derive <type>(<scope>) per /speq-git-operations § PR title and version bump:

Run — operation: commit (per /speq-git-operations)
  paths: implementation files, version bump, and the whole specs/_plans/<plan-name>/
         directory, not an itemized subset, except specs/_plans/<plan-name>/notes/
         (local working state, never committed)
  message: <type>(<scope>): implement <plan-name>

Run — operation: push (per /speq-git-operations)

5. Test and Record

  1. Run the suites. Run the project's real test suites (per specs/mission.md § Commands, typically an integration suite and an end-to-end suite), redirecting each suite's output to a log: mkdir -p target && <suite-command> > target/speq-<suite>.log 2>&1. Judge green or red by exit code. If any suite is red, report the failed suites with at most tail -n 30 of the relevant log, stop, and leave the plan unrecorded. After the user fixes the code, run this skill again.
  2. Record. Invoke /speq-record <plan-name>. If it asks its library-threshold split question, answer yes (split). Recording accepts the ADR candidates on the plan PR. Your run is the user's go-ahead, so do not stop for an ADR question. If it returns Recording failed: <reason> (for example a stale architecture delta base), stop and report it. After the user fixes the delta or the plan, run this skill again.
  3. Note the Archive: path /speq-record returns.

6. Ship

  1. Ship. One composite call. Step 4 already committed the implementation and evidence, so this commit covers only what /speq-record produced: the merge results and the archive's removal of the plan directory. Derive <type>(<scope>) and <slug> per /speq-git-operations § PR title and version bump. Do not rewrite the PR body speq-plan-pr set. Use Implements <plan-name>. as the body, which applies only if no PR exists yet:

    Run — operation: ship-ready (per /speq-git-operations)
      paths: permanent-spec merges (specs/<domain>/...), specs/architecture.md,
             specs/_decision/ additions, deletion of specs/_plans/<plan-name>/
      message: <type>(<scope>): record <plan-name>
      title: <type>(<scope>): <slug>
      body: Implements <plan-name>.

    ship-ready reuses the draft PR speq-plan-pr opened (or opens one if the plan was only implemented locally) and marks it ready. A commit with nothing to commit is a no-op, so running this step again is safe.

  2. Comment. Post the verification summary. Build it from <archive-path>/verification-report.md, where <archive-path> is the Archive: path from step 5 or, when step 1 skipped ahead, the match of specs/_recorded/*-<plan-name>/. Compose it per /speq-writing-guardrails and /speq-implement's references/implementation-summary-template.md:

    Run — operation: comment-pr (per /speq-git-operations)
      body: <the composed verification summary>
  3. Report the finished PR and leave it for the user's review. Never merge it.

Spec Hierarchy (reference)

specs/
├── <domain>/<feature>/spec.md            # Permanent (after record)
├── architecture.md                       # Permanent, changed by the recorder applying the plan's architecture delta
├── _plans/<plan-name>/                   # Active until recorded: committed whole at step 4 except notes/
│   ├── architecture.md                   # Architecture delta, present only when the plan changes the architecture
│   ├── tasks.md                          # Created by speq-implement
│   ├── review-findings.md                # Created by code-reviewer
│   ├── review/review.md                  # Created by plan-reviewer
│   ├── notes/<group-letter>.md           # Rotation hand-off notes, created by implementer agents; local, never committed
│   └── verification-report.md            # Created by speq-implement
└── _recorded/NNN-<plan-name>/            # Archived by speq-record (gitignored by default)

Work Split (reference)

StepPerformed by
Target resolution, version bump, coordinationThis skill (pins Sonnet)
Task breakdown, coding, reviewspeq-implement
Spec merge and archivespeq-record
Branch, commit, push, PR create/updateThis skill, directly, per /speq-git-operations

Häufig gestellte Fragen

Was macht der KI-Skill Speq Implement Pr?

Builds a planned feature on its feat/plan-name branch as a follow-up to /speq-plan-pr: implements, bumps the version, runs the real test suites, records the specs if green, comments the verification, and marks the PR ready. Run again to resume. Arg: plan name, PR number, or branch name.

Warum Speq Implement Pr in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Speq Implement Pr besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Speq Implement Pr in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-implement-pr ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Speq Implement Pr nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Speq Implement Pr verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Speq Implement Pr damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Speq Implement Pr kostenlos?

Ja. Der Skill wird von exasol-labs auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇