Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lingxling/csharp
Language-specific super-code guidelines for csharp.
Passed 23 of 24 test cases with the skill, and 22 of 24 without it.
1 fixed22 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Refactor this type checking and property inspection logic in C#: `if (vehicle is Car) { var c = (Car)vehicle; return c.EnginePower * 1.2; } else if (vehicle is Truck) { var t = (Truck)vehicle; return t.PayloadCapacity * 0.8; } throw new ArgumentException();`.
| Checked | Without skill | With skill |
|---|---|---|
| The type checks are replaced with a switch expression. | Passed | Passed |
| The switch arms use property pattern matching. | Missed | Passed |
The instructions your model reads when the skill loads.
// ❌ Imperative accumulation
var result = new List<string>();
foreach (var item in items) {
if (item.IsActive) result.Add(item.Name.ToUpper());
}
// ✅
var result = items
.Where(i => i.IsActive)
.Select(i => i.Name.ToUpper())
.ToList();
// ❌ Manual grouping
var grouped = new Dictionary<string, List<Item>>();
foreach (var item in items) {
if (!grouped.ContainsKey(item.Category))
grouped[item.Category] = new List<Item>();
grouped[item.Category].Add(item);
}
test cases passed, vs 22 / 24 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.