НачатьНачать бесплатно

Put the file on a diet

The CLAUDE.md in your queries project has been growing for months. Every time Claude did something annoying, someone added a rule, and nobody ever deleted one. Ten rules now shout for attention, most of them too vague to check, and Claude follows fewer of them than it did when the file was short.

Time to treat it like production code. You won't edit it by hand: describe the standard you want and let Claude do the rewrite.

Это упражнение является частью курса

Claude Code in Action

Посмотреть курс

Инструкции к упражнению

  • Start Claude Code with claude.
  • Ask Claude to rewrite CLAUDE.md so every rule is specific and checkable, and every ban names its replacement.
  • In the same request, tell Claude to keep emphasis on at most two rules and to delete the "never push to main" rule, which a hook will enforce in a later lesson.
  • Type /exit to exit Claude Code.

Практическое интерактивное упражнение

Превратите теорию в практику с помощью одного из наших интерактивных упражнений

Начать упражнение