Logo vun Speq Code Review

Speq Code Review

Organisatioun
exasol-labs
speq-code-review

Code review tag taxonomy and findings format for the code-reviewer agent during /speq-implement. Not for general code review.

Iwwersiicht

Editeurexasol-labs
Repositoryspeq-skill
Skill-Nummspeq-code-review
Stären
54
Forks
6
Matgeliwwert Fichieren
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

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

Installatioun

Installéiert de KI-Skill Speq Code Review 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-code-review
  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-code-review .claude/skills/speq-code-review
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Speq Code Review 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 Code Review 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 Code Review 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.

Code Review Taxonomy

Analyze each changed file for the categories below.

1. Guardrail Violations

Per /speq-code-guardrails:

  • [TOO_MANY_ARGUMENTS]: more than 3 arguments
  • [SIDE_EFFECT]: function has a side effect its name and contract do not announce (a query that mutates, a command that touches unrelated state)
  • [BOOLEAN_FLAG_PARAMETER]: boolean flag parameter
  • [MAGIC_NUMBER]: magic number without a named constant (standing in for a failure, it is [SENTINEL_ERROR_VALUE], not this tag)
  • [MISSING_DOC_COMMENT]: missing doc comment on a public interface
  • [INLINE_COMMENT]: inline comment present (TODOs and other work-tracking comments are [WORK_TRACKING_COMMENT], not this tag)
  • [SELECTOR_ARGUMENT]: an argument (of any type, not just boolean) that picks which branch a function takes
  • [OUTPUT_PARAMETER]: a value returned via a mutated argument instead of the return value
  • [MIXED_ABSTRACTION_LEVEL]: a function mixes high-level orchestration with low-level detail
  • [COMMAND_QUERY_MIX]: a single call both mutates something and hands back an answer
  • [VAGUE_NAME]: a name that states no responsibility (Manager, Processor, Handler, Data, Info, Util)
  • [IMPLEMENTATION_IN_NAME]: a name that bakes in a transport, vendor, or format instead of the abstraction

2. Dead Code

  • [UNUSED_FUNCTION]: unused function or method
  • [UNREACHABLE_CODE]: unreachable code path
  • [UNUSED_IMPORT]: import not used
  • [UNUSED_VARIABLE]: variable assigned but never read

3. Test Quality

  • [OBSOLETE_TEST]: tests removed functionality
  • [DUPLICATE_TEST]: duplicate test coverage
  • [ASSERTION_FREE_TEST]: test always passes, no assertions
  • [VAGUE_TEST_NAME]: test name does not state the condition and expected behavior
  • [NONDETERMINISTIC_TEST]: test depends on real clock, network, filesystem, or unseeded randomness
  • [IMPLEMENTATION_COUPLED_TEST]: test asserts internal state instead of observable behavior
  • [UNTESTED_ERROR_PATH]: a failure path with no test
  • [MISSING_BOUNDARY_TEST]: no test for empty, single, maximum, off-by-one, or transition input
  • [SKIPPED_TEST]: test is skipped or ignored rather than fixed or deleted
  • [SUPPRESSED_WARNING]: a lint or compiler warning is silenced instead of resolved

4. Bad Comments

  • [REDUNDANT_COMMENT]: describes "what" not "why"
  • [OUTDATED_COMMENT]: does not match the code
  • [COMMENTED_OUT_CODE]: commented-out code block
  • [WORK_TRACKING_COMMENT]: TODO, FIXME, ticket refs

5. Optimization Opportunities

The Evidence Rule applies here: raise a finding in this category only with a measurement.

  • [PERFORMANCE_ISSUE]: obvious performance issue
  • [UNNECESSARY_ALLOCATION]: unnecessary allocation in a loop
  • [DUPLICATE_OPERATION]: operation that repeats work already done
  • [UNMEASURED_OPTIMIZATION]: a change justified as a performance optimization with no measurement behind it

6. YAGNI / Over-Engineering

  • [STANDARD_LIBRARY_DUPLICATE]: logic that reimplements something the language's standard library already provides
  • [SHRINKABLE]: same logic expressible in meaningfully fewer lines
  • [DEAD_FLEXIBILITY]: a feature flag, extension point, or parameter that is never varied
  • [UNNEEDED_DEPENDENCY]: a dependency added for something the standard library or an already-installed dependency already covers
  • [SPECULATIVE_ABSTRACTION]: an interface, generic type, or configuration value with exactly one implementation or caller, and not a seam over I/O, nondeterminism, or a third party

7. Error Handling

  • [SENTINEL_ERROR_VALUE]: a magic value or in-band signal stands in for an error instead of the language's own error mechanism
  • [CONTEXTLESS_ERROR]: an error that does not state what was attempted, the input that failed, or the constraint violated
  • [SWALLOWED_ERROR]: an error is discarded instead of handled or propagated
  • [BROAD_CATCH]: a catch broader than the specific error it handles
  • [LEAKED_PROVIDER_ERROR]: a third-party error type crosses a module boundary unwrapped
  • [ERROR_AS_CONTROL_FLOW]: an error mechanism used for expected, non-exceptional flow

8. Design Depth

  • [SHALLOW_MODULE]: learning the interface takes almost as much effort as the implementation behind it would, or classitis (many small modules named for a role, not a responsibility
  • [INFORMATION_COUPLING]: a single design choice (a format, a protocol, an execution-order split) shows up in more than one module and would need editing in both if it changed
  • [TACTICAL_SHORTCUT]: a shortcut taken with no follow-up to invest in the design
  • [MISSING_DESIGN_INTENT]: a public/interface comment states purpose but not the design intent or rationale a non-obvious abstraction needs
  • [BOUNDARY_VIOLATION]: business logic names a delivery mechanism, storage engine, or framework directly
  • [IO_IN_BUSINESS_LOGIC]: I/O performed directly inside business logic instead of through an injected abstraction
  • [AMBIENT_STATE_READ]: environment or global state read in place instead of injected
  • [LEAKED_BOUNDARY_TYPE]: a framework, storage, or third-party type crosses a module boundary
  • [DEPENDENCY_CYCLE]: a cycle in the module dependency graph
  • [SELF_CONSTRUCTED_DEPENDENCY]: a module constructs its own concrete dependency instead of receiving it
  • [PROVIDER_SHAPED_ABSTRACTION]: an abstraction shaped around a provider's API instead of the consumer's own vocabulary
  • [FEATURE_ENVY]: a function reaches into another module's data more than its own

Output Format

Write the findings document to specs/_plans/<plan-name>/review-findings.md per references/review-findings-template.md. Then return exactly one line and nothing else:

CODE REVIEW: <n> findings — standard: <n>, expert: <n> — specs/_plans/<plan-name>/review-findings.md

Routing

You partition the findings. The orchestrator never sees them individually. Place each finding under ## Standard fixes or ## Expert fixes in the findings document. The partition decides which single agent applies the whole fix pass: any Expert finding routes both sections to implementer-expert-agent. With no Expert finding, implementer-agent applies ## Standard fixes.

Every tag across all categories is eligible for either section. Route a finding to ## Expert fixes when its fix has cross-file, concurrency, or subtle-correctness implications: removing a dependency or abstraction with several call sites, correcting a dependency-direction or boundary violation, or any change whose failure mode is a passing test over wrong behavior. Everything else goes to ## Standard fixes. You hold the context for this call. Decide it here, do not defer it.

Matgeliwwert Fichieren

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 Code Review?

Code review tag taxonomy and findings format for the code-reviewer agent during /speq-implement. Not for general code review.

Firwat Speq Code Review op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Speq Code Review 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 Code Review 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-code-review 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 Code Review 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 Code Review benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Speq Code Review 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 Code Review 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 👇