Helper for creating timestamped feature directories. Use when creating new feature specs.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
The timestamp logic is inlined directly in commands for portability:
FEATURE_DIR=$(python3 -c "from datetime import datetime; from pathlib import Path; import sys; name = sys.argv[1].replace('-', '_'); timestamp = datetime.now().strftime('%Y%m%d'); dir_name = f'{timestamp}-{name}'; Path(f'.molcajete/prd/specs/{dir_name}').mkdir(parents=True, exist_ok=True); print(dir_name)" "<feature-name>")
Output: Returns the timestamped directory name (e.g., 20251112-feature_name)
How it works:
{timestamp}-{feature_name}.molcajete/prd/specs/{timestamp}-{feature_name}/# Create folder for "user-authentication" feature
FEATURE_DIR=$(python3 -c "from datetime import datetime; from pathlib import Path; import sys; name = sys.argv[1].replace('-', '_'); timestamp = datetime.now().strftime('%Y%m%d'); dir_name = f'{timestamp}-{name}'; Path(f'.molcajete/prd/specs/{dir_name}').mkdir(parents=True, exist_ok=True); print(dir_name)" "user-authentication")
# Creates: .molcajete/prd/specs/20251112-user_authentication/
# Returns: 20251112-user_authentication
# Use in subsequent commands
echo "Feature directory: ${FEATURE_DIR}"
# Output: Feature directory: 20251112-user_authentication