Навык create-pull
Create Gitea/Forgejo pull requests — interactive, with flags, from forks, WIP conventions, and quick patterns.
- Звёзды на GitHub
- 13
- Файлы
- 2
- Последний коммит
- 30 мая 2026 г.
- Лицензия
- MIT
- Разрешённые инструменты
- —
Что делает навык create-pull?
create-pull — это Agent Skill. Create Gitea/Forgejo pull requests — interactive, with flags, from forks, WIP conventions, and quick patterns.
Как установить навык create-pull
Каждая команда копирует папку навыка в каталог навыков клиента. Перезапустите клиент или начните новую сессию, чтобы загрузить его.Установка навыка create-pull в Плагин
/plugin marketplace add deevus/tea-skills /plugin install tea@tea-skills
Установка навыка create-pull в Claude Code
~/.claude/skills/create-pull/SKILL.md
$ npx degit deevus/tea-skills/skills/create-pull ~/.claude/skills/create-pullУстановка навыка create-pull в Claude Code (project)
.claude/skills/create-pull/SKILL.md
$ npx degit deevus/tea-skills/skills/create-pull .claude/skills/create-pullУстановка навыка create-pull в Codex
~/.agents/skills/create-pull/SKILL.md
$ npx degit deevus/tea-skills/skills/create-pull ~/.agents/skills/create-pullУстановка навыка create-pull в Gemini CLI
~/.gemini/skills/create-pull/SKILL.md
$ npx degit deevus/tea-skills/skills/create-pull ~/.gemini/skills/create-pullУстановка навыка create-pull в Claude.ai
npx degit deevus/tea-skills/skills/create-pull create-pull && zip -r create-pull.zip create-pull # claude.ai → Customize → Skills → + → Create skill → Upload a skill → create-pull.zip
SKILL.md
Открыть на GitHubCreate Pull Request
Use tea pulls create for pull request creation. Bundled actions are only for CLI gaps and are documented under actions/pull-requests/README.md.
When resolving actions/... paths, use the actions/ directory bundled relative to this skill directory.
Pass explicit scope flags (--login, --remote, or --repo) to bundled actions when the user names a login, remote, backend, or repository. Otherwise, bundled actions use active-host-first discovery.
Create
tea pulls create # interactive, current branch -> default branch
tea pulls create --title "Add auth" --description "Implements JWT" \
--head "feature/auth" --base "main" \
--labels "bugfix" --assignees "sh" --milestone "v1.0"
tea pulls create --head "contributor:feature-branch" --base "main" # from fork
WIP PR Convention
Use the normal tea CLI and prefix the title with WIP: when a Forgejo/Gitea workflow treats WIP titles as draft-like pull requests.
tea pulls create --title "WIP: Feature" --head feature-branch
tea pulls create --title "WIP: Feature" --head feature-branch --base develop
Quick Pattern
# PR from current branch
git push -u origin HEAD
tea pulls create --title "$(git log -1 --format=%s)" --head "$(git branch --show-current)"
Rediscover Created PR
tea pulls create output is human-oriented. When you need the created PR number or URL for automation, use the structured branch lookup action instead of parsing command output:
actions/pull-requests/find-by-branch.py
actions/pull-requests/find-by-branch.py --head "$(git branch --show-current)"
actions/pull-requests/find-by-branch.py --head "contributor:feature-branch" --base main
The action emits one JSON object per matching pull request as JSONL, suitable for jq or direct agent parsing.
Файлы в этом навыке
2Вопросы о навыке create-pull
Как установить навык create-pull в Claude Code?
Выполните npx degit deevus/tea-skills/skills/create-pull ~/.claude/skills/create-pull. Claude Code загружает навыки из ~/.claude/skills (все проекты) или .claude/skills (один проект) и использует навык, когда его описание соответствует задаче.
Какие клиенты могут использовать навык create-pull?
Любой клиент, который читает формат Agent Skills: Claude Code, Codex, Gemini CLI и claude.ai (загрузить как ZIP). Скрипты в навыке выполняются только там, где клиент разрешает выполнение кода.