Skip to content
Back to skills

Create Pr Template

ASecurity

Pull Request description template for creating clear, structured PR descriptions. Use when writing PR descriptions to ensure consistent formatting across the team.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentsbashsqlapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill create-pr-template --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Pr Template?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Pr Template
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-create-pr-template/badge)](https://www.skillsdirectory.com/skills/majiayu000-create-pr-template)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-pr-template
description: >
  Pull Request description template for creating clear, structured PR
  descriptions. Use when writing PR descriptions to ensure consistent
  formatting across the team.
---

# Pull Request Description Template

Use this template when creating PR descriptions:

After drafting the PR description, use the `show-me` skill to present it.

````markdown
# Description

{Summary of what changed and why - 2-3 sentences explaining the problem and solution}

{If an issue tracker ticket exists: [TICKET-ID](link-to-ticket)}

## What's Changed
- Added: {New functionality with context}
- Updated: {Modified behavior with rationale}
- Fixed: {Bug fixes with issue description}
- Removed: {Deprecated code with reason}

````

## Template Variables

Replace these placeholders with actual values:

- {Summary of what changed and why} - Brief explanation of the change
- {New functionality with context} - What was added
- {Modified behavior with rationale} - What was changed and why
- {Bug fixes with issue description} - What was fixed
- {Deprecated code with reason} - What was removed
- {Expected result} - What should happen
- {New env vars needed} - Environment variable requirements
- {New packages added} - Dependency additions
- {New routes added} - New application routes

## Entity Framework Migrations

If the PR includes Entity Framework migrations and the project uses `dotnet ef`, extract the raw SQL for every migration applied using the `dotnet ef migrations script` CLI. Include the generated SQL in a `## Migrations` section of the PR description.

Do **not** use `dotnet ef migrations add` or any scaffolding command — only generate the SQL script from already-applied migrations.

Run this from the repository root:

```bash
dotnet ef migrations script \
    --startup-project src/MyApp.Api \
    --project src/MyApp.Infrastructure \
    --output src/MyApp.Infrastructure/Migrations/output.sql
```

Replace:
- `src/MyApp.Api` → your startup project (the one with `Program.cs` / `DbContext` registration)
- `src/MyApp.Infrastructure` → the project containing the `.cs` migration files
- `src/MyApp.Infrastructure/Migrations/output.sql` → where the generated SQL file is saved

After the command completes, read the output file and paste its contents into a `## Migrations` section:

```markdown
## Migrations

```sql
-- paste generated SQL here
```
```

If the migration is empty (no model changes), note that instead of including a blank file.

> **Important:** This is a read-only extraction. Never modify migration `.cs` files or create new migrations as part of PR generation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.