Logo: Speq Mission

Speq Mission

Organisatioun
exasol-labs
speq-mission

Erstellt oder aktualiséiert specs/mission.md a specs/architecture.md an engem Gespréich, fir Brownfield- oder Greenfield-Projeten. Benotzt dëst, fir e speq-Projet opzestellen, d'Missioun ze iwwerschaffen oder wann /speq-audit feststellt, datt d'Missioun net méi mat der Realitéit iwwereneestëmmt.

Iwwersiicht

Editeurexasol-labs
Repositoryspeq-skill
Skill-Nummspeq-mission
Stären
54
Forks
6
Matgeliwwert Dateien
1
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.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

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

Installatioun

Installéiert de KI-Skill Speq Mission an TypingMind, fir e mat all LLM ze benotzen, oder setzt 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 „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-mission
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng 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 d'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-mission .claude/skills/speq-mission
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Speq Mission 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 Mission 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 Mission 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-Schlësselen.

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

Mission Creator

You are creating a project mission file (specs/mission.md) and the first architecture file (specs/architecture.md) through an interactive interview.

Golden Rule: take all content from user answers or code exploration, never from assumption. The mission file becomes the source every later plan is checked against, so a guessed fact turns into a false requirement.

Required Skills

Invoke before starting:

  • /speq-ext-library: library docs
  • /speq-cli: spec structure
  • /speq-writing-guardrails: prose style for artifacts and GitHub text

Do not invoke /speq-code-tools: brownfield exploration (step 2) only reads manifests, directories, and docs, so plain file reads cover it. The architecture-agent sub-agent reads the code itself and invokes /speq-code-tools on its own.

Workflow

0. Load Project Hook

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

  • Present: read it. Announce "Loaded project hook: .speq/mission-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. Project Detection

Determine project type:

Cargo.toml, package.json, go.mod, etc. exists?
├─ Yes → Brownfield (existing code)
└─ No  → Greenfield (new project)

specs/ or similar directory exists?
├─ Yes → Has existing specs (read them)
└─ No  → No specs yet

specs/architecture.md exists?
├─ Yes → Update mode: skip topics 4.9 to 4.11 (see below)
└─ No  → mission.md still has ## Architecture, ## External Dependencies, or technical constraints?
         ├─ Yes → Migration mode: one-time interview seeded from those sections (see below)
         └─ No  → Create mode

Update mode. specs/architecture.md exists. Skip the interview topics for Architecture, technical and performance constraints, and External Dependencies. Tell the user: "Change the architecture through /speq-plan." Interview the remaining topics as usual.

Brownfield and not Update mode: step 2 spawns architecture-agent. Greenfield and Update mode: no spawn.

Migration mode. specs/architecture.md is missing and specs/mission.md still holds the old sections. Run topics 4.9 to 4.11 once, seeded with the architecture-agent draft, which already reconciles the old sections with the code ("The code shows [X]. mission.md said [Y]. Which is current?"). Without a draft (no source files), seed with the old content ("mission.md lists [X] as the architecture. Is this still accurate?"). Place the approved file at specs/architecture.md. Remove the old Architecture and External Dependencies sections and the technical and performance constraint lines from specs/mission.md. Add the line Architecture: see specs/architecture.md. after Out of Scope.

2. Brownfield Exploration

For existing projects, gather context BEFORE interviewing:

  1. Tech stack: read the manifest(s): Cargo.toml, package.json, go.mod, pyproject.toml/requirements.txt, pom.xml/build.gradle. The list is not exhaustive; a project can use other languages and several technologies at once.

  2. Commands: look for existing scripts: package.json scripts, Makefile targets, Cargo.toml aliases, pyproject.toml scripts.

  3. Structure: list top-level directories; find the main source directories (src, lib, app).

  4. Docs: read README.md, docs/, and any existing specs/.

  5. Architecture draft: applies in brownfield Create and Migration mode when source files exist beyond manifests. Skip it in Update mode and in greenfield. Choose a draft path outside the repo (for example under mktemp -d). Delegate to architecture-agent:

    Delegate to architecture-agent: Draft specs/architecture.md from the code
    
    ## Context
    Repo root: <path>
    Mission path: specs/mission.md
    Template: /speq-plan references/architecture-template.md
    Draft path: <draft path>
    Project Hook: <content of .speq/mission-hook.md, or none>
    
    ## Your Task
    Write the draft to the draft path and the evidence to <draft path>.evidence.md. Return only the summary in your output format.

    Keep the returned summary (draft path, counts, Conflicts, Questions, Not explored) for step 4. Do NOT read the draft or the evidence file. The user reads the draft.

3. Research Phase

Look up the libraries discovered or mentioned per /speq-ext-library. Use the results to inform interview questions and validate user choices.

4. Clarifying Interview

Conduct a Socratic interview by asking the user about every section below. Never fill in content without asking. Each question reveals assumptions, surfaces contradictions, or narrows scope. Brownfield: present what step 2 discovered and ask the user to confirm or correct it ("I found [X]. Is this accurate? What would you add or change?") instead of asking cold.

4.1 Identity & Purpose
  • Project name; in one sentence, what does this system do and why does it exist?
  • What problem does this solve, and who experiences it?
  • Why do existing solutions fall short?
  • Brownfield: "The README says [Y]. Is this still the current purpose?"
4.2 Target Users
  • Who are the primary users? What are they trying to achieve? What is their typical workflow?
  • Brownfield: "Based on the code, it seems targeted at [X]. Is this correct?"
4.3 Core Capabilities

Apply User Story Mapping (Patton): identify activities, then decompose into capabilities.

  • What are the 3-5 core capabilities this system provides? (What it does, not how.)
  • Brownfield: "I found these main modules: [X, Y, Z]. What capabilities do they represent?"
4.4 Out of Scope
  • What does this project explicitly NOT do?
  • What features might users expect but won't be supported?
4.5 Domain Glossary
  • Are there domain-specific terms users should understand? Any terms used differently than their common meaning?
  • Brownfield: "I noticed these terms in the code: [X, Y]. What do they mean in this context?"
4.6 Tech Stack
  • Language/runtime, framework, database, testing framework. Greenfield: ask each. Brownfield: confirm the discovered stack ("I found: Rust with tokio, clap for CLI, no database. Correct?").
4.7 Commands
  • Build, test, lint/format, and coverage commands. Greenfield: ask each. Brownfield: confirm discovered commands and ask for any missing ones ("No coverage command found. What should it be?").
4.8 Project Structure
  • Planned directory structure and the purpose of each main directory. Brownfield: present the discovered structure and ask for clarification on purpose.
4.9 Architecture

Answers go to specs/architecture.md.

  • With a draft: tell the user the draft path and ask them to review it there. Ask the user one question per Conflicts item and replace the cold question with each Questions item. Tell the user what Not explored lists and ask about it. Corrections: the user edits the draft file, or you resume the same agent with the correction. Never rewrite the draft yourself.
  • Without a draft: high-level architecture pattern (layered, hexagonal, event-driven, etc.)? Key components and their responsibilities? How does data flow through the system?
4.10 Constraints
  • Technical (browser-only, offline-first) and performance (response time, memory limits): answers go to the Constraints section of specs/architecture.md.
  • Business (GDPR, multi-tenant): answers stay in specs/mission.md.
4.11 External Dependencies

Answers go to specs/architecture.md. With a draft, topics 4.10 (technical and performance) and 4.11 are covered by the same review and the same Conflicts and Questions items. Ask only what the summary leaves open.

  • What external services/APIs does this depend on? What happens if each dependency is unavailable?

5. Generate Mission

After collecting ALL information:

  1. Create specs/ directory if needed
  2. Generate specs/mission.md using references/mission-template.md as structure
  3. Generate specs/architecture.md using references/architecture-template.md from /speq-plan as structure, unless it already exists (update mode) or an architecture-agent draft exists (the draft is the file, see step 6)
  4. Fill the generated files with ACTUAL collected information (no placeholders)
  5. Present the generated files to user for review. For a draft, present its path only

6. Review & Iterate

Present the generated mission.md and architecture.md and ask: "Do these accurately capture your project? Anything to add, change, or remove?" Iterate until the user approves.

With an architecture-agent draft, the user approves the draft file. Then move it into place with mv <draft path> specs/architecture.md, so the content never enters your context. The agent already reported structure ✓. If the user edited the draft, check the moved file against the structural rules of /speq-audit check 14 (first line, six ## sections in order, no ###, no table rows) without reading the whole file. Delete the evidence file.

Interview Guidelines

Question Batching

Group questions into MECE partitions (max 3-4 per question round). Each group covers one dimension without overlap:

PhaseQuestions to Group
IdentityName, summary, problem
UsersPersonas, goals, workflows
CapabilitiesCore features, out of scope
TechnicalStack, commands, structure
ConstraintsTechnical, business, performance (technical and performance go to architecture.md)

Adaptive Depth

Project ComplexityInterview Depth
Simple CLI toolMinimal (architecture.md with Overview and Components only, other sections - None)
Web applicationStandard (all sections)
Distributed systemDeep (detailed architecture, failure modes)

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Speq Mission?

Erstellt oder aktualiséiert specs/mission.md a specs/architecture.md an engem Gespréich, fir Brownfield- oder Greenfield-Projeten. Benotzt dëst, fir e speq-Projet opzestellen, d'Missioun ze iwwerschaffen oder wann /speq-audit feststellt, datt d'Missioun net méi mat der Realitéit iwwereneestëmmt.

Firwat Speq Mission op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Speq Mission 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 en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Speq Mission 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-mission an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Speq Mission 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 Mission benotzen?

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

Ass de KI-Skill Speq Mission gratis?

Jo. exasol-labs huet de Skill ë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 weiderverwendbare Pak vun Instruktiounen, deen 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 e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

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