Command Palette

Search for a command to run...

Назад к скиллам
скилл № 73472

narraitor-pattern-alignment-skill

Automatically run after any code change in this repo (components, stores, API routes, CSS, tests, types). Triggers on: new files, refactors, feature…

БесплатноБез исполняемых скриптов
jerseycheeseот jerseycheese★ 32 звезды на GitHub

Установить narraitor-pattern-alignment-skill в Claude Code и Claude Desktop

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

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

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

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

When to invoke (auto-trigger)

Invoke automatically whenever:

  • A .tsx, .ts, .css, or .test.* file under src/ is created or substantially edited
  • A new component, store, or API route is added
  • A refactor touches more than one file

Do NOT invoke for: documentation-only edits, config changes, or trivial one-line fixes.

Narraitor Pattern Alignment

Review workflow

  • Confirm the scope (files, feature, or diff) before reviewing.
  • Check for existing utilities or patterns before suggesting new code.
  • Evaluate the change against the core alignment areas below.
  • Report issues first (ordered by severity) with file:line and concrete fixes.

Core alignment areas

  • Components and structure (naming, file size, DOM clarity)
  • Design tokens and color usage (no hardcoded colors; use var(--color-*) directly, but wrap status/domain tokens like --success/--alignment-* in hsl(var(--...)) — see public_docs/design-system/design-tokens.md)
  • Error handling and user-friendly errors
  • State management and persistence patterns
  • Type safety and domain types
  • Testing (behavior-first, Testing Library queries)
  • Accessibility (WCAG 2.1 AA)
  • Domain boundaries and cross-domain coordination
  • Docs style (if docs touched)

Output format

  • Issues first, ordered by severity, with file:line references.
  • Call out missing tests explicitly.
  • Briefly list aligned patterns after issues.

References

  • references/patterns.md (detailed checks and examples)
  • references/accessibility.md
  • references/utilities.md

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

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

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

Вложенные файлы

  • references/accessibility.md
  • references/patterns.md
  • references/utilities.md

FAQ

Что делает скилл narraitor-pattern-alignment-skill?

Automatically run after any code change in this repo (components, stores, API routes, CSS, tests, types). Triggers on: new files, refactors, feature additions, or any edit touching src/. Reviews changes for alignment with established project patterns — design tokens, state conventions, error handling, domain boundaries, accessibility. Do NOT wait for user to ask; run as a post-edit check before committing.

Как установить скилл narraitor-pattern-alignment-skill?

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

Скилл narraitor-pattern-alignment-skill запускает скрипты?

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

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

Сравнить narraitor-pattern-alignment-skill с