Logo di Clj Skill Eval

Clj Skill Eval

Community
humorless
clj-skill-eval

Valuta le skill Clojure con test rigorosi su progetti reali, sia con le skill attivate sia senza. Usa questa skill ogni volta che devi verificare se una skill Clojure (come clj-discover, clj-debug, clj-replace) migliora davvero i risultati dello sviluppo. Confronta le differenze di comportamento tramite context-logs, qualità del codice, livello di approfondimento della documentazione e completezza dei test. Evita valutazioni vaghe o ipotetiche e richiedi test concreti in scenari reali.

Panoramica

Pubblicato dahumorless
Repositoryclj-native-agent
Nome della skillclj-skill-eval
Stelle
51
Fork
0
File inclusi
1
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 humorless su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Clj Skill Eval 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/humorless/clj-native-agent/tree/main/skills/clj-skill-eval
  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/humorless/clj-native-agent.git /tmp/clj-native-agent
mkdir -p .claude/skills
cp -r /tmp/clj-native-agent/skills/clj-skill-eval .claude/skills/clj-skill-eval
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Clj Skill Eval 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 Clj Skill Eval 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 Clj Skill Eval 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à.

Clojure Skill Evaluation Framework

Evaluating Clojure skills requires real projects with measurable behavior differences, not hypothetical assumptions. This skill enforces a rigorous evaluation methodology that compares with-skill vs without-skill development on identical tasks.

Core Principle

Skills only matter if they change actual behavior.

The evaluation method:

  1. Create two isolated projects (with/without skills)
  2. Execute identical real development tasks in both
  3. Compare: code quality, development time, documentation depth, test comprehensiveness
  4. Analyze context-logs to observe behavioral differences (REPL usage, exploration patterns, debugging approach)

Phase 1: Evaluation Planning

Define the Skill(s) to Evaluate

Input:

  • Skill name and path (e.g., clj-discover, clj-debug)
  • What behavior should the skill change? (e.g., "Should shift from log-based debugging to REPL-based debugging")

Output:

  • Clear evaluation hypothesis (not vague assumptions)
  • List of observable behavioral differences to measure

Design a Realistic Development Task

Requirements:

  • Real project scenario - Not toy examples or contrived problems
  • Concrete requirements - Clear success criteria, not ambiguous specs
  • Medium complexity - Enough to showcase skill value, not trivial (5-15 min per version)
  • Type diversity - Different task types reveal different skill strengths:
    • Discovery task: "Implement feature using unfamiliar library/API" (tests clj-discover)
    • Debugging task: "Fix a bug in existing system" (tests clj-debug)
    • Exploration task: "Understand and modify macro behavior" (tests clj-discover)
    • Integration task: "Use Java library via interop" (tests clj-discover)

Example Task:

Implement GET /system-stats API endpoint that returns CPU usage and memory info.
- Use OSHI library for system statistics
- Return JSON with cpu-usage (0.0-1.0) and memory-info {total, available}
- Include at least one passing test

Create Evaluation Criteria

Quantitative:

  • Execution time (seconds, minutes)
  • Token usage
  • Lines of code
  • Number of documentation files
  • Test coverage

Qualitative:

  • API choice (found optimal path or basic path?)
  • Code quality (comments, clarity, type safety)
  • Test defensiveness (what scenarios are covered?)
  • Documentation depth (decisions explained or just results?)
  • Behavioral patterns (REPL usage? Logs added? Files read?)

Phase 2: Project Setup

Create Two Isolated Projects

Use neil to generate identical Clojure Stack Lite projects:

bash
neil new io.github.abogoyavlensky/clojure-stack-lite my-test-without-skill
neil new io.github.abogoyavlensky/clojure-stack-lite my-test-with-skill

Then in each:

bash
cd my-test-without-skill && neil add nrepl
cd my-test-with-skill && neil add nrepl

Why isolation?

  • No shared state or configuration
  • Can run in parallel without interference
  • Each gets clean Integrant system with (reset)

Create Task Description

Create TASK.md in both projects with identical requirements:

markdown
# Task: [Implementation Task Name]

## Objective
[Clear, concrete objective]

## Requirements
[Bullet points with specific requirements]

## Success Criteria
✓ Criterion 1
✓ Criterion 2

Phase 3: Parallel Execution with Subagents

Critical Permission Setting

When running subagents in Claude Code, use --dangerously-skip-permissions to avoid permission constraint blocks:

bash
claude --dangerously-skip-permissions [your-claude-code-command]

Why this is necessary: Skills may use tools (brepl, WebSearch, file operations) that require explicit permission. Without this flag, subagents may abort with "permission constraints" instead of completing the task.

Launch Both Versions in Parallel

Create two subagents simultaneously (same turn) to ensure comparable timing:

Subagent 1 (WITHOUT skills):

Execute this task in /path/to/my-test-without-skill:

1. Read TASK.md to understand requirements
2. Complete the implementation task
3. Save all final code files to outputs/
4. Record your approach in outputs/APPROACH.md:
   - How did you discover what to do?
   - What APIs/libraries did you choose and why?
   - What debugging/exploration did you do?
   - How much time was spent coding vs exploring?
5. DO NOT use any Clojure skills

Focus: Complete the task efficiently.

Subagent 2 (WITH skills):

Execute this task in /path/to/my-test-with-skill:

1. Read TASK.md to understand requirements
2. Complete the implementation task
3. Save all final code files to outputs/
4. Record your approach in outputs/APPROACH.md:
   - Which skills did you use and when?
   - How did each skill influence your decisions?
   - What exploration patterns did you use?
   - Did you use REPL-based debugging or log-based?
5. Use these Clojure skills as they become relevant:
   - clj-discover (understanding APIs, Java interop, macros)
   - clj-debug (interactive debugging via brepl)
   - clj-replace (structural code replacement)

Focus: Complete the task with skill guidance.

Important: Launch both in the same turn so timing is comparable.


Phase 4: Deep Comparison Analysis

Code Quality Comparison

Compare the generated code files (handlers, routes, tests):

API Choices:

  • Did WITHOUT-skill take the first obvious path?
  • Did WITH-skill find a more optimal/standard API path?
  • Evidence of research vs. immediate coding?

Type Safety:

  • Explicit type conversions or implicit assumptions?
  • Comments explaining tricky parts?
  • Error handling or happy path only?

Test Defensiveness:

  • Basic assertions only or comprehensive coverage?
  • Edge case handling?
  • Business logic validation (e.g., available ≤ total)?

Documentation Comparison

Compare the APPROACH.md and generated documentation:

WITHOUT-skill should show:

  • "Direct implementation without exploration"
  • Minimal decision-making explanation
  • Quick success

WITH-skill should show:

  • "Researched library before implementing"
  • "Tested in REPL to verify approach"
  • Clear decision rationale for API choices
  • More comprehensive documentation

Behavioral Pattern Analysis

From APPROACH.md, identify these patterns:

PatternWITHOUT-skillWITH-skillSignificance
REPL usageAbsent/minimalFrequent interactive testingIndicates skill-enabled debugging
File readingScattered explorationTargeted researchSkill guidance on what to look at
Debugging approachLogs/printlnInteractive breplCore behavior shift
DocumentationMinimalDetailed with rationaleSkill encourages thorough thinking

Timing & Token Data

Capture from subagent notifications:

  • Execution time (without-skill should be faster but lower quality)
  • Total tokens (WITH-skill explores more)
  • Time-to-quality ratio

Phase 5: Drawing Conclusions

Skill Effectiveness Scoring

For each skill, estimate:

  • Usage Strength: How much did the skill actually activate? (⭐ scale)
  • Impact on Behavior: Did it change development approach? (YES/NO)
  • Applicability: For what task types is it valuable?

Write Evaluation Report

Structure:

markdown
# Evaluation Report: [Skill Name]

## Executive Summary
One sentence: Did the skill improve development outcomes?

## Task Executed
[Task description and success criteria]

## Key Findings

### Quantitative Comparison
- Time: [without-skill] vs [with-skill]
- Tokens: [without-skill] vs [with-skill]
- Code quality metrics

### Behavioral Differences
- API choices: [specific example]
- Testing approach: [specific example]
- Documentation depth: [specific example]

### Skill Activation Analysis
- Which skills were used: [list with ⭐ ratings]
- Permission issues: [if any]
- Unexpected patterns: [if any]

## Recommendations
- Is the skill valuable? [YES/NO with justification]
- In what scenarios is it most useful?
- What could be improved?

Phase 6: Iteration & Refinement

If skill effectiveness is unclear:

  1. Design a task better suited to the skill

    • If clj-discover wasn't triggered: add a task requiring exploration of unfamiliar APIs
    • If clj-debug wasn't used: add a task requiring interactive debugging
  2. Run evaluation again with the new task

  3. Compare patterns from multiple tasks to understand when/why the skill activates


Anti-Patterns to Avoid

❌ DO NOT:

  • Ask hypothetical questions ("Would this skill help with X?")
  • Grade skills on "knowledge transfer" (they should change behavior, not just provide info)
  • Accept "skill loaded but not executed" as success
  • Run only simple tasks that don't showcase skill value
  • Evaluate without comparing with a baseline

✅ DO:

  • Run identical tasks in with/without conditions
  • Measure actual behavioral changes (REPL usage, exploration patterns, debugging approach)
  • Analyze why skills were or weren't triggered
  • Test with multiple task types to find where skills shine
  • Document specific code/documentation differences

Task Type Reference

Use these to design varied evaluation tasks:

1. Discovery Task (triggers clj-discover)

"Implement feature using unfamiliar library"

  • Example: "Add JWT authentication using auth0 library"
  • Skill value: Helps navigate unfamiliar API without trial-and-error

2. Debugging Task (triggers clj-debug)

"Fix a bug in a multi-component system"

  • Example: "Users report login failures; debug Integrant system lifecycle"
  • Skill value: Shifts from log-based to interactive REPL debugging

3. Macro/Meta Task (triggers clj-discover)

"Understand and modify macro behavior"

  • Example: "Extend defroutes macro to support new pattern"
  • Skill value: Explains macro expansion and meta-patterns

4. Java Interop Task (triggers clj-discover)

"Integrate Java library"

  • Example: "Add system monitoring via OSHI library" (what we tested)
  • Skill value: Clarifies Java API navigation and method selection

Remember

A skill only matters if it changes how Claude develops code, not just what code it produces.

If evaluation shows skills don't change behavior, that's valuable data — it means either:

  1. The skill's triggering conditions need adjustment
  2. The skill's content needs rethinking
  3. The task isn't suited to the skill's strengths

All of these are solvable. But measuring behavior change is the only way to know.

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 Clj Skill Eval?

Valuta le skill Clojure con test rigorosi su progetti reali, sia con le skill attivate sia senza. Usa questa skill ogni volta che devi verificare se una skill Clojure (come clj-discover, clj-debug, clj-replace) migliora davvero i risultati dello sviluppo. Confronta le differenze di comportamento tramite context-logs, qualità del codice, livello di approfondimento della documentazione e completezza dei test. Evita valutazioni vaghe o ipotetiche e richiedi test concreti in scenari reali.

Perché usare Clj Skill Eval su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Clj Skill Eval è 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 Clj Skill Eval in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/humorless/clj-native-agent/tree/main/skills/clj-skill-eval. 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 Clj Skill Eval?

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 Clj Skill Eval?

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

La skill IA Clj Skill Eval è gratuita?

È pubblicata su GitHub da humorless. Consulta il repository per i termini di licenza. 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 👇