⌨️Commands & CLI/cli
Session Rename (kebab-case)
src/commands/rename/generateSessionName.ts
Prompt Engineering Insight
Kebab-case slug generation with JSON name field—tiny structured output task for session identifiers.
Techniques Used
structured-outputfew-shot-examples
prompt
Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.
Tags
renamemetadatahaiku