Command Palette

Search for a command to run...

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

app-coding-standards

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

Provides coding standards for the Expensify App's React Native code, including performance patterns, consistency rules, and clean React architecture. Use when…

Expensifyот Expensify★ 5 115 звёзд на GitHub

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

Expensify App Coding Standards

Coding standards for the Expensify App. Each standard is a standalone file in rules/ with reasoning, examples, and applicability conditions.

How to Use

This index lists rule titles only. Before writing or editing code, read the full rule file for every category that applies to the files you touch: each file holds the rule's conditions, exceptions, and the fix it expects.

Before committing, stage everything with git add -A. Then start a general-purpose subagent that follows .claude/agents/code-inline-reviewer.md and reviews git diff --cached $(git merge-base origin/main HEAD). CI runs the same check.

Categories

Category Prefix Focus
Performance PERF-* Render optimization, memo patterns, useEffect hygiene, data selection
Consistency CONSISTENCY-* Platform checks, magic values, unused props, lint discipline, localization, file naming, JSDoc
Clean React Patterns CLEAN-REACT-PATTERNS-* Composition, component ownership, state structure, prop typing, function components
UI UI-* Loading indicators, scrollable pages, styling conventions
Privacy PRIVACY-* FullStory masking of sensitive data

Quick Reference

Performance

  • PERF-1 — No spread in renderItem
  • PERF-2 — Return early before expensive work
  • PERF-3 — Shared data in list rows comes from OnyxListItemProvider
  • PERF-5 — Shallow over deep comparisons
  • PERF-6 — Derive state from props
  • PERF-7 — Reset via key prop
  • PERF-8 — Handle events in handlers
  • PERF-9 — No useEffect chains
  • PERF-10 — No useEffect parent communication
  • PERF-11 — Optimize data selection
  • PERF-12 — Prevent memory leaks
  • PERF-13 — Hoist iterator-independent calls
  • PERF-14 — Use useSyncExternalStore
  • PERF-15 — Clean up async Effects
  • PERF-16 — Guard double initialization
  • PERF-17 — Pass raw source, index on demand (no pre-built digest)
  • PERF-18 — Use usePreMountDestination for RHP pre-mounting
  • PERF-19 — Collection selectors return only what the consumer uses
  • PERF-20 — Defer heavy work to happen after visual transitions
  • PERF-21 — List rows read their own Onyx data
  • PERF-22 — List rows subscribe to single collection members

Consistency

Полный SKILL.md на GitHub

Установить app-coding-standards в Claude Code и Claude Desktop

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

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

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

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

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

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

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

rules/clean-react-1-composition-over-config.mdrules/clean-react-2-own-behavior.mdrules/clean-react-3-context-free-contracts.mdrules/clean-react-4-no-side-effect-spaghetti.mdrules/clean-react-5-narrow-state.mdrules/clean-react-6-no-componentprops.mdrules/clean-react-7-no-inline-prop-types.mdrules/clean-react-8-no-class-components.mdrules/clean-react-9-no-proptypes.mdrules/consistency-1-no-platform-checks.mdrules/consistency-10-jsdoc.mdrules/consistency-11-no-todo-comments.mdrules/consistency-12-callback-named-for-action.mdrules/consistency-13-new-file-header.mdrules/consistency-14-comment-why.mdrules/consistency-15-plain-comment-style.mdrules/consistency-16-no-ai-jargon.mdrules/consistency-17-plural-form.mdrules/consistency-18-comment-non-obvious-code.mdrules/consistency-19-copy-grammar-and-case.mdrules/consistency-2-no-magic-values.mdrules/consistency-20-function-names.mdrules/consistency-21-sentry-label-type.mdrules/consistency-3-no-code-duplication.mdrules/consistency-4-no-unused-props.mdrules/consistency-5-justify-eslint-disable.mdrules/consistency-6-proper-error-handling.mdrules/consistency-7-localize-copy.mdrules/consistency-8-localize-numbers-dates.mdrules/consistency-9-file-naming.mdrules/onyx-1-no-render-reachable-onyx-read.mdrules/perf-1-no-spread-in-renderitem.mdrules/perf-10-no-useeffect-parent-comm.mdrules/perf-11-optimize-data-selection.mdrules/perf-12-prevent-memory-leaks.mdrules/perf-13-hoist-iterator-calls.mdrules/perf-14-use-sync-external-store.mdrules/perf-15-cleanup-async-effects.mdrules/perf-16-guard-double-init.mdrules/perf-17-pass-raw-index-on-demand.md

FAQ

Что делает скилл app-coding-standards?

Provides coding standards for the Expensify App's React Native code, including performance patterns, consistency rules, and clean React architecture. Use when writing, modifying, or reviewing App code.

Как установить скилл app-coding-standards?

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

Скилл app-coding-standards запускает скрипты?

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

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

Сравнить app-coding-standards с