Bob Martin, author of Clean Code, has published a set of rules that guide his own AI agents when...
Bob Martin, author of Clean Code, has published a set of rules that guide his own AI agents when writing code. Key points: - A test that only hides a failure without eliminating its cause cannot be considered a correction. - If the test continues...
- 01.Bob Martin, author of Clean Code, has published a set of rules that guide his own AI agents when writing code
- 02.Key points: - A test that only hides a failure without eliminating its cause cannot be considered a correction
- 03.- If the test continues...
Боб Мартин, автор книги "Чистый код", опубликовал свод правил, которыми руководствуются его собственные ИИ-агенты при написании кода. Основные положения: - Проверка, которая лишь скрывает сбой, не устраняя его причину, не может считаться исправлением. - Если тест продолжает успешно проходить даже в том случае, когда все функции ничего не возвращают, от такого теста следует отказаться. - Изменения в коде должны быть минимальными, но достаточными для решения поставленной задачи. - Прежде чем приступать к изменению кода, необходимо написать тест, выявляющий существующую ошибку. Установив этот скилл, вы сможете предотвратить сокрытие ошибок ИИ-агентами и избежать ситуаций, когда успешно пройденные тесты создают ложное впечатление об исправности кода. Промпт для установки: Установи скилл ub-mode из репозитория unclebob/ub-mode на GitHub в мою папку skills и используй команду /ub-mode при следующем изменении кода. Если crapper, dryer или mutator не установлены, пропусти соответствующие шаги. https://github.com/unclebob/ub-mode
Related Intelligence
All stories →I just started a complex project, and every time I ask Claude Code to tweak a function, it…
I just started a complex project, and every time I ask Claude Code to tweak a function, it has to re-parse almost the entire codebase. By mid-conversation the context overflows, and the project structure must be explained again. The command…
AI has learned to speak almost like a human: the company founded by Twitter's creator unveils Dessa
🎙️ AI has learned to speak almost like a human: the company founded by Twitter's creator unveils Dessa. Block, co‑founded by Jack Dorsey, has introduced the voice AI model Dessa. Developers claim it can hold such a natural conversation that it…
Apple unveils new iPad mini with OLED display and A20 Pro chip
Apple has introduced a new generation of the iPad mini tablet. The device features an 8.5-inch OLED display, an A20 Pro processor, and IP67 water and dust resistance. According to the manufacturer, the new model handles AI tasks better than its predecessor…