principle-parse-at-the-boundary
БесплатноБез исполняемых скриптовНе проверенWHEN data enters from network, storage, configuration or plugins, or a validated value is relied on after suspension or mutation; NOT for choosing…
от mintuz★ 38 звёзд на GitHubОб этом скилле
Parse At The Boundary
Validate where trust changes; let established invariants simplify the interior.
- Trace every entry and mutation path: network, configuration, storage, plugins, unsafe construction, and shared state after suspension or re-entrancy. A type annotation or cast alone does not establish validity.
- Parse untrusted representations into domain values at that boundary and return useful errors there. Put each invariant at its owning boundary.
- Decide what each parser does with unknown fields and unknown enum values. When the producer can add members, ignore unknown fields and parse an unknown enum value into an explicit unknown case, so interior matching stays exhaustive. Treat an unknown permission, authorisation or lifecycle state as neither granted nor successful. When the input can set privileged fields, accept only listed fields and drop or reject the rest.
- Revalidate what can change after parsing. Parse or migrate persisted data written under older schemas; types cannot make stored invalid states valid retroactively. Re-establish invariants that mutation, callbacks or concurrent work can invalidate.
- Remove an internal check only when every construction and access path preserves its invariant. Keep legitimate runtime guards for states the contract permits, such as a documented absent or empty value.
Distinct from: principle-type-system-discipline (types permit invalid combinations; compile-time distinctions), principle-model-the-domain (choosing the states and transitions to parse into), principle-keep-the-core-pure (domain logic lands in an adapter), principle-hide-representations (a private shape crosses a module boundary).
Done: accepted, rejected and invalidated inputs have focused checks; each remaining guard protects a real boundary or changing invariant; stable immutable domain values are not re-parsed; an internal check was removed only when every construction and access path preserves its invariant, and legitimate runtime guards stay.
Установить principle-parse-at-the-boundary в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл principle-parse-at-the-boundary?
WHEN data enters from network, storage, configuration or plugins, or a validated value is relied on after suspension or mutation; NOT for choosing concurrent-writer ownership or re-checking proven stable internal values; parses where trust changes and revalidates invariants that can change.
Как установить скилл principle-parse-at-the-boundary?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл principle-parse-at-the-boundary запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic