Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zzafergok/software-architecture
Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.
Passed 22 of 22 test cases with the skill, and 12 of 22 without it.
and 13 more in the full report
10 fixed12 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
Here is a TypeScript order validation function: ```ts function validateOrder(order: Order) { if (order) { if (order.items && order.items.length > 0) { if (order.paymentMethod) { if (order.shippingAddress) { return true; } else { throw new Error('Missing address'); } } else { throw new Error('Missing payment'); } } else { throw new Error('Empty order'); } } else { throw new Error('No order'); } } ``` Please refactor this function to improve readability and code quality.
| Checked | Without skill | With skill |
|---|---|---|
| The refactored function uses early returns instead of nested conditional blocks. | Passed | Passed |
| The refactored function is declared using arrow function syntax. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill provides guidance for quality focused software development and architecture. It is based on Clean Architecture and Domain Driven Design principles.
cockatiel instead of writing your own retry logic.utils, helpers, common, sharedOrderCalculator, UserAuthenticator, InvoiceGeneratortest cases passed, vs 12 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.