Skip to content

git take-issue

Execute a development plan for a specific issue using AI assistance.

Usage

bash
# Execute plan from GitHub issue
git take-issue --issue 42

# Execute plan from markdown file
git take-issue --plan-file plan.md

Options

OptionDescription
--issue <number>GitHub issue number to implement
--plan-file <path>Path to the markdown plan file

Note: Provide either --issue or --plan-file (not both).

Usage Modes

Issue Mode

Use --issue to generate and execute a plan from a GitHub issue:

  • Fetches issue details from GitHub/GitLab
  • Creates AI prompt with issue context
  • Uses AI to analyze and implement the solution

Plan File Mode

Use --plan-file to execute a predefined plan:

  • Loads content from a markdown file
  • Passes plan content to AI for implementation
  • Plan files can be created manually or generated using git plan-issue
  • No issue context required

Features

  • AI-Powered Implementation: Uses Claude or Gemini for code implementation
  • Multi-Platform Support: Works with both GitHub and GitLab
  • Direct Execution: AI directly implements changes to your codebase
  • Plan File Support: Execute predefined development plans

Examples

bash
# Implement GitHub issue #123
git take-issue --issue 123
# → AI fetches issue details and implements the solution

# Execute a development plan from file (manually created)
git take-issue --plan-file my-implementation-plan.md
# → AI reads the plan and implements each step

# Execute a plan generated by git plan-issue
git plan-issue --issue 42  # First, generate a plan
git take-issue --plan-file issue-42-optimized.md  # Then execute it

# Cannot use both options together
git take-issue --issue 42 --plan-file plan.md
# → Error: Cannot use both options

Built with VitePress