smithery/anton-pt

push-pr

Push branch and create GitHub PR

Installation

$ npx skills add smithery/anton-pt --skill push-pr

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/anton-pt.

npx skills add smithery/anton-pt

Browse all from smithery/anton-pt

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,822 B
  • docs SUMMARY.md 47 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Push Branch and Create Pull Request

Steps

  1. Get current feature from branch:

``bash BRANCH=$(git rev-parse --abbrev-ref HEAD) NUM=$(echo "$BRANCH" | grep -oE 'alg-([0-9]+)' | grep -oE '[0-9]+') ``

  1. Run verification:

``bash npm run type-check --workspaces --if-present npm test --workspaces --if-present ``

  1. If verification fails, stop and report errors.

Do NOT proceed to create a PR with failing checks.

  1. Push branch to remote:

``bash git push -u origin $BRANCH ``

  1. Generate PR title using Conventional Commits:

- Read specs/alg-${NUM}-*/spec.md to understand the feature - Generate a title like: feat(scope): short description - Types: feat (new feature), fix (bug fix), refactor, perf, docs, chore - Scope: optional component name, e.g. feat(search):, fix(auth):

  1. Create PR with gh CLI (following .github/PULLREQUESTTEMPLATE.md):

```bash gh pr create \ --title "${TITLE}" \ --body "## Summary

Resolves ALG-${NUM}

See [spec.md](specs/alg-${NUM}-*/spec.md) for full specification.

## Changes

$(git log main..HEAD --oneline)

## Verification

- [x] Type check passes - [x] Tests pass " ```

  1. Output the PR URL for the user.

Notes

  • The PR body uses "Resolves [ALG-XX](url)" to link the Linear issue
  • Linear automation will automatically update the issue status to "In Review" when the PR is created
  • If the branch already has a PR, gh pr create will fail - use gh pr view instead
  • Always run verification before pushing to catch issues early