Custom Slash Command ใ‚’ Skills ใซๅค‰ๆ›ใ™ใ‚‹

๐Ÿ–Š
note

ๅฐ‘ใชใใจใ‚‚ Claude Code ใงใฏ 2 ใคใฏ็ตฑๅˆใ•ใ‚Œใฆใ€ๅŒใ˜ๆ‰ฑใ„ใงๅ‘ผใณๅ‡บใ™ใ“ใจใŒใงใใ‚‹ใ‚ˆใ†ใซใชใฃใฆใ„ใ‚‹ใ€‚

Skill ใซๅฏ„ใ›ใฆใŠใใจไป–ใฎ Agent ใ‹ใ‚‰ไฝฟใ„ใŸใ„ๅ ดๅˆใซไพฟๅˆฉใใ†ใชใฎใงใ€ๅฟ…่ฆใชใ‚‚ใฎใ‚’ๅค‰ๆ›ใ—ใŸใ„ใ€‚ Custom Slash Command ใซไบ’ๆ›ใฎใ‚ใ‚‹ใ€ใ€Œใƒฆใƒผใ‚ถใƒผใŒๅ‘ผใณๅ‡บใ™ใ“ใจใŒใงใใ€Agent ใŒ่‡ชๅ‹•็š„ใซไฝฟ็”จใ—ใชใ„ใ€ใจใ„ใ†็Šถๆ…‹ใซใ™ใ‚‹ใซใฏใ€ Frontmatter ใง disable-model-invocation: true ใ‚’ๆŒ‡ๅฎšใ™ใ‚‹ใ€‚

---
allowed-tools: Bash(git push), Bash(git diff), Bash(git log), Bash(gh pr create), Bash(which gh)
description: Create a pull request with structured format
user-invocable: true
disable-model-invocation: true
---

Create a pull request following the structured format. Analyze the current branch changes and generate appropriate content.

....

user-invocable: true ใฏใƒ‡ใƒ•ใ‚ฉใƒซใƒˆๅ€คใชใฎใงๆŒ‡ๅฎšใ™ใ‚‹ๅฟ…่ฆใŒใชใ„ใŒใ€่‡ชๅˆ†ใฏๆ˜Ž็คบ็š„ใซๆ›ธใ„ใฆใ—ใพใฃใฆใ„ใ‚‹ใ€‚ใ“ใ‚Œใ‚‰ใฎใƒ•ใƒฉใ‚ฐใ‚’้€†ใซใ™ใ‚‹ใจใ€ŒAgent ใŒ่‡ชๅ‹•็š„ใซไฝฟ็”จใ™ใ‚‹ใ“ใจใ ใ‘่จฑๅฏใ€ใ•ใ‚ŒใŸ Skill ใ‚’ไฝœใ‚‹ใ“ใจใŒใงใใ‚‹ใ€ใใกใ‚‰ใ‚‚็”จ้€”ใฏใ‚ใ‚Šใใ†ใ€‚

yaakai.to