Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
テスト生成で気づいた、Claude Codeとのベストな役割分担
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
いちご
October 17, 2025
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
テスト生成で気づいた、Claude Codeとのベストな役割分担
いちご
October 17, 2025
Transcript
18 slides
ςετੜͰؾ͍ͮͨɺ Claude Codeͱͷ ϕετͳׂ୲ ʮAIʹͤΕςετࣗಈͰᘳ…ͷ͕ͣ?ʯ ͍ͪ͝ 💭 ʮAI͕ςετ·Ͱॻ͍ͯ͘ΕΔͳΒ ࠷ߴ͡ΌΜɺͱࢥͬͯࢼͨ͠ʯ
ϑϩϯτΤϯυͷςετɺ Ͳ͏ࢦࣔ͢Ε͍͍ʁ 📝 TDDʹԊͬͯʢt-wada͞Μͷਪ͢ΔΓํͰʣ Red → Green → RefactorͷαΠΫϧͰ... 📚
VitestͷެࣜυΩϡϝϯτʹԊͬͯ ϕετϓϥΫςΟεΛࢀߟʹ... 🔀 શͯͷذΛνΣοΫͯ͠ ifจɺswitchจɺࡾ߲ԋࢉࢠ... ⚠ Τοδέʔεཏͯ͠ nullɺundefinedɺۭྻ... 🎯 ΧόϨοδ90%Ҏ্Ͱ ࣭Λ୲อ͢ΔͨΊʹ...
͜ΕΒΛ ᕒͷ6จࣈ ʹࠐΊ·ͨ͠ ↓
ʮςετॻ͍ͯʯ
࠷ॳͷҰา: ࡶͳࢦࣔ Claude Codeʹґཔͯ͠Έͨ ʮςετॻ͍ͯʯ ؆୯ ͨͬͨҰݴ ͍ 6จࣈଧ͚ͭͩ ָ
ߟ͑ͳ͍͍ͯ͘ ʮSonnet 4.5ͩ͠ɺ͜ΕͰेͬ͠ΐɻʯ
ฦ͖ͬͯͨʂ
ฦ͖ͬͯͨςετίʔυ // ਖ਼ৗͷςετ test('ਖ਼ৗͳͷ߹') → ✓ ظ௨Γ // ڥքͷςετ test('͕0ͷ߹')
test('͕100ͷ߹') → ✓ ذߟྀ // Τοδέʔεͷςετ test('nullͷ߹') test('undefinedͷ߹') → ✓ ཏత 😊 ΊͬͪΌ͑͑Μʂ ఆͨ͠ςετέʔεΛॻ͍͖ͯͨ શͯͷذʹରԠ͍ͯ͠Δςετέʔε ΧόϨοδߴͦ͏
😊 ྑͦ͞͏ʂ
Ͱ ͍ٙਂ͍Ͱ͢
ifจΛ1ͭ1ͭ ফͯ͠Έͨ
😊 ௨ͬͨʂΊͰͨ͠
͑ʁ
௨ͬͪΌͩΊͳΜͰ͢ 😱 ϋϦϘςײ ݁ہ… ݟͨཏత͚ͩͬͨͲɺ ࣮ࡍϋοϐʔύε ͔͠ ςετͯ͠ͳ͔ͬͨ ʮذͷςετͬͯॻ͍ͯ͋ͬͨͷʹ…ʯ
ͦ͜Ͱɺ͜͏͢Δ બࢶᶃ ΊͬͪΌؤுͬͯ టष͘Δ ۩ମతʹ ifจΛ1ͭͣͭ खಈͰίϝϯτΞτͯ͠ ςετͷ݀Λݟ͚ͭΔ બࢶᶄ ΧελϜεϥογϡίϚϯυ
ͰϓϩϯϓτΛ ۩ମతʹ ৄࡉͳϓϩϯϓτΛ ίϚϯυԽͯ͠ ςετੜΛ࠷దԽ
ࢀߟɿ ΧΠτ͞Μͷهࣄ ͷ͘͢͝༗ޮ ৄࡉͳϓϩϯϓτΛίϚϯυԽͰ ςετ࣭͕ܶతʹ্ ϋοϐʔύεʹͳ͍ͬͯ ͳ͍ ڥքΤοδέʔε ͔ͬ͠ΓΧόʔͰ͖Δ ৄͪ͘͜͠Β
↑
·ͱΊɿཧͱݱ࣮ɺͦͯ͠ΤϯδχΞͷՁ ཧͷະདྷ ʮςετॻ͍ͯʯͷ ࡶͳࢦࣔͰ ᘳͳςετ͕Ͱ͖Δੈք ݱࡏ ·ͩͦ͜ʹ ౸ୡ͍ͯ͠ͳ͍ɻͰॻ͚Δɻ ࡶͳࢦࣔͰ௨Βͳ͍ ࠓͷΤϯδχΞͷՁ
ͦͷؒΛຒΊΔͨΊʹ ʮ͏·͘Δʯํ๏ Λݟ͚ͭΔ͜ͱ ࠓͷਓؒͷׂ ͋͑ͯటष͘Δͷ͋Γ Custom slash commandΛඋ͢Δ ཧͷະདྷདྷΔɻ Ͱࠓ·ͩɺਓؒͷग़൪ɻ
Ͱɺ͓લ୭ʁ ϑϦʔϥϯεΤϯδχΞͷ ͍ͪ͝ ʢ߹ಉձࣾιωοτʣ YouTubeͬͯ·͢ ↓ ʮ ͍ͪ͝ claude code
ʯ Ͱݕࡧ
࣍ճ Custom slash command උͯ͠ςετॻ͍ͯΈͨ ָ͓͠Έʹ...
More Decks by いちご
See All by いちご
他のAIと比較したQwenの特徴、そしてQwenに何を任せるか
irishkooky
0
120
RLSは満点だった。 勝手口は関数にあった。
irishkooky
0
75
そのタスク、Fableじゃなくていい。可視化して分かったムダをHaiku×サブエージェントへの委譲で削る
irishkooky
0
32
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
WENDY [Excerpt]
tessaabrams
15
40k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Thoughts on Productivity
jonyablonski
76
5.5k
The Language of Interfaces
destraynor
162
27k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k