Skip to content

[Prompt]: Add Git workflow prompts from edge-ai #83

@WilliamBerryiii

Description

@WilliamBerryiii

Prompt Name

Git Workflow Prompts Collection

Category

Git

Use Case

This collection adds four comprehensive git workflow prompts ported from edge-ai to standardize git operations:

  1. git-commit-message.prompt.md - Generates conventional commit messages following commit-message.instructions.md rules based on staged changes
  2. git-commit.prompt.md - Full workflow to stage all changes, generate conventional commit message, and commit using only git add/commit with post-commit adjustment support
  3. git-merge.prompt.md - Orchestrates git merge, rebase, and rebase --onto workflows with consistent conflict handling
  4. git-setup.prompt.md - Interactive, verification-first Git configuration assistant for identity, editor, diff/merge tools, signing, and safe directories (non-destructive)

These prompts provide guided, interactive workflows for common git operations with proper error handling and user confirmation flows.

Requirements

Files to Add:

  • .github/prompts/git-commit-message.prompt.md (865 lines)
  • .github/prompts/git-commit.prompt.md (7241 lines)
  • .github/prompts/git-merge.prompt.md (1112 lines)
  • .github/prompts/git-setup.prompt.md (11587 lines)

Dependencies:

  • These prompts reference #file:../instructions/commit-message.instructions.md which may need to be added
  • git-merge.prompt.md references #file:../instructions/git-merge.instructions.md which may need to be added

Validation Needed:

  • Ensure all referenced instruction files exist or are also ported
  • Verify frontmatter follows schema (mode: 'agent', description present)
  • Run markdown linting to ensure compliance with repo standards
  • Verify no conflicts with existing prompt naming conventions

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageRequires triage and prioritizationpromptsCopilot prompt files (.prompt.md)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions