Logo vun Speq Implement Pr

Speq Implement Pr

Organisatioun
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.

Iwwersiicht

Editeurexasol-labs
Repositoryspeq-skill
Skill-Nummspeq-implement-pr
Stären
54
Forks
6
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum exasol-labs op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Speq Implement Pr an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-implement-pr
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-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-pr .claude/skills/speq-implement-pr
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Speq Implement Pr an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Speq Implement Pr automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Speq Implement Pr net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Heefeg gestallte Froen

Wat mécht de 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.

Firwat Speq Implement Pr op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Speq Implement Pr besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Speq Implement Pr an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-implement-pr an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Speq Implement Pr benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Speq Implement Pr benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Speq Implement Pr domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Speq Implement Pr gratis?

Jo. De Skill gëtt vum exasol-labs ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇