Add slugify() string helper #2
Labels
No labels
agent-failed
agent-working
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jleicher/aitonomous#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Banc d'essai du workflow AFK (voir
docs/agents/afk-agent-prd.md). Petite tâcheauto-contenue, entièrement spécifiée, pour valider de bout en bout : claim →
implémentation →
deno task civert → MR. Aucune décision d'archi à prendre.Objectif
Ajouter un helper
slugifyqui transforme un texte libre en slug URL-safe.Spécification
src/slugify.ts, export nomméslugify.export function slugify(input: string): string.-.[a-z0-9-]après normalisation.Critères d'acceptation
slugify("Hello, World!")==="hello-world"slugify(" Multiple Spaces ")==="multiple-spaces"slugify("Déjà vu")==="dj-vu"(les accents non-ASCII sont supprimés, pas translittérés)slugify("")===""slugify("---a---b---")==="a-b"src/slugify_test.tscouvrant les cas ci-dessus (@std/assert).deno task civert (check + lint + test).Hors scope
Parent
None
Blocked by: None