<command-message>init</command-message> <command-name>/init</command-name>
- User
init /init
- User
Please analyze this codebase and create a CLAUDE.md file, which will be given to future instances of Claude Code to operate in this repository.
What to add:
- Commands that will be commonly used, such as how to build, lint, and run tests. Include the necessary commands to develop in this codebase, such as how to run a single test.
- High-level code architecture and structure so that future instances can be productive more quickly. Focus on the "big picture" architecture that requires reading multiple files to understand.
Usage notes:
- If there's already a CLAUDE.md, suggest improvements to it.
- When you make the initial CLAUDE.md, do not repeat yourself and do not include obvious instructions like "Provide helpful error messages to users", "Write unit tests for all new utilities", "Never include sensitive information (API keys, tokens) in code or commits".
- Avoid listing every component or file structure that can be easily discovered.
- Don't include generic development practices.
- If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include the important parts.
Assistant
Теперь у меня достаточно информации для создания CLAUDE.md. Создаю файл:
Assistant
Файл
CLAUDE.mdсоздан. Вот что в него включено:Команды:
- Сборка, запуск тестов (всех и отдельных), форматирование, проверка
Архитектура:
- Структура workspace с двумя крейтами (
rapiraиrapira-derive) - Методы трейта
Rapiraи их назначение - Три уровня безопасности десериализации (
from_slice→from_slice_unchecked→from_slice_unsafe) - Формат бинарных данных на проводе (little-endian, u32 для длин, поведение float/Duration и т.д.)
- Логика derive-макроса и все поддерживаемые атрибуты
- Назначение каждого модуля в
rapira/src/ - Константы защиты от DoS атак
- Список feature flags
- User
/exit exit
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.