skill-improve

Run test suites, propose edits, and validate Claude Code skills.

Updated May 13, 2026
One-click install
npx skills add https://github.com/FrancisVarga/the-dream-machine --skill skill-improve-francisvarga
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-improve
Source: https://github.com/FrancisVarga/the-dream-machine/tree/main/.claude/skills/skill-improve
Command: npx skills add https://github.com/FrancisVarga/the-dream-machine --skill skill-improve-francisvarga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you reliably raise the quality of an existing skill by measuring failures and warnings, applying only targeted fixes, and re-testing to confirm the improvement.

Core Features & Use Cases

  • Automated improvement loop: Runs a baseline static test, proposes minimal changes, writes an updated skill, and re-runs tests to verify whether the score improved.
  • Static + category-aware checks: Uses the skill testing framework to optionally apply category rubrics when a skill declares a category.
  • Change discipline and rollback: Keeps or reverts based on whether the combined failure count improves after the update.
  • Use Case: When a skill starts failing quality gates (missing required frontmatter, missing verdict keywords, weak follow-up structure), you can use this workflow to fix the specific gaps without rewriting passing sections.

Quick Start

Use /skill-improve skill-improve to evaluate and improve the selected skill by running the test-fix-retest loop and updating the skill file only after approval.

Frequently Asked Questions about skill-improve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Claude Code skills that fail quality gates or have missing frontmatter?▼

To fix failing Claude Code skills, you use an automated test-fix-retest loop that runs static test suites, proposes targeted edits for missing frontmatter or weak structure, and validates improvements through re-testing. The workflow keeps changes only if the combined failure count decreases.

What is a test-fix-retest loop for skill refactoring and validation?▼

A test-fix-retest loop for skill refactoring measures baseline failures, applies minimal targeted edits to resolve specific gaps, and re-runs tests to validate that quality scores improved. It ensures passing sections remain untouched while fixing structural quality and rubric conformance issues.

How do I run static analysis and category rubric validation on an existing skill?▼

Static analysis and category rubric validation are run by executing the skill testing framework, which optionally applies category rubrics when a skill declares a category. It checks frontmatter completeness, argument-hint correctness, and end-to-end rubric conformance across iterative workflows.

Can I revert skill changes if test scores do not improve after refactoring?▼

Yes, change discipline and rollback mechanisms automatically revert skill updates if the combined failure count does not improve after re-testing. This ensures only modifications that demonstrably enhance structural quality and rubric conformance are kept in the final skill file.

Does skill-improve work with skills lacking a declared category for testing?▼

Yes, the improvement workflow runs static test suites on any skill and optionally applies category rubrics only when a category is declared. Skills without a category still undergo frontmatter completeness, argument-hint correctness, and structural quality checks during the test-fix-retest cycle.