Start Feature Command
Kickstarts feature development by creating a GitHub issue, feature branch, and draft PR in one command. Sets up the complete workflow scaffolding so you can immediately start coding with proper git hygiene.
Command
/start
Description
Automates the boilerplate of starting a new feature: creates a GitHub issue for tracking, checks out a properly named feature branch, and opens a draft PR linked to the issue. Gets you from idea to coding in under 30 seconds.
Behavior
Arguments
$ARGUMENTS-- Feature description (e.g., "add dark mode toggle to settings page")
Steps
-
Parse the feature description and generate:
- Issue title (concise, descriptive)
- Branch name (kebab-case with prefix)
- PR title (conventional commit style)
-
Create GitHub issue:
gh issue create \ --title "feat: Add dark mode toggle to settings page" \ --body "## Description Add a dark mode toggle to the user settings page. ## Acceptance Criteria - [ ] Toggle switch in settings - [ ] Persists preference to localStorage - [ ] Applies dark theme across all pages - [ ] Respects system preference as default ## Technical Notes - Use CSS custom properties for theme colors - Add prefers-color-scheme media query support" -
Create feature branch:
git fetch origin git checkout -b feat/add-dark-mode-toggle origin/main -
Create initial commit (empty, to establish the branch):
git commit --allow-empty -m "feat: start dark mode toggle implementation Closes #<issue-number>" git push -u origin feat/add-dark-mode-toggle -
Create draft PR:
gh pr create \ --title "feat: add dark mode toggle to settings page" \ --body "Closes #<issue-number> ## Summary Add dark mode support with a toggle in user settings. ## Changes - [ ] Settings page toggle component - [ ] Theme provider with CSS custom properties - [ ] localStorage persistence - [ ] System preference detection ## Testing - [ ] Toggle switches themes correctly - [ ] Preference persists across page reloads - [ ] Respects system dark mode preference" \ --draft -
Output summary:
## Feature Started - Issue: #142 (https://github.com/you/repo/issues/142) - Branch: feat/add-dark-mode-toggle - Draft PR: #143 (https://github.com/you/repo/pull/143) You're on branch `feat/add-dark-mode-toggle`. Start coding!
Output Format
A summary with links to the created issue, branch name, and draft PR URL.
Examples
# Start a new feature /start add dark mode toggle to settings page # Start a bugfix /start fix login redirect loop for OAuth users # Start a refactoring task /start refactor payment service to use strategy pattern
Reviews
No reviews yet. Be the first to review this template!
Similar Templates
Git Commit Message Generator
Generates well-structured conventional commit messages by analyzing staged changes. Follows Conventional Commits spec with scope detection.
React Component Scaffolder
Scaffolds a complete React component with TypeScript types, Tailwind styles, Storybook stories, and unit tests. Follows project conventions automatically.
CI/CD Pipeline Generator
Generates GitHub Actions workflows for CI/CD including linting, testing, building, and deploying. Detects project stack automatically.