cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create a new Git Flow feature branch from develop with proper naming and tracking
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/featureContext preview
What this command does when you run it.
Create a new Git Flow feature branch from develop with proper naming and tracking
allowed-tools: Bash(git:*) argument-hint: <feature-name> description: Create a new Git Flow feature branch from develop with proper naming and tracking
Create new feature branch: **$ARGUMENTS**
Create a Git Flow feature branch following these steps:
Execute the following workflow:
# Switch to develop branch git checkout develop # Pull latest changes from remote git pull origin develop # Create feature branch with Git Flow naming convention git checkout -b feature/$ARGUMENTS # Set up remote tracking git push -u origin feature/$ARGUMENTS
After successful creation, display:
✓ Switched to develop branch ✓ Pulled latest changes from origin/develop ✓ Created branch: feature/$ARGUMENTS ✓ Set up remote tracking: origin/feature/$ARGUMENTS ✓ Pushed branch to remote 🌿 Feature Branch Ready Branch: feature/$ARGUMENTS Base: develop Status: Clean working directory 🎯 Next Steps: 1. Start implementing your feature 2. Make commits using conventional format: git commit -m "feat: your changes" 3. Push changes regularly: git push 4. When complete, use /finish to merge back to develop 💡 Git Flow Tips: - Keep commits atomic and well-described - Push frequently to avoid conflicts - Use conventional commit format (feat:, fix:, etc.) - Test thoroughly before finishing
Handle these scenarios gracefully:
**Uncommitted Changes:**
⚠️ You have uncommitted changes: M src/file1.js M src/file2.js Options: 1. Commit changes first 2. Stash changes: git stash 3. Discard changes: git checkout . What would you like to do? [1/2/3]
**Feature Name Not Provided:**
❌ Feature name is required Usage: /feature <feature-name> Examples: /feature user-profile-page /feature api-v2-integration /feature payment-gateway Feature names should: - Be descriptive and concise - Use kebab-case (lowercase-with-hyphens) - Describe what the feature does
**Branch Already Exists:**
❌ Branch feature/$ARGUMENTS already exists Existing feature branches: feature/user-authentication feature/payment-gateway feature/$ARGUMENTS ← This one Options: 1. Switch to existing branch: git checkout feature/$ARGUMENTS 2. Use a different feature name 3. Delete existing and recreate (destructive!)
**Develop Behind Remote:**
⚠️ Local develop is behind origin/develop by 5 commits ✓ Pulling latest changes... ✓ Develop is now up to date ✓ Ready to create feature branch
**No Develop Branch:**
❌ Develop branch not found Git Flow requires a 'develop' branch. Create it with: git checkout -b develop git push -u origin develop Or initialize Git Flow: git flow init
This command is part of the Git Flow branching strategy:
Feature branches:
This command respects:
**DO:**
**DON'T:**
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image