Logo Clj Skill Eval

Clj Skill Eval

Cộng đồng
humorless
clj-skill-eval

Đánh giá kỹ năng Clojure bằng cách kiểm thử nghiêm ngặt trên các dự án thực tế, cả khi bật và tắt kỹ năng. Dùng kỹ năng này bất cứ khi nào cần đánh giá xem một kỹ năng Clojure (như clj-discover, clj-debug, clj-replace) có thực sự cải thiện kết quả phát triển hay không. So sánh khác biệt về hành vi dựa trên context-logs, chất lượng mã, độ sâu của tài liệu và mức độ toàn diện của kiểm thử. Cách này giúp tránh đánh giá mơ hồ hoặc giả định và buộc phải kiểm thử cụ thể trong thực tế.

Tổng quan

Nhà phát hànhhumorless
Kho mãclj-native-agent
Tên kỹ năngclj-skill-eval
Sao
51
Bản fork
0
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được humorless công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Clj Skill Eval trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/humorless/clj-native-agent/tree/main/skills/clj-skill-eval
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Clj Skill Eval trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Clj Skill Eval ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Clj Skill Eval với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Clj Skill Eval làm được gì?

Đánh giá kỹ năng Clojure bằng cách kiểm thử nghiêm ngặt trên các dự án thực tế, cả khi bật và tắt kỹ năng. Dùng kỹ năng này bất cứ khi nào cần đánh giá xem một kỹ năng Clojure (như clj-discover, clj-debug, clj-replace) có thực sự cải thiện kết quả phát triển hay không. So sánh khác biệt về hành vi dựa trên context-logs, chất lượng mã, độ sâu của tài liệu và mức độ toàn diện của kiểm thử. Cách này giúp tránh đánh giá mơ hồ hoặc giả định và buộc phải kiểm thử cụ thể trong thực tế.

Vì sao nên dùng Clj Skill Eval trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Clj Skill Eval là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Clj Skill Eval trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/humorless/clj-native-agent/tree/main/skills/clj-skill-eval. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Clj Skill Eval?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Clj Skill Eval với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Clj Skill Eval với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Clj Skill Eval có miễn phí không?

Kỹ năng này được humorless phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇