generate-prompt-request — Claude Code skill: session recap for PRs
Compresses the current session into a one-page prompt request: all asks and decisions in a User block, what was built in an Assistant block.
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a claude-codeWhat generate-prompt-request does
The skill re-reads the session from the first message to now, collects every ask and every decision made along the way (a stack choice, a dropped feature, a "keep it simple" constraint), and compresses it into two blocks: User — what was requested and which decisions were made, Assistant — what was built and its status. Output is inline markdown ready to paste into a pull request description.
The author recommends invoking it automatically when opening a PR: one line in the repo's AGENTS.md ("Invoke generate-prompt-request and include its output in the PR body") gives the reviewer context without decoding dozens of messages. Without it, a reviewer reads the whole conversation to understand why Supabase was chosen or why Stripe is not there. The skill works on the current session only and invents nothing.
What it helps with
- compress a long session into a one-page recap for a PR
- collect all asks and decisions from the conversation into a single User block
- give a reviewer context for the change without reading the whole conversation
- automatically add a prompt request to the PR body
- capture which decisions were made along the way
Example prompts for the agent
- Generate a prompt request for this session
- Compress the session into a one-page recap for the PR
- Collect all asks and decisions from this session into a User block
How to install generate-prompt-request
1Skills CLI (Vercel)
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a claude-code2Manually: put the files in place
~/.claude/skills/generate-prompt-request/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/generate-prompt-request/
1Skills CLI (Vercel)
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a codex2Manually: put the files in place
.agents/skills/generate-prompt-request/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a cursor2Manually: put the files in place
.cursor/skills/generate-prompt-request/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install agent37-platform/agent37-skills-collection generate-prompt-request2Manually: put the files in place
.github/skills/generate-prompt-request/SKILL.md1Skills CLI (Vercel)
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a gemini-cli2Platform CLI
gemini skills install https://github.com/agent37-platform/agent37-skills-collection --path plugins/generate-prompt-request/skills/generate-prompt-requestManually: put the files in place
.devin/skills/generate-prompt-request/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about generate-prompt-request
How to install generate-prompt-request in Claude Code?
Run npx skills add agent37-platform/agent37-skills-collection --skill generate-prompt-request -a claude-code, the skill will be placed at ~/.claude/skills/generate-prompt-request/SKILL.md.
What does generate-prompt-request do?
Re-reads the current session, collects all asks and decisions into a User block, what was built into an Assistant block, and outputs a ready-to-paste recap for a pull request description.
Can generate-prompt-request run automatically when opening a PR?
Yes, add one line to the repo's AGENTS.md: "When opening a PR, invoke the generate-prompt-request skill and include its output in the PR body." The skill will run and insert the recap into the PR body.
Source text
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