К основному содержанию
скилл CX Codex

generate-prompt-request — скилл для Claude Code: сводка сессии в PR

Сворачивает текущую сессию в одностраничный «prompt request»: все запросы и решения в одном блоке User, итог работы — в блоке Assistant.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a claude-code
Открыть на GitHub

Что делает generate-prompt-request

Скилл перечитывает сессию от первого сообщения до текущего момента, собирает каждый запрос и каждое принятое решение (выбор стека, отменённую фичу, ограничение «без Docker») и сжимает всё в два блока: User — что хотели и какие решения приняли по ходу, Assistant — что построено и в каком статусе. Результат выводится прямо в ответ, готовым к вставке в описание пулл-реквеста.

Автор советует вызывать скилл автоматически при открытии PR: одна строка в AGENTS.md репозитория («Invoke generate-prompt-request and include its output in the PR body») даёт ревьюеру контекст без расшифровки переписки. Без этого приходится читать десятки сообщений, чтобы понять, почему выбран Supabase или почему Stripe не нужен. Скилл работает только с текущей сессией и ничего не выдумывает.

Какие задачи решает

  • свернуть длинную сессию в одностраничную сводку для PR
  • собрать все запросы и решения из переписки в один блок User
  • показать ревьюеру контекст изменений без чтения всей переписки
  • автоматически добавлять prompt request в тело пулл-реквеста
  • зафиксировать, какие решения приняты по ходу работы

Примеры запросов агенту

  • Сделай prompt request для этой сессии
  • Сверни сессию в одностраничную сводку для PR
  • Собери все запросы и решения из переписки в блок User

Как установить generate-prompt-request

1Через Skills CLI (Vercel)

npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a claude-code

2Вручную: положить файлы

~/.claude/skills/generate-prompt-request/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/generate-prompt-request/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о generate-prompt-request

Как установить generate-prompt-request в Claude Code?

Выполни npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a claude-code, скилл встанет в ~/.claude/skills/generate-prompt-request/SKILL.md.

Что делает generate-prompt-request?

Перечитывает текущую сессию, собирает все запросы и решения в один блок User, итог работы — в блок Assistant, и выводит готовую сводку для вставки в описание пулл-реквеста.

Можно ли вызывать generate-prompt-request автоматически при открытии PR?

Да, добавь в AGENTS.md репозитория строку «When opening a PR, invoke the generate-prompt-request skill and include its output in the PR body» — скилл сработает сам и вставит сводку в тело PR.

Исходный текст

SKILL.md · MIT
---
name: generate-prompt-request
description: This skill should be used to generate a "prompt request" one-pager that summarizes the current session for a pull request. It produces one consolidated User block folding together every ask and decision from the session, plus one Assistant block summarizing what was built. Use it when the user asks to "generate a prompt request", recap or summarize the session for a PR, or capture what was requested. Also use it automatically when opening a pull request or writing a PR description, so the PR body includes the asks and decisions behind the change. Works on the current session only and outputs inline markdown ready to paste into a PR.
---

# Generate Prompt Request

## Overview

Turn the current working session into a compact "prompt request" one-pager for a pull request:
a single `User:` block that folds together every ask and every decision made during the session,
followed by a single `Assistant:` block summarizing what was actually built or done. It is a
one-pager a reviewer can read at a glance, not a turn-by-turn transcript.

## When to use

- The user asks to "generate a prompt request", recap the session for a PR, or capture what was requested.
- Automatically while opening a pull request or writing a PR description. Generate this and include
  it in the PR body so reviewers see the asks and decisions behind the change. A repo's AGENTS.md or
  CLAUDE.md can wire this in with one line, for example: "When opening a PR, invoke the
  generate-prompt-request skill and include its output in the PR body."

## Output format

Render the result INLINE in the reply. Do not write a file. Produce exactly this shape:

```
# <Session topic> — Prompt Request

**User:**
> <one consolidated request: all the asks first, then "Decisions made along the way: ..."
> folding in every choice the user made or approved>

**Assistant:**
> <a short summary of what was actually built or done, plus status>
```

## How to build it

1. Re-read the whole current session, from the first user message to now.
2. Collect every distinct ask or requirement, and every decision the user made or approved,
   including ones that emerged mid-session (a stack choice, a "keep it simple" constraint, a
   dropped feature).
3. Write ONE `User:` block: a single natural request that compresses all of it. Lead with what
   they wanted, then end with "Decisions made along the way: ..." listing the resolved choices inline.
4. Write ONE `Assistant:` block: a tight summary of what was delivered (what got built, its key
   properties, and status). Two to four sentences.
5. Title: derive it from the session's main deliverable (for example "White-Label Template — Prompt Request").

## Rules

- Current session only. Never invent an ask, decision, or outcome that did not happen in this
  session. If something is uncertain, leave it out.
- Compress hard. One short paragraph per block. No multi-turn transcript, no separate Summary or
  Gotchas sections.
- Use bold `User:` / `Assistant:` labels with the content in a blockquote.
- No em dashes or en dashes in the prose. Use periods, commas, or rephrase.
- When invoked during PR generation, output only the block so it can be pasted straight into the PR body.

## Example

A real one-pager from a session that designed a white-label template app:

```
# White-Label Template — Prompt Request

**User:**
> I want a white-label, open-source GitHub template built on our existing B2B Agents API
> (`/v1`), a bare-bones version of our B2C dashboard that people fork and rebrand. It needs
> workspaces per user (members + shareable invite links) and the basics the API supports:
> instance lifecycle (create / list / start / stop / restart / update / resize / delete),
> budget + usage, and opening each agent's own UIs (dashboard / terminal / files) via signed
> URLs. No Stripe. Decisions made along the way: one server-side `sk_live_` key with logical
> app-level workspaces (there is no API to mint per-tenant Agent37 keys, so tenancy is enforced
> in our own layer); no in-app chat, just open the agent's real UIs in a new tab; stack is
> Next.js + Supabase (magic-link auth, Postgres, RLS); and keep it simple, no Docker (setup
> provisions a hosted Supabase project for you).

**Assistant:**
> Built it as a standalone Next.js 15 repo wrapping `/v1`: Supabase magic-link auth, logical
> workspaces with admin/viewer roles and invite links, the full instance lifecycle plus
> budget/usage, signed-url "open" actions, and a template list, backed by a Supabase `instances`
> mirror refreshed from `/v1`. Isolation is RLS plus server-side role checks, the `sk_live_` key
> stays server-side, branding is env-only, and there is no Stripe. Setup provisions a hosted
> Supabase project via an access token (no Docker); typecheck and build pass. Not pushed, the
> adopter creates the GitHub repo.
```

© agent37-platform · MIT · agent37-platform/agent37-skills-collection

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора2

Спонсоры проекта

Компании, которые помогают держать аналитику открытой