Saving your PR format as a personal skill
When teams write code and create pull requests (PRs) to build and maintain their codebase, they'll often have to re-explain the PR format to Claude every single time.
In this exercise, you'll capture it once as a personal skill so you never have to type those instructions again. The next time you ask Claude to write a PR description for my changes, it will follow your template automatically. Same shape, every time, across every project.
Este ejercicio forma parte del curso
Introduction to Agent Skills
Instrucciones del ejercicio
Start Claude Code with
claude.Ask Claude to create a personal skill at
~/.claude/skills/pr-description/SKILL.mdthat:- Has a
name: pr-descriptionand a description mentioning PR descriptions - Has a body that runs
git diff main...HEAD - Writes three sections: What, Why, and Changes
- Has a
Ask Claude to show you the file it just created.
Ask Claude what you'd need to do for this skill to be picked up the next time you open Claude Code.
Type
/exitto exit Claude Code.
Ejercicio interactivo práctico
Pon en práctica la teoría con uno de nuestros ejercicios interactivos
Empezar ejercicio