determine-feature-slug
Installation
SKILL.md
Determine Feature Slug
Interactively determine the next feature slug for personal workspace in the thoughts directory structure.
How It Works
-
Determine Namespace:
- Default to git user:
git config user.name | tr '[:upper:]' '[:lower:]' | tr ' ' '-' - Or accept namespace parameter
- Personal workspace:
thoughts/{namespace}/ - Shared workspace:
thoughts/shared/(used by share-docs skill)
- Default to git user:
-
Find Next Number:
- Scan
thoughts/{namespace}/directory for existing feature directories - Pattern:
^[0-9]{4}-.* - Find highest number and add 1
- Default to 0001 if no features exist
- Scan