codemie-pr

CodeMie Pull Request Workflow

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "codemie-pr" with this command: npx skills add codemie-ai/codemie-code/codemie-ai-codemie-code-codemie-pr

CodeMie Pull Request Workflow

Instructions

  1. Check Current State

Always start by checking git status:

Current branch

git branch --show-current

Uncommitted changes

git status --short

Existing PR for current branch

gh pr list --head $(git branch --show-current) 2>/dev/null || echo "No PR"

  1. Handle Based on User Request

"commit changes" → Commit only:

git add . git commit -m "<type>(<scope>): <description>"

"push changes" → Push only:

git push origin $(git branch --show-current)

"create PR" → Full workflow below.

  1. Create PR Workflow

If on main branch:

  • Create feature branch first: git checkout -b <type>/<description>

  • Then proceed with commit/push/PR

If PR already exists:

git push origin $(git branch --show-current)

Inform: "Changes pushed to existing PR: <url>"

If no PR exists:

Push changes

git push origin $(git branch --show-current)

Create PR - read .github/PULL_REQUEST_TEMPLATE.md for structure

gh pr create
--title "<type>(<scope>): brief description"
--body "$(cat <<'EOF' [Fill template from .github/PULL_REQUEST_TEMPLATE.md] EOF )"

Template location: .github/PULL_REQUEST_TEMPLATE.md

Read the template file and fill all sections based on commits and changes.

Commit Format

Pattern: <type>(<scope>): <subject>

Types:

  • feat : New feature

  • fix : Bug fix

  • docs : Documentation

  • refactor : Code refactoring

  • test : Tests

  • chore : Maintenance

Scopes (optional): cli , agents , providers , config , workflows , utils , deps

Examples:

git commit -m "feat(agents): add Gemini plugin support" git commit -m "fix: resolve npm timeout issues" git commit -m "docs(readme): update installation steps"

Branch Format

Pattern: <type>/<description>

Examples:

  • feat/add-gemini-support

  • fix/npm-install-error

  • docs/update-readme

Troubleshooting

Error: "gh: command not found"

Solution: Create PR manually at:

https://github.com/codemie-ai/codemie-code/compare/main...&#x3C;branch>?expand=1

Use structure from .github/PULL_REQUEST_TEMPLATE.md for PR body.

Error: Already on main branch

Solution: Create feature branch first:

git checkout -b <type>/<short-description>

Error: No changes to commit

Solution: Check git status

  • nothing to commit or changes already staged.

PR already exists

Action: Just push updates to existing PR, don't create new one.

Examples

User: "commit the auth changes"

git add . git commit -m "feat(auth): add OAuth2 support"

User: "push and create PR"

  • Check for existing PR

  • If none: Read .github/PULL_REQUEST_TEMPLATE.md , fill sections, create PR

  • If exists: Push to existing PR

User: "create PR for the bug fix"

  • Verify not on main

  • Push changes

  • Read template, create PR with fix(...) title

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

git-worktree

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

spec-reviewer

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

tech-lead

No summary provided by upstream source.

Repository SourceNeeds Review