Logo di Speq Code Review

Speq Code Review

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

Panoramica

Pubblicato daexasol-labs
Repositoryspeq-skill
Nome della skillspeq-code-review
Stelle
54
Fork
6
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da exasol-labs su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Speq Code Review in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-code-review
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Speq Code Review in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Speq Code Review non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Speq Code Review non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Speq Code Review?

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

Perché usare Speq Code Review su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Speq Code Review è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Speq Code Review in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-code-review. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Speq Code Review?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Speq Code Review?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Speq Code Review: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Speq Code Review è gratuita?

Sì. È pubblicata su GitHub da exasol-labs con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇