Skip to main content

Evaluation-driven Claude Code skill development

Project description

skillet

CI License Python

Evaluation-driven Claude Code skill development.

Install

pip install skillet

Why

Anthropic recommends building evaluations before writing skills:

Create evaluations BEFORE writing extensive documentation. This ensures your Skill solves real problems rather than documenting imagined ones.

But they don't provide tooling:

We do not currently provide a built-in way to run these evaluations.

skillet fills that gap.

Workflow

1. Capture gaps with /gap

When Claude does something wrong, capture it:

> Write a code review comment for this SQL query...

● This code has a SQL injection vulnerability...

> /gap

● What did you expect instead?

> Should start with **issue** (blocking): using conventional comments format

● Gap saved to ~/.skillet/gaps/conventional-comments/001.yaml

2. Run baseline eval

skillet eval conventional-comments
Eval Results (baseline, no skill)
==================================
Gaps: 5
Iterations: 3 per gap
Total runs: 15

Pass rate: 0% (0/15)

3. Create the skill

skillet new conventional-comments
Found 5 gaps for 'conventional-comments', drafting SKILL.md...

Created plugins/conventional-comments/
├── .claude-plugin/
│   └── plugin.json
└── skills/conventional-comments/
    └── SKILL.md (draft from 5 gaps)

4. Eval with skill

skillet eval conventional-comments --skill plugins/conventional-comments
Eval Results (with skill)
=========================
Skill: plugins/conventional-comments
Gaps: 5
Iterations: 3 per gap
Total runs: 15

Pass rate: 80% (12/15)

5. Iterate

Edit SKILL.md, re-run eval, repeat.

Commands

skillet eval <name>                    # baseline eval (no skill)
skillet eval <name> --skill <path>     # eval with skill
skillet new <name>                     # create skill from gaps

Gaps

Gaps are stored in ~/.skillet/gaps/<name>/:

# ~/.skillet/gaps/conventional-comments/001.yaml
timestamp: 2025-01-15T10:30:00Z
prompt: "Write a code review comment for..."
actual: "This code has a SQL injection..."
expected: "Should start with **issue** (blocking):"

Roadmap

See ROADMAP.md for future ideas and planned features.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyskillet-0.0.1.tar.gz (103.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyskillet-0.0.1-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file pyskillet-0.0.1.tar.gz.

File metadata

  • Download URL: pyskillet-0.0.1.tar.gz
  • Upload date:
  • Size: 103.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for pyskillet-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b0c3c69ec8700b4e852dffe2c3e6d38e52e26381f356f8b575b7733372332c12
MD5 6331727d12e71fea1b25cda32eab8e9b
BLAKE2b-256 483af9c13b98ba16ca44579895d50f29a0332b848f6899657c2c6e85167f6f78

See more details on using hashes here.

File details

Details for the file pyskillet-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyskillet-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for pyskillet-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27e1034ebd139aeb6239f64273482200e40e67704735a202ddb85a8ac9eddded
MD5 43e5232384d936d81b428071e612d85a
BLAKE2b-256 980113fc081ff54aaeb2f65de2515a5eb04fbc879735c1d796d7bc31512727f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page