ComeçarComece de graça

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 exercício faz parte do curso

Introduction to Agent Skills

Ver curso

Instruções do exercício

  • 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.

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício