Language 2026 10 08
ASecurityThe function is a total slugifier: it accepts any string and always returns a slug — lowercase ASCII words joined by single hyphens, never with a leading or trailing hyphen, and `""` when nothing transliterable remains. Accented Latin letters are handled by Unicode NFD decomposition (combining marks are stripped), so `Café` becomes `cafe` without a table entry per accent; letters that do not decompose (`ß`, `æ`, `ø`, `œ`) plus Cyrillic and Greek are covered by an explicit transliteration tabl...
- 2 stars
- 0 votes
- 0 copies
- 1 view
- Added October 26, 2026
Security analysis
100/100Pro scans all 19 files and shows the line behind each finding
npx -y skills add Siririn77/i-have-autism --skill language-2026-10-08 --agent claude-codeAre you the author of Language 2026 10 08?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/siririn77-language-2026-10-08-b1d1fc3c)The function is a total slugifier: it accepts any string and always returns a slug — lowercase ASCII words joined by single hyphens, never with a leading or trailing hyphen, and `""` when nothing transliterable remains. Accented Latin letters are handled by Unicode NFD decomposition (combining marks are stripped), so `Café` becomes `cafe` without a table entry per accent; letters that do not decompose (`ß`, `æ`, `ø`, `œ`) plus Cyrillic and Greek are covered by an explicit transliteration table, and every run of remaining non-alphanumeric characters — spaces, punctuation, symbols, emoji, CJK — collapses to a single hyphen. It is correct on the inputs the task did not name: empty strings, punctuation-only strings, repeated and edge separators, non-Latin scripts, and very long titles all behave, and a non-string argument raises a `TypeError` that names the type it received instead of returning a misleading empty slug. Two boundaries are deliberate and stated rather than hidden: scripts with no entry in the table (Arabic, Hebrew, Thai, Devanagari) are dropped rather than guess-romanized, and unmapped letters inside the Latin/Cyrillic/Greek ranges are removed so the function never throws on real-world titles.
Files in this skill
- T1_with-skill.md
- T1_without-skill.md
- T2_with-skill.md
- T2_without-skill.md
- T3_with-skill.md
- T3_without-skill.md
- T4_with-skill.md
- T4_without-skill.md
- T5_with-skill.md
- T5_without-skill.md
- T6_with-skill.md
- T6_without-skill.md
- T7_with-skill.md
- T7_without-skill.md
- T8_with-skill.md
- T8_without-skill.md
- T9_with-skill.md
- T9_without-skill.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.