Agent skill for refinement - invoke with $agent-refinement
Install with Tessl CLI
npx tessl i github:ruvnet/claude-flow --skill agent-refinement30
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
TDD Red-Green-Refactor cycle
Tests written before implementation
100%
100%
Red phase described
100%
100%
Green phase described
100%
100%
Refactor phase described
0%
100%
Test file uses beforeEach setup
100%
100%
Tests use mock dependencies
100%
100%
Private helper methods extracted
0%
0%
Jest coverage configured
0%
100%
Coverage thresholds at 80%
0%
100%
Coverage path exclusions
0%
33%
Tests cover both channels
100%
100%
Without context: $0.4351 · 2m · 25 turns · 32 in / 6,184 out tokens
With context: $0.7592 · 2m 44s · 33 turns · 282 in / 9,407 out tokens
Cache-first query optimization
Cache checked first
100%
100%
Single DB query used
100%
100%
JOIN query used
100%
100%
Results cached after DB query
100%
100%
Cache TTL provided
100%
100%
Cache key uses userId
100%
100%
Cache hit test
100%
100%
Cache miss test
100%
100%
Original problem documented
100%
100%
Caching approach documented
100%
100%
Without context: $0.5198 · 2m 20s · 27 turns · 34 in / 7,289 out tokens
With context: $0.6931 · 2m 36s · 30 turns · 282 in / 8,108 out tokens
Resilience patterns and error hierarchy
CircuitBreaker three states
100%
100%
CircuitBreaker default threshold=5
100%
100%
CircuitBreaker default timeout=60000
0%
100%
Circuit opens on threshold
100%
100%
Circuit half-open reset attempt
100%
100%
Retry exponential backoff
100%
100%
Retry default attempts=3
100%
100%
AppError base class
30%
100%
Typed error subclasses
100%
100%
Operational vs unexpected error handler
50%
100%
Circuit breaker state test
100%
100%
Retry behaviour test
100%
100%
Without context: $1.2579 · 5m 28s · 48 turns · 54 in / 20,757 out tokens
With context: $1.6619 · 6m 17s · 45 turns · 50 in / 25,870 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.