YouTube Deep SummaryYouTube Deep Summary

Star Extract content that makes a tangible impact on your life

Video thumbnail

Claude Code - 47 PRO TIPS in 9 minutes

Greg Baugues β€’ 2025-05-22 β€’ 9:19 minutes β€’ YouTube

πŸ“š Chapter Summaries (12)

πŸ€– AI-Generated Summary:

ΠžΡΠ½ΠΎΠ²Π½Ρ‹Π΅ Π²Ρ‹Π²ΠΎΠ΄Ρ‹ ΠΈ инсайты

  • Claude Code β€” это CLI-инструмСнт для написания ΠΊΠΎΠ΄Π° с ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠΎΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Π½ΠΎΠΉ строки, Ρ‡Ρ‚ΠΎ позволяСт ΠΈΠ½Ρ‚Π΅Π³Ρ€ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ Π΅Π³ΠΎ Π² ΠΏΡ€ΠΈΠ²Ρ‹Ρ‡Π½Ρ‹Π΅ Ρ€Π°Π±ΠΎΡ‡ΠΈΠ΅ процСссы bash.
  • Π Π°Π±ΠΎΡ‚Π° с изобраТСниями (Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€, ΡΠΊΡ€ΠΈΠ½ΡˆΠΎΡ‚Ρ‹ ΠΈ ΠΌΠ°ΠΊΠ΅Ρ‚Ρ‹) ΡƒΠ»ΡƒΡ‡ΡˆΠ°Π΅Ρ‚ ΠΈΡ‚Π΅Ρ€Π°Ρ†ΠΈΠΈ ΠΈ взаимодСйствиС с Claude Code, позволяя ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Π²ΠΈΠ·ΡƒΠ°Π»ΡŒΠ½ΡƒΡŽ ΠΎΠ±Ρ€Π°Ρ‚Π½ΡƒΡŽ связь.
  • MCP (Modular Chat Protocol) сСрвСры ΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ‚Ρ‹ Ρ€Π°ΡΡˆΠΈΡ€ΡΡŽΡ‚ возмоТности Claude Code, позволяя ΠΈΠ½Ρ‚Π΅Π³Ρ€ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒΡΡ с Π±Π°Π·Π°ΠΌΠΈ Π΄Π°Π½Π½Ρ‹Ρ…, API ΠΈ внСшними рСсурсами.
  • Π€Π°ΠΉΠ» claude.md слуТит ΠΊΠ°ΠΊ постоянный шаблон-подсказка, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ Π·Π°Π΄Π°Ρ‘Ρ‚ контСкст ΠΈ стандарты ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°, Π·Π½Π°Ρ‡ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ ΡƒΠ»ΡƒΡ‡ΡˆΠ°Ρ качСство Π³Π΅Π½Π΅Ρ€Π°Ρ†ΠΈΠΈ ΠΊΠΎΠ΄Π°.
  • ИспользованиС slash-ΠΊΠΎΠΌΠ°Π½Π΄ позволяСт ΡΠΎΠ·Π΄Π°Π²Π°Ρ‚ΡŒ ΡˆΠ°Π±Π»ΠΎΠ½Ρ‹ запросов с ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Π°ΠΌΠΈ, Ρ‡Ρ‚ΠΎ ускоряСт Π²Ρ‹ΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ Ρ‚ΠΈΠΏΠΎΠ²Ρ‹Ρ… Π·Π°Π΄Π°Ρ‡.
  • Π’Π°ΠΆΠ½Π° активная Ρ€Π°Π±ΠΎΡ‚Π° с контСкстом сСссии: своСврСмСнноС ΠΏΡ€Π΅Ρ€Ρ‹Π²Π°Π½ΠΈΠ΅, ΠΎΡ‚ΠΊΠ°Ρ‚ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ ΠΈ ΡƒΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΠ΅ историСй для ΠΏΠΎΠ²Ρ‹ΡˆΠ΅Π½ΠΈΡ эффСктивности ΠΈ прСдотвращСния ошибок.
  • Π˜Π½Ρ‚Π΅Π³Ρ€Π°Ρ†ΠΈΡ с систСмами контроля вСрсий (Git) ΠΈ GitHub CLI являСтся ΠΎΠ±ΡΠ·Π°Ρ‚Π΅Π»ΡŒΠ½ΠΎΠΉ для бСзопасного ΠΈ управляСмого развития ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ².
  • ΠœΠΎΠ½ΠΈΡ‚ΠΎΡ€ΠΈΠ½Π³ использования Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ² ΠΈ Π·Π°Ρ‚Ρ€Π°Ρ‚ β€” ΠΊΠ»ΡŽΡ‡Π΅Π²ΠΎΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ‚ ΠΏΡ€ΠΈ Ρ€Π°Π±ΠΎΡ‚Π΅ с Claude Code, с Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒΡŽ Ρ€Π°ΡΡˆΠΈΡ€Π΅Π½Π½ΠΎΠ³ΠΎ отслСТивания Ρ‡Π΅Ρ€Π΅Π· open telemetry ΠΈ сторонниС сСрвисы.
  • ΠŸΡ€ΠΈ Ρ€Π°Π±ΠΎΡ‚Π΅ с Claude Code рСкомСндуСтся ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Π±ΠΎΠ»Π΅Π΅ ΠΌΠΎΡ‰Π½Ρ‹Π΅ Ρ‚Π°Ρ€ΠΈΡ„Π½Ρ‹Π΅ ΠΏΠ»Π°Π½Ρ‹ (Claude Max), Ρ‡Ρ‚ΠΎΠ±Ρ‹ ΡΠ½ΠΈΠ·ΠΈΡ‚ΡŒ Π·Π°Ρ‚Ρ€Π°Ρ‚Ρ‹ ΠΈ ΠΏΠΎΠ²Ρ‹ΡΠΈΡ‚ΡŒ ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ.

ΠŸΡ€Π°ΠΊΡ‚ΠΈΡ‡Π΅ΡΠΊΠΈΠ΅ стратСгии

  • Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Claude Code Π² ΠΊΠΎΠΌΠ°Π½Π΄Π½ΠΎΠΉ строкС с ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Π°ΠΌΠΈ для запуска Π² headless Ρ€Π΅ΠΆΠΈΠΌΠ΅, ΠΏΠ΅Ρ€Π΅Π΄Π°Ρ‡ΠΈ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚ΠΎΠ² ΠΈ ΠΏΠ°ΠΉΠΏΠΈΠ½Π³Π° Π΄Π°Π½Π½Ρ‹Ρ….
  • Π’ΡΡ‚Π°Π²Π»ΡΡ‚ΡŒ изобраТСния (ΠΌΠ°ΠΊΠ΅Ρ‚Ρ‹, ΡΠΊΡ€ΠΈΠ½ΡˆΠΎΡ‚Ρ‹) Π½Π°ΠΏΡ€ΡΠΌΡƒΡŽ Π² Ρ‚Π΅Ρ€ΠΌΠΈΠ½Π°Π» для Π²ΠΈΠ·ΡƒΠ°Π»ΡŒΠ½ΠΎΠΉ ΠΎΠ±Ρ€Π°Ρ‚Π½ΠΎΠΉ связи ΠΈ ΠΈΡ‚Π΅Ρ€Π°Ρ‚ΠΈΠ²Π½ΠΎΠΉ Π΄ΠΎΡ€Π°Π±ΠΎΡ‚ΠΊΠΈ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ².
  • ΠΠ°ΡΡ‚Ρ€ΠΎΠΈΡ‚ΡŒ Puppeteer MCP сСрвСр для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚ΠΈΠ·Π°Ρ†ΠΈΠΈ снятия ΡΠΊΡ€ΠΈΠ½ΡˆΠΎΡ‚ΠΎΠ² ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΈ ΠΏΠΎΠ΄Π°Ρ‡ΠΈ ΠΈΡ… Π² Claude Code.
  • Π‘ΠΎΠ·Π΄Π°Π²Π°Ρ‚ΡŒ ΠΈ рСгулярно ΠΎΠ±Π½ΠΎΠ²Π»ΡΡ‚ΡŒ Ρ„Π°ΠΉΠ» claude.md с инструкциями ΠΏΠΎ ΡΡ‚ΠΈΠ»ΡŽ, Ρ‚Π΅ΡΡ‚ΠΈΡ€ΠΎΠ²Π°Π½ΠΈΡŽ, стандартам ΠΈ ΠΏΡ€ΠΎΡ‡Π΅ΠΉ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π½ΠΎΠΉ ΠΈΠ½Ρ„ΠΎΡ€ΠΌΠ°Ρ†ΠΈΠ΅ΠΉ.
  • Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ ΠΊΠΎΠΌΠ°Π½Π΄Ρƒ /init для автоматичСского создания claude.md Π½Π° основС структуры ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°.
  • ΠžΠΏΡ€Π΅Π΄Π΅Π»ΡΡ‚ΡŒ slash-ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ Π² ΠΏΠ°ΠΏΠΊΠ΅ cloud/commands для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚ΠΈΠ·Π°Ρ†ΠΈΠΈ ΠΏΠΎΠ²Ρ‚ΠΎΡ€ΡΡŽΡ‰ΠΈΡ…ΡΡ Π·Π°Π΄Π°Ρ‡ (Ρ€Π΅Ρ„Π°ΠΊΡ‚ΠΎΡ€ΠΈΠ½Π³, Π»ΠΈΠ½Ρ‚ΠΈΠ½Π³, Ρ€Π΅Π²ΡŒΡŽ PR).
  • Часто ΠΏΡ€Π΅Ρ€Ρ‹Π²Π°Ρ‚ΡŒ Ρ€Π°Π±ΠΎΡ‚Ρƒ Claude клавишСй Escape ΠΏΡ€ΠΈ ΡƒΡ…ΠΎΠ΄Π΅ Π² Π½Π΅Π²Π΅Ρ€Π½ΠΎΠΌ Π½Π°ΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΠΈ ΠΈ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ ΠΊΠΎΠΌΠ°Π½Π΄Ρƒ undo для Π²ΠΎΠ·Π²Ρ€Π°Ρ‚Π° ΠΊ ΠΏΡ€Π΅Π΄Ρ‹Π΄ΡƒΡ‰Π΅ΠΌΡƒ ΡΠΎΡΡ‚ΠΎΡΠ½ΠΈΡŽ.
  • Π˜Π½Ρ‚Π΅Π³Ρ€ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ Claude Code с git: Π΄Π΅Π»Π°Ρ‚ΡŒ ΠΊΠΎΠΌΠΌΠΈΡ‚Ρ‹ послС ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΡ€ΡƒΠΏΠ½ΠΎΠ³ΠΎ измСнСния, ΠΏΠΎΡ€ΡƒΡ‡Π°Ρ‚ΡŒ Claude ΠΏΠΈΡΠ°Ρ‚ΡŒ сообщСния ΠΊ ΠΊΠΎΠΌΠΌΠΈΡ‚Π°ΠΌ.
  • Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ GitHub CLI для взаимодСйствия с рСпозиториями, Π²ΠΊΠ»ΡŽΡ‡Π°Ρ созданиС ΠΈ Ρ€Π΅Π²ΡŒΡŽ ΠΏΡƒΠ»Π»-рСквСстов.
  • Активно ΡƒΠΏΡ€Π°Π²Π»ΡΡ‚ΡŒ контСкстом сСссии: ΠΊΠΎΠ½Ρ‚Ρ€ΠΎΠ»ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ Π°Π²Ρ‚ΠΎ-ΠΊΠΎΠΌΠΏΠ°ΠΊΡ‚ΠΈΠ·Π°Ρ†ΠΈΡŽ, Π²Ρ‹ΠΏΠΎΠ»Π½ΡΡ‚ΡŒ ΠΊΠΎΠΌΠΏΠ°ΠΊΡ‚ΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅ Π² Π½Π°Ρ‚ΡƒΡ€Π°Π»ΡŒΠ½Ρ‹Ρ… Ρ‚ΠΎΡ‡ΠΊΠ°Ρ… Π·Π°Π²Π΅Ρ€ΡˆΠ΅Π½ΠΈΡ Π·Π°Π΄Π°Ρ‡, ΠΎΡ‡ΠΈΡ‰Π°Ρ‚ΡŒ сСссию ΠΏΡ€ΠΈ нСобходимости.
  • ΠŸΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒΡΡ scratchpads ΠΈ GitHub issues ΠΊΠ°ΠΊ внСшнСй ΠΏΠ°ΠΌΡΡ‚ΡŒΡŽ для планирования ΠΈ управлСния Π·Π°Π΄Π°Ρ‡Π°ΠΌΠΈ.
  • ΠžΡ‚ΡΠ»Π΅ΠΆΠΈΠ²Π°Ρ‚ΡŒ расходы Π½Π° использованиС Claude Code, ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΡ open telemetry ΠΈ сторонниС Π΄Π°ΡˆΠ±ΠΎΡ€Π΄Ρ‹ (Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€, Data Dog).
  • ΠŸΡ€ΠΈ нСобходимости ΠΏΠΎΠΊΡƒΠΏΠ°Ρ‚ΡŒ Ρ‚Π°Ρ€ΠΈΡ„ Claude Max для ΠΎΠΏΡ‚ΠΈΠΌΠΈΠ·Π°Ρ†ΠΈΠΈ стоимости ΠΈ доступа ΠΊ Π±ΠΎΠ»ΡŒΡˆΠ΅ΠΌΡƒ количСству Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ².

ΠšΠΎΠ½ΠΊΡ€Π΅Ρ‚Π½Ρ‹Π΅ Π΄Π΅Ρ‚Π°Π»ΠΈ ΠΈ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Ρ‹

  • На macOS ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΡ‚Π°Π²ΠΈΡ‚ΡŒ Π² Claude Code Ρ‡Π΅Ρ€Π΅Π· Control + V (Π½Π΅ Command + V).
  • Для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚ΠΈΠ·Π°Ρ†ΠΈΠΈ ΡΠΊΡ€ΠΈΠ½ΡˆΠΎΡ‚ΠΎΠ² ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ Puppeteer MCP сСрвСр, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ локально запускаСтся ΠΈ сохраняСт ΡΠΊΡ€ΠΈΠ½ΡˆΠΎΡ‚Ρ‹ ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΉ.
  • ΠŸΡ€ΠΈΠΌΠ΅Ρ€ использования fetch URL: Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΈΠ³Ρ€Ρ‹ Bluey Uno Π½Π° основС ΠΏΡ€Π°Π²ΠΈΠ» с сайта unorules.com, Ρ‡Ρ‚ΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΠΈΠ»ΠΎ Claude Code Ρ‚ΠΎΡ‡Π½ΠΎ Ρ€Π΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Ρ‚ΡŒ ΠΈΠ³Ρ€ΠΎΠ²ΡƒΡŽ Π»ΠΎΠ³ΠΈΠΊΡƒ.
  • Команда /init создаСт claude.md послС Π°Π½Π°Π»ΠΈΠ·Π° структуры Ρ‚Π΅ΠΊΡƒΡ‰Π΅ΠΉ Π΄ΠΈΡ€Π΅ΠΊΡ‚ΠΎΡ€ΠΈΠΈ.
  • Π‘Ρ‚ΠΎΠΈΠΌΠΎΡΡ‚ΡŒ Ρ‚Π°Ρ€ΠΈΡ„ΠΎΠ² Claude Max: $100 ΠΈ $200; Π°Π²Ρ‚ΠΎΡ€ Π²ΠΈΠ΄Π΅ΠΎ ΠΏΠΎΡ‚Ρ€Π°Ρ‚ΠΈΠ» ΠΎΠΊΠΎΠ»ΠΎ $150 Π½Π° Ρ‚ΠΎΠΊΠ΅Π½Ρ‹ Π·Π° 3 дня.
  • Π˜Π½ΡΡ‚Ρ€ΡƒΠΌΠ΅Π½Ρ‚ Anthropic prompt optimizer ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ‚ ΠΎΠΏΡ‚ΠΈΠΌΠΈΠ·ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ Ρ„Π°ΠΉΠ» claude.md для Π»ΡƒΡ‡ΡˆΠ΅ΠΉ Ρ€Π°Π±ΠΎΡ‚Ρ‹ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ.
  • Для ΠΈΠ½Ρ‚Π΅Π³Ρ€Π°Ρ†ΠΈΠΈ с GitHub ΠΌΠΎΠΆΠ½ΠΎ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ GitHub MCP сСрвСр ΠΈΠ»ΠΈ GitHub CLI.

ΠŸΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΡ ΠΈ распространённыС ошибки

  • НС стоит ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡ‚ΡŒ Claude Code Π΄Π΅Π»Π°Ρ‚ΡŒ слишком Π°ΠΌΠ±ΠΈΡ†ΠΈΠΎΠ·Π½Ρ‹Π΅ измСнСния Π±Π΅Π· контроля β€” это ΠΌΠΎΠΆΠ΅Ρ‚ привСсти ΠΊ ΠΏΠΎΠ»ΠΎΠΌΠΊΠ°ΠΌ ΠΈ слоТностям с ΠΎΡ‚ΠΊΠ°Ρ‚ΠΎΠΌ.
  • Π˜Π·Π±Π΅Π³Π°ΠΉΡ‚Π΅ пСрСполнСния claude.md ΠΈΠ·Π±Ρ‹Ρ‚ΠΎΡ‡Π½ΠΎΠΉ ΠΈ Π΄ΡƒΠ±Π»ΠΈΡ€ΡƒΡŽΡ‰Π΅ΠΉ ΠΈΠ½Ρ„ΠΎΡ€ΠΌΠ°Ρ†ΠΈΠ΅ΠΉ β€” это ΡƒΡ…ΡƒΠ΄ΡˆΠ°Π΅Ρ‚ качСство Π³Π΅Π½Π΅Ρ€Π°Ρ†ΠΈΠΈ.
  • НС ΠΈΠ³Π½ΠΎΡ€ΠΈΡ€ΡƒΠΉΡ‚Π΅ Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎΡΡ‚ΡŒ часто ΠΎΡ‚ΠΊΠ°Ρ‚Ρ‹Π²Π°Ρ‚ΡŒ измСнСния ΠΈ ΠΎΡ‡ΠΈΡ‰Π°Ρ‚ΡŒ ΠΈΡΡ‚ΠΎΡ€ΠΈΡŽ, Ρ‡Ρ‚ΠΎΠ±Ρ‹ ΠΈΠ·Π±Π΅ΠΆΠ°Ρ‚ΡŒ накоплСния ошибок.
  • НС Π±ΠΎΠΉΡ‚Π΅ΡΡŒ ΠΏΡ€Π΅Ρ€Ρ‹Π²Π°Ρ‚ΡŒ Claude сразу, ΠΊΠ°ΠΊ Ρ‚ΠΎΠ»ΡŒΠΊΠΎ Π²ΠΈΠ΄ΠΈΡ‚Π΅, Ρ‡Ρ‚ΠΎ ΠΎΠ½ ΡƒΡ…ΠΎΠ΄ΠΈΡ‚ Π² Π½Π΅ΠΏΡ€Π°Π²ΠΈΠ»ΡŒΠ½ΠΎΠΌ Π½Π°ΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΠΈ.
  • ΠšΠΎΠ½Ρ‚Ρ€ΠΎΠ»ΠΈΡ€ΡƒΠΉΡ‚Π΅ использованиС Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ², ΠΈΠ½Π°Ρ‡Π΅ расходы ΠΌΠΎΠ³ΡƒΡ‚ Ρ€Π΅Π·ΠΊΠΎ возрасти.
  • НС ΠΈΠ³Π½ΠΎΡ€ΠΈΡ€ΡƒΠΉΡ‚Π΅ ΠΈΠ½Ρ‚Π΅Π³Ρ€Π°Ρ†ΠΈΡŽ с систСмой контроля вСрсий β€” это основной способ ΠΈΠ·Π±Π΅ΠΆΠ°Ρ‚ΡŒ ΠΏΠΎΡ‚Π΅Ρ€ΠΈ Ρ€Π°Π±ΠΎΡ‚Ρ‹ ΠΈ ΡƒΠΏΡ€Π°Π²Π»ΡΡ‚ΡŒ измСнСниями.
  • НС ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠΉΡ‚Π΅ Command + V для вставки ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠΉ Π½Π° macOS β€” Π½ΡƒΠΆΠ½ΠΎ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Control + V.

РСсурсы ΠΈ дальнСйшиС шаги

  • ΠŸΠΎΡΡ‚ Бориса Π§Ρ‘Ρ€Π½ΠΈ (Boris Churnney) β€” ΠΎΡ€ΠΈΠ³ΠΈΠ½Π°Π»ΡŒΠ½Ρ‹ΠΉ источник ΠΏΡ€ΠΎ Claude Code pro tips (ссылка Π² описании Π²ΠΈΠ΄Π΅ΠΎ).
  • Π˜Π½ΡΡ‚Ρ€ΡƒΠΌΠ΅Π½Ρ‚ Anthropic prompt optimizer для ΠΎΠΏΡ‚ΠΈΠΌΠΈΠ·Π°Ρ†ΠΈΠΈ claude.md.
  • Puppeteer MCP сСрвСр β€” для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚ΠΈΠ·Π°Ρ†ΠΈΠΈ ΡΠΊΡ€ΠΈΠ½ΡˆΠΎΡ‚ΠΎΠ² (установка ΠΈ настройка).
  • GitHub CLI β€” для ΠΈΠ½Ρ‚Π΅Π³Ρ€Π°Ρ†ΠΈΠΈ с рСпозиториями GitHub.
  • Π˜Π½ΡΡ‚Ρ€ΡƒΠΌΠ΅Π½Ρ‚Ρ‹ open telemetry, Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€ Data Dog, для ΠΌΠΎΠ½ΠΈΡ‚ΠΎΡ€ΠΈΠ½Π³Π° Π·Π°Ρ‚Ρ€Π°Ρ‚.
  • Π‘Π»Π΅Π΄ΡƒΡŽΡ‰ΠΈΠΉ шаг β€” ΡΠΎΠ·Π΄Π°Ρ‚ΡŒ ΠΈ рСгулярно ΠΎΠ±Π½ΠΎΠ²Π»ΡΡ‚ΡŒ claude.md для своих ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ².
  • Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ slash-ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ для ускорСния Ρ€Π°Π±ΠΎΡ‡ΠΈΡ… процСссов.
  • Π˜Π·ΡƒΡ‡ΠΈΡ‚ΡŒ возмоТности MCP сСрвСров для Ρ€Π°ΡΡˆΠΈΡ€Π΅Π½ΠΈΡ ΠΈΠ½Ρ‚Π΅Π³Ρ€Π°Ρ†ΠΈΠΉ.

ΠžΡΠ½ΠΎΠ²Π½Ρ‹Π΅ Ρ‚Π΅ΠΌΡ‹

  • ΠžΠ±Π·ΠΎΡ€ возмоТностСй Claude Code ΠΊΠ°ΠΊ CLI-инструмСнта для Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠΈ
  • Π Π°Π±ΠΎΡ‚Π° с изобраТСниями ΠΈ Π²ΠΈΠ·ΡƒΠ°Π»ΡŒΠ½Π°Ρ итСрация ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ²
  • ИспользованиС MCP сСрвСров ΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ‚ΠΎΠ² для Ρ€Π°ΡΡˆΠΈΡ€Π΅Π½ΠΈΡ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΎΠ½Π°Π»Π°
  • Π£ΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΠ΅ контСкстом ΠΈ оптимизация claude.md
  • Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΠΈ ΠΏΡ€ΠΈΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ slash-ΠΊΠΎΠΌΠ°Π½Π΄
  • Π˜Π½Ρ‚Π΅Π³Ρ€Π°Ρ†ΠΈΡ с Git ΠΈ GitHub для контроля вСрсий ΠΈ Ρ€Π΅Π²ΡŒΡŽ
  • Π‘Ρ‚Ρ€Π°Ρ‚Π΅Π³ΠΈΠΈ управлСния сСссиями ΠΈ контСкстом для ΠΏΠΎΠ²Ρ‹ΡˆΠ΅Π½ΠΈΡ качСства
  • ΠœΠΎΠ½ΠΈΡ‚ΠΎΡ€ΠΈΠ½Π³ Π·Π°Ρ‚Ρ€Π°Ρ‚ ΠΈ Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°Ρ†ΠΈΠΈ ΠΏΠΎ Ρ‚Π°Ρ€ΠΈΡ„Π°ΠΌ Claude Max
  • ΠŸΡ€Π°ΠΊΡ‚ΠΈΡ‡Π΅ΡΠΊΠΈΠ΅ совСты ΠΏΠΎ Ρ€Π°Π±ΠΎΡ‚Π΅ с интСрфСйсом ΠΈ ΠΊΠΎΠΌΠ°Π½Π΄Π°ΠΌΠΈ
  • ΠŸΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΡ ΠΎ Ρ‚ΠΈΠΏΠΈΡ‡Π½Ρ‹Ρ… ΠΎΡˆΠΈΠ±ΠΊΠ°Ρ… ΠΈ способах ΠΈΡ… ΠΈΠ·Π±Π΅ΠΆΠ°Ρ‚ΡŒ

πŸ“ Transcript Chapters (12 chapters):

πŸ“ Transcript (229 entries):

Hey, my name is Greg. I'm a developer and over the last few months, Claude Code has become my default way of writing code. And so in this video, I want to walk you through some Claude Code pro tips. These pro tips are primarily based on this post written by Boris Churnney, who's the creator of Claude Code at Enthropic. And we're going to go through these uh pro tips pretty quickly. First tip, cla code is a CLI. So all the things that you're used to doing with other bashbased CLIs, you can probably do with cloud code. For instance, you can pass in command line arguments which will be run on startup. You can use -p to run it in headless mode. You can chain it with other command line tools. You can pipe data into it. You can run multiple instances of it at once. You can actually have cloud code launch instances of claude code. In fact, anytime you ask it to spin up a sub agent or anytime you see task, that's exactly what clog code is doing. Next category, images. You can use an image simply by dragging it in to the terminal on OSX. You can use shift command control 4 to copy the screenshot and then use controlV to paste it into claude. That's controlV, not commandV like you're used to. There's two ways that you might find yourself using images a lot. The first is mockups. You can design a mockup, paste the mockup into Claude, and then ask it to build that interface. Second, you can use images to close the feedback loop with Claude. Ask it to build something, open up what it built, and then take a screenshot, feed that back into Claude, and it's pretty good at iterating when you're giving it feedback. Now, that's a manual process for taking images. You can also automate the screenshotting by using the Puppeteer MCP server, which is pretty easy to set up and run locally. Then you can ask Claude to use Puppeteer to go open up the app, take a screenshot of it, and it can save those screenshots to your local directory. Speaking of MCP service, Cloud Code can function as both an MCP server and an MCP client. So that means that you can actually turn clogged code into an MCP server that can then be used by other agents. There's a whole bunch of MCP servers that you could use. It would be a whole video on its own just to go through some of the most popular ones. So we'll just hit a couple. For instance, you might find it useful to use the Postgres server to hook up Cloud Code directly to your database. You can use MCP servers that are effectively wrappers around APIs. Other dev tool companies like Cloudflare are using their MCP servers to provide up-to-date documentation to Claude. Not all dev tool companies are making their docs available via MCP just yet. So if you just paste in a link, Claude code can fetch that URL and then use those docs to build against. You might also want to use fetch URLs to retrieve knowledge from the world that you use in your app. For instance, I built a game for my four-year-old daughter that was uh Bluey Uno. Instead of trying to describe the rules myself or relying on the training data for Uno rules, I pasted in unorules.com and had Claude code the gaming logic based on what it read there. Next category, claude.mmd. This is actually the first pro tip that's mentioned in Boris's post. A claw.md is a prompt that is loaded with every request that you make to claude code. This might include instructions for your project such as common bash commands to use, style guidelines, linting guidelines, how to run your tests, repository etiquette. If you type /init after you launch claude in a directory, it will create this claude. MD file for you after scanning the directory and summarizing its structure. If as you're coding you want to add instructions to the cloud.MD, you can use the hash sign. You can also set a global cloud. MD in your home directory/cloud. This will be loaded anytime that you're using cloud code across any project. You can also add a cloud.md file in subdirectories. You should also refactor your cla.md files often. So, it's common for them to grow in complexity as you continue to work on a project. But remember that this is a prompt that is being loaded on every turn of conversation with clawed code. And these models do much better the more specific you are. So, you don't want this to be crammed with a bunch of duplicative extraneous information. You can use Anthropic's prompt optimizer tool to help you write better cla.md files. Slash commands. You can define these in thecloud/comands folder, and they're just prompts. So, for instance, here's one mentioned in Boris's post about solving GitHub issues. You might write a slash command for refactoring. You might write a slash command for linting. You might write a slash command for reviewing a PR. slash commands are prompt templates. So you can pass command line arguments when you run the slash command that will then be interpolated into the prompt template. Couple of UI tips. One, you can use tab to complete files and directories. Cloud code does better the more specific you are. So if you can actually let it know what files or what directories to work with, you'll generally get better results. Hit escape often. I know that I when I started was hesitant to interrupt Claude when I saw it going off path, but you will find your sessions go so much better if you just stop Claude as soon as you see it go in the wrong direction. You can hit escape and ask it to undo its work from the previous turn. And that will help you go back as well. Speaking of undoing Claude's work, I think the biggest failure mode here when working with Cloud Code is you use it to build a project. You get that project to a place where it's working really well, and then it gets overly ambitious, does a bit too much, makes breaking changes, and then you have a hard time rolling them back. And the easiest way to mitigate this failure state is to use Cloud Code in conjunction with version control. Ask Cloud Code to commit after every major change. Have Claude Code write your commit messages. there's a good chance they'll be the best commit messages that have ever been submitted to a repository that you own. When working with Claude code, revert more often than what you're used to. Often times, the best way to fix things is just to clear out the conversation history in Claude, revert back to a previous save point, and try again with slightly more specific instructions. Install the GitHub CLI, and it will use this for all of its interactions with GitHub. If for some reason you don't want to install this tool, you can also interact with GitHub via the GitHub MCP server. You can have Cloud Code file PRs for you. You can have Claude Code do code reviews on those PRs. Managing context can certainly be a bit of a challenge when working with Claude Code. You want to always keep an eye on the auto compacting indicator. You always want to know about how long you have until Claude autoco compacts. prematurely compact when you're at natural break points. So if you see you're 35% of the way to autoco compacting and you just finished up a task, you just made a commit, you might just want to go ahead compact right there and start the next task with all of the tokens available to you. Also consider often clearing instead of compacting. Work in such a way that you can use claude code with fresh memory. One way to do this is to tell Claude to use scratchpads to plan its work. Alternative to Scratchpads, you can use GitHub issues. If you are paying per token, then you're going to really want to monitor that uh context window usage and you're going to want to use external memory as much as possible. If you're looking for more robust cost tracking across a team, for instance, one way to achieve that is by using Cloud Code's open telemetry support. So, for instance, you could hook up Claude Code to Data Dog and produce dashboards that look like this. And for more details on this, you should check out Martin AMP's blog post, which is linked in the description. But in my opinion, the best way to manage your cost is just to upgrade to one of those Claude Max plans at either $100 or $200. I'm on the $100 plan. I spent about $150 worth of Claude Code tokens over the course of about 3 days. If there's a common complaint of Claude Code, it is it's very expensive. So, I was very excited to see Claude Code use bundled in with Claude Max. I don't even know if I got through half of the pro tips that are included in this post. If you want to learn more, uh, check out this excellent post here by Boris and check out some of the other links that I left below in the description.