Логотип Create Pr

Create Pr

ОрганізаціяПопулярне
kortix-ai
create-pr

Write the title and body of a Kortix pull request for a human reviewer who decides "merge or iterate" without reading the diff: English only, a Conventional Commits title that names the outcome, only Demo video and Quick verification, with detailed evidence linked. Uploads the video and screenshots with `gh pr create/edit --attach`. Load whenever you run `gh pr create` or `gh pr edit`, write or rewrite a PR title or description, attach a video or screenshot to a PR, or hand off finished work for review, even when the user only says "open a PR" or "update the PR text".

Огляд

Видавецьkortix-ai
РепозиторійCompanyOS
Назва навичкиcreate-pr
Зірки
20.8K
Форки
3.5K
Файли в пакеті
Лише інструкції
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: kortix-ai. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Create Pr у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/kortix-ai/CompanyOS/tree/dev/.agents/skills/create-pr
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kortix-ai/CompanyOS.git /tmp/CompanyOS
mkdir -p .claude/skills
cp -r /tmp/CompanyOS/.agents/skills/create-pr .claude/skills/create-pr
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Create Pr в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Create Pr, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Create Pr не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Create a pull request

The title and body are for a human who will not open the diff. Their one question is "Do I merge this, or send it back?" Every line helps answer it. Cut a line that does not, even when it is true and took effort to find. Keep the body short. Put detailed evidence in linked PR comments or artifacts so the reviewer can inspect it without expanding the body.

This skill owns the PR text. The contributing skill owns the loop around it: branch, commit, verify, record the demo, merge, deploy dev. Follow the section order in the PR template. Use only ## Demo video and ## Quick verification, in that order. Keep both headings; explain a non-visual video exception in one sentence.

1. Gather facts before you write

  • git log --oneline origin/dev..HEAD and git diff --stat origin/dev...HEAD: what the branch changes.
  • The verification you ran in this session: exact commands, results, and the commit they ran on. Never write a result you did not see. State skipped or blocked checks and their reasons; do not omit them.
  • gh pr checks <pr> when the PR exists and a test or preview run happened. Pending is not PASS.
  • The demo video, recorded and checked frame by frame (contributing step 4).

2. Title

  • English only.
  • type(scope): <outcome>, the Conventional Commits style that git log shows. The squash merge uses the title as the commit subject on dev, so the prefix stays.
  • After the colon, write the outcome a user or operator notices, not the technique.
    • Yes: fix(web): the session list keeps its scroll position after a new message
    • No: fix(web): memoize SessionList and move scroll ref into useLayoutEffect
  • At most ~72 characters. Lowercase after the colon. No trailing period.
  • Add the Linear key at the end when there is one: (KRTX-1234).
  • Mark a breaking change with !: feat(sdk)!: ….

3. Body

English only, every section. Keep the template headings unchanged.

Style rules. Each one saves the reviewer a question.

  • Describe behavior, not code. Name who (user, admin, agent, self-host operator), where (route, screen, CLI command, API route), what they now see or can do, and what happened before. Name a file or function only when it helps the reviewer verify the change.
  • Be concrete. Numbers, routes, status codes, exact UI labels in quotes. "Faster" becomes "first token in 9 s instead of 19 s on a new session". Never "improved", "various", "some cleanup".
  • One fact per sentence. No filler, no sales tone, no restating the title. The How to communicate rules in AGENTS.md apply.
  • Say what is not affected when a reviewer would plausibly worry: migrations, IAM, billing, old OpenCode transcripts, self-host, mobile, desktop, prod data.
  • Separate what you proved from what you believe. "Tested on Platinum" and "Daytona takes the same path, not tested" are two different claims.
  • Explain a design choice only when the reviewer would otherwise ask "why not the obvious way?". One or two sentences.

Leave out: your process and dead ends, a file-by-file tour in prose, test internals the reviewer will not check, anything the title or the video already shows, and repeated caveats.

Sections (no others):

  • Demo video. The attached demo and a short caption, or the non-visual exception below.
  • Quick verification. Start with Outcome: <what was accomplished> in one sentence (or 1–3 high-level bullets). Then a few actionable checks: where to go, what to do, and the expected result. Summarize checks actually run and link detailed evidence. State material risks and failed, blocked or skipped checks. Link the issue when one exists.

Keep compact fenced commands and actual runner summaries under Quick verification when required by evidence gates; a collapsed block is allowed. Link verbose logs, tested commit/environment, design detail, RCAs, risk/rollback notes and longer review context in PR comments or artifacts. Keep evidence accessible and free of secrets and customer data. A shorter body does not reduce testing, safety, independent-review or merge requirements. Never replace required checks with instructions for the reviewer to run them.

4. Demo video and screenshots

Put the demo first, under ## Demo video, so the reviewer sees the change before reading the verification bullets. Record it with agent-browser on your worktree's local stack (contributing step 4). Keep the files in the gitignored output/pr/.

  • Before the video, write a bold caption: surface, route, viewport, state, and what to watch for. Example: Web, /projects/<id>/sessions, 1440×900, signed in as a member: the "Retry" button under a failed turn now resends the prompt. The reviewer knows where to look before the player loads.

  • One flow per video, under 60 s, starting state to visible result. Add a second video for a second flow, each with its own caption.

  • No user-visible surface (API, CLI, infra): record the terminal, or say in one sentence why a video adds nothing.

  • Add a screenshot only for a static state the video does not make obvious. For before/after, use a two-column table:

    markdown
    | Before | After |
    | --- | --- |
    | ![before](./output/pr/before.png) | ![after](./output/pr/after.png) |
  • Crop to the element (agent-browser screenshot @eN "$PWD/output/pr/after.png") when the change is small on a big page, and say so in the caption.

  • Check every frame and image for credentials, tokens, and real customer data. The repo is public and every attachment URL is public. Synthetic data only (@example.test).

5. Upload with gh --attach

Reference each file in the body by the same relative path you pass to --attach. gh uploads it and rewrites the reference to a github.com/user-attachments/assets/… URL. Run gh from the worktree root so the paths resolve. Never commit media or push it to a branch. Limits, token types, and failure modes: contributing/references/attachments.md.

bash
gh pr create --base dev \
  --title "fix(web): the session list keeps its scroll position after a new message" \
  --body-file output/pr/body.md \
  --attach ./output/pr/demo.mp4 \
  --attach './output/pr/after.png#Session list after a new message'

Then confirm no local path is left:

bash
gh pr view <pr> --json body --jq .body | grep -cE '\]\(\./output/'   # 0

When some uploads fail, gh still creates or updates the PR and exits non-zero. Re-run gh pr edit <pr> --attach for the missing files.

6. Update an existing PR

  • Read the live body first: gh pr view <pr> --json body --jq .body > output/pr/body.md. The old local file still holds ./output/pr/demo.mp4; publishing it without --attach leaves a broken link.
  • Keep what is still true, including uploaded user-attachments URLs. Replace what the new commits made stale. Do not append a changelog of iterations. The body reads as if written once for the final diff.
  • When the behavior in the video changed, record again and pass the full body: gh pr edit <pr> --body-file output/pr/body.md --attach ./output/pr/demo.mp4. --attach without --body-file appends the file at the end of the body.
  • Update the title too when the outcome changed: gh pr edit <pr> --title "…".

7. Last check

  1. Read the title and body as the reviewer. For each sentence: would deleting it make the merge-or-iterate decision harder? If not, delete it.
  2. Check every claim against the final diff and the verification you saw.
  3. Check that the title and body are in English.
  4. Check for customer names, people's names, emails, and real prod IDs. The commit hooks do not read PR titles, bodies, or attachments (AGENTS.md → "NEVER write customer data or PII"). Write the class instead: "a customer reported", <session_id>.

Поширені запитання

Що робить навичка ШІ Create Pr?

Write the title and body of a Kortix pull request for a human reviewer who decides "merge or iterate" without reading the diff: English only, a Conventional Commits title that names the outcome, only Demo video and Quick verification, with detailed evidence linked. Uploads the video and screenshots with `gh pr create/edit --attach`. Load whenever you run `gh pr create` or `gh pr edit`, write or rewrite a PR title or description, attach a video or screenshot to a PR, or hand off finished work for review, even when the user only says "open a PR" or "update the PR text".

Навіщо використовувати Create Pr у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Create Pr — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Create Pr у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/kortix-ai/CompanyOS/tree/dev/.agents/skills/create-pr. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Create Pr?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Create Pr?

Зі скількома забажаєте. У TypingMind ви можете використовувати Create Pr із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Create Pr?

На GitHub цю навичку публікує kortix-ai. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇