Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Caude codeで爆速開発

Caude codeで爆速開発

Calude codeで開発の世界観が変わる。ジュニアプログラマ全滅か!?その凄さを引き出し、その罠を避ける技法!

Avatar for codelynx

codelynx

July 07, 2025
Tweet

More Decks by codelynx

Other Decks in Programming

Transcript

  1. Kaz Yoshikawa • Electricwoods LLC / Digital Lynx Systems Inc.

    / Slow-Walkers • e-mail: [email protected] • twitter: @codelynx5 • Working History • Adobe Systems (Tokyo) • Lionbridge (Tokyo) • Quark (Tokyo / Denver) • Hummingbird Communications (Mt. View, USA) • Fact International (Vancouver, Canada) • Perle Systems (Toronto, Canada), etc.
  2. Chat GPT oX 👍 • ϓϩϯϓτ͔Βೖྗ • ίʔυΛॻ͍ͯ͘ΕΔͷͰίϐϖͰ࢖͑Δ • Xcode

    ͱ࿈ܞͯ͠ɺύονΛ༻ҙͯ͘͠ΕΔ • ·͊·͊ෳࡶͳίʔυΛॻ͍ͯ͘ΕΔ
  3. Chat GPT oX 👎 • ݁ہϑΝΠϧΛ·͕ͨͬͯɺߟ͑ͯ͘Εͳ͍ • ผͷϑΝΠϧʹ͋Δclass΍structΛਖ਼֬ʹ஌Βͳ͍ • ϏϧυΤϥʔ͸࢖͍ख͕ೳಈతʹߦ͏ඞཁ͕͋Δ

    • ࢼߦࡨޡͯ͠ϏϧυΤϥʔΛ௚ͯ͘͠Εͳ͍ • ߟ͑ํʹΑͬͯ͸ɺָ͍͠ίʔσΟϯάΛChat GPTʹ·͔ͤͯ • ͭ·Βͳ͍ϏϧυΤϥʔ΍όάͱΓΛ࢖͍ख͕΍ΔࣄʹͳΔʁ
  4. Claude codeͷ͕͜͜ੌ͍ • ίϚϯυͷύϥϝʔλͱ͔֮͑ͯͳͯ͘΋͍͍ײ͡ʹ୅ߦͯ͘͠ΕΔ commit, please • minor bug fi

    x ͱ͔ͷ͠ΐ΅͍ίϛοτΛ͍͍ײ͡Ͱ୅ߦͯ͘͠ΕΔ fixed some minor bugs • ίʔυॻ͚ͩ͘Ͱͳ͘ɺϏϧυΤϥʔ΋௚ͯ͘͠ΕΔ xcodebuild -scheme photolala -destination 'platform=macOS' -derivedDataPath build- test build 2>&1 | grep -E "(error:|FAILED|SUCCEEDED)" | tail -10
  5. Claude codeͷ͕͜͜ੌ͍ • ͍͍ײ͡ʹɺެ։࢓༷ॻͳͲΛ୳ͯ͠μ΢ϯϩʔυͯ͘͠ΕΔ download PowerPoint format specification • ڊେͰෳࡶͳ࢓༷Λཧղͯ͘͠ΕΔ

    can you summaries specs in brief? • ؆୯ͳࣄ͔Β࢝ΊΕ͹ɺ࢓༷Λཧղͯ͠ɺࢼߦࡨޡͯ͠ؤுͬͯ͘ΕΔ can write swift code to parse and print number of pages of .pptx by reading sample.pptx
  6. ίʔυڍಈΛ෼ੳͯ͘͠ΕΔ 1. First star (at 0 seconds): - Photo 1

    added to queue - resetInactivityTimer() is called - Line 146: inactivityTimer?.invalidate() - cancels any existing timer - Line 157: Starts a new 30-second timer - Log: [BackupQueueManager] Starting backup timer for 30 seconds - Log: [BackupQueueManager] Queue has 1 photos to upload, 0 to delete 2. Second star (at 10 seconds): - Photo 2 added to queue - resetInactivityTimer() is called again - Line 146: inactivityTimer?.invalidate() - cancels the previous timer (that had 20 seconds left) - Line 157: Starts a new 30-second timer - Log: [BackupQueueManager] Starting backup timer for 30 seconds - Log: [BackupQueueManager] Queue has 2 photos to upload, 0 to delete 3. After 30 seconds of no activity (at 40 seconds total): - Timer fi res - performAutoBackup() is called - Both photos are uploaded together - Log: Auto-backup triggered after 0 minutes of inactivity - Log: [BackupQueueManager] Starting upload of 2 photos
  7. Credential code • https://github.com/codelynx/credential-code • API_KEY, SECERT_KEY ͳͲηϯγςΟϒͳ৘ใΛJSONʹهड़ • ίϚϯυϥΠϯͰ҉߸Խ͞ΕͨιʔείʔυʹͳΔ

    • AES-256-GCM • ΞϓϦʹຒΊࠐΜͰ΋҆શʢΦʔϓϯιʔεʹ͸ෆద੾ʣ • Swift/Kotlin/Python/Java/C++ • Claude CodeͰ̍࣌ؒఔ
  8. Swiftlet ͸ಈతαΠτରԠ • ݸʑͷϖʔδ͸SwiftͷϓϩάϥϜ • index.swift • index.swift ͸ HTMLͷDSLͰهड़

    • Swiftletͷαʔόʔ͸Pathʹ͋ΔSwiftͷ࣮ߦՄೳίʔυʢίϯύΠϧࡁΈʣ Λ࣮ߦɺੜ੒͞ΕͨHTMLΛฦ͢ • ࢓૊Έ͸ͻͱੲલͷCGIɺͰ΋ύϥϝʔλΛ౉͢ࣄͰಈతͳαΠτΛߏஙՄ ೳ
  9. ੜ੒ίʔυྫ • codelynx͸αʔόʔ͸໳֎׽ • Ignite ͷίʔυ͕ɹMITͰ͋ΔࣄΛ֬ೝ • ϓϩδΣΫτʹigniteΛαϒϞδϡʔϧͰऔΓࠐΉ • AIʹIgniteͷDSLͷ࢓૊Έͷ࣮૷෼ੳϨϙʔτΛॻ͔ͤΔ

    • ͜ͷϨϙʔτΛݩʹɺCGIͷΑ͏ʹݸʑͷϖʔδ͕swiftԽͰ͖ΔΑ͏ʹ૬ஊ • ࠓճͷཁٻΛ੝ΓࠐΜͰɺίʔυੜ੒ͤ͞Δ • AWS EC2ʹରԠͤ͞Δ