1. Învăţa
  2. /
  3. Courses
  4. /
  5. Introduction to Agent Skills

Connected

exercise

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.

Instrucţiuni

100 XP
  • Start Claude Code with claude.

  • Ask Claude to create a personal skill at ~/.claude/skills/pr-description/SKILL.md that:

    • Has a name: pr-description and a description mentioning PR descriptions
    • Has a body that runs git diff main...HEAD
    • Writes three sections: What, Why, and Changes
  • 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 /exit to exit Claude Code.