/workflows:determine-feature-slugfrom workflows
Interactively determines the next feature slug for a personal or shared thoughts directory, auto-detecting the next number and prompting for a description.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub eveld/claude --plugin workflows29 skills in this plugin
/agent-awarenessALWAYS 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./before-code-analysisUse BEFORE reading multiple files to understand code. Reminds you to use codebase-analyzer agent instead of manual file reading./before-file-searchUse BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools./before-spawning-taskUse BEFORE using the Task tool. Ensures you select the correct specialized subagent_type instead of generic agents./debug-systematicallyUse when encountering errors or bugs to follow a systematic debugging process instead of jumping to conclusions./discover-project-commandsUse during planning to discover and document available project commands (make targets, npm scripts, etc.) for success criteria.Other plugins' skills for the same job