Bắt đầu ngayBắt đầu miễn phí

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.

Bài tập này là một phần của khóa học

Introduction to Agent Skills

Xem khóa học

Hướng dẫn bài tập

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

Bài tập tương tác thực hành

Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi

Bắt đầu bài tập