Slugify a string with comprehensive Unicode transliteration and extensive customization options
94
Pending
Does it follow best practices?
Impact
94%
1.36xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how effectively the engineer uses the @sindresorhus/slugify package to implement basic string slugification functionality. The focus is on proper usage of the main slugify function with appropriate understanding of its default behavior for Unicode transliteration, special character handling, and camelCase conversion.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses slugify function",
"description": "The implementation imports and uses the default export 'slugify' function from @sindresorhus/slugify as the primary mechanism for converting titles to slugs.",
"max_score": 40
},
{
"name": "Leverages default transliteration",
"description": "The implementation relies on slugify's default transliteration behavior to handle Unicode characters (e.g., 'Déjà' → 'deja') without explicitly configuring the transliterate option or implementing custom transliteration logic.",
"max_score": 20
},
{
"name": "Leverages built-in replacements",
"description": "The implementation relies on slugify's default built-in character replacements (e.g., '♥' → 'love', '&' → 'and') without manually implementing symbol-to-text conversions or overriding with customReplacements.",
"max_score": 20
},
{
"name": "Leverages decamelize behavior",
"description": "The implementation relies on slugify's default decamelize behavior to automatically separate camelCase/PascalCase words (e.g., 'fooBar' → 'foo-bar') without manually implementing camelCase detection or disabling the decamelize option.",
"max_score": 20
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10