determine-feature-slug
Determine feature slug interactively by auto-detecting next number and prompting user for description
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Determine feature slug interactively by auto-detecting next number and prompting user for description
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generic migration orchestrator that reads CHANGELOG.md to understand and execute version-specific migrations
Share personal documents to the shared namespace with atomic git commit and push
Use when creating implementation plans to generate properly structured plans with phases, success criteria, and project references.
Use when documenting research findings to create properly structured research documents with frontmatter, sections, and file references.
ALWAYS check this skill before using grep, glob, Task tool, or doing any codebase exploration. Guides you to use specialized agents that are more efficient than basic tools.
Use when writing tests to ensure they follow project conventions. References patterns from thoughts/notes/testing.md.
| name | determine-feature-slug |
| description | Determine feature slug interactively by auto-detecting next number and prompting user for description |
Interactively determine the next feature slug for personal workspace in the thoughts directory structure.
Determine Namespace:
git config user.name | tr '[:upper:]' '[:lower:]' | tr ' ' '-'thoughts/{namespace}/thoughts/shared/ (used by share-docs skill)Find Next Number:
thoughts/{namespace}/ directory for existing feature directories^[0-9]{4}-.*Suggest Description:
Prompt User with AskUserQuestion:
AskUserQuestion:
question: "Choose feature slug description (will be: erik/0004-[description])"
header: "Feature Name"
options:
- "authentication-system" - Suggested based on context
Return Result:
{namespace}/NNNN-descriptionthoughts/{namespace}/NNNN-description/# Determine namespace (default to git user)
NAMESPACE=$(git config user.name | tr '[:upper:]' '[:lower:]' | tr ' ' '-')
# Auto-detect next number in personal namespace
NEXT_NUM=$(ls -1 thoughts/${NAMESPACE}/ 2>/dev/null | grep -E '^[0-9]{4}-' | sort -r | head -1 | cut -d'-' -f1)
NEXT_NUM=$(printf "%04d" $((10#${NEXT_NUM:-0} + 1)))
# Suggest from context (research question, plan title)
SUGGESTED_DESC=$(echo "$RESEARCH_QUESTION" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | sed 's/^-\|-$//g')
# Prompt user with AskUserQuestion
# Present suggested slug as option, user can select "Other" for custom input
# AskUserQuestion returns the selected value
DESC="$SUGGESTED_DESC" # Use result from AskUserQuestion
# Create directory in personal namespace
mkdir -p "thoughts/${NAMESPACE}/${NEXT_NUM}-${DESC}"
echo "${NAMESPACE}/${NEXT_NUM}-${DESC}"
Personal namespace: thoughts/{username}/NNNN-slug/
Shared namespace: thoughts/shared/NNNN-slug/
share-docs skill when publishingThis skill always creates documents in personal namespace. Use share-docs to promote to shared.