Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

principle-keep-the-core-pure

БесплатноБез исполняемых скриптовНе проверен

WHEN domain logic lands in an adapter, handler, job or UI component; NOT for wiring that makes no domain decision; keeps decisions in pure functions behind…

mintuzот mintuz★ 38 звёзд на GitHub

Об этом скилле

Keep The Core Pure

Put domain decisions in pure functions; keep framework wiring thin and mechanical.

  1. Find each domain decision inside the adapter, request handler, job, view or component: the branch that applies a business rule, computes a result or chooses an outcome.
  2. Extract it into a pure function: explicit inputs in, a domain result out. Pass time, configuration and identifiers as arguments; read no clock, global, database or framework object inside it.
  3. Leave the shell to read input, call the function and perform effects with the result. Add new rules to the function, not to the shell. When several frameworks need the same rule, they share the function rather than copy it into each.
  4. Test the decision directly, without starting the framework, server, database or renderer.

Distinct from: principle-hide-representations (a private wire, storage or framework shape crosses a module boundary), principle-parse-at-the-boundary (untrusted data enters and needs validating), principle-minimize-reader-load (layers that own no decision make a path hard to trace).

Done: every domain rule touched is testable without the framework, and the wiring holds no domain branches.

Установить principle-keep-the-core-pure в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл principle-keep-the-core-pure?

WHEN domain logic lands in an adapter, handler, job or UI component; NOT for wiring that makes no domain decision; keeps decisions in pure functions behind thin framework wiring.

Как установить скилл principle-keep-the-core-pure?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл principle-keep-the-core-pure запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить principle-keep-the-core-pure с