소스 정보
- 저장소
- leroyguillaume/claude
- 최근 소스 활동
- 2026년 6월 7일 10:12
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/leroyguillaume/claude --skill frontend-conventions명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | frontend-conventions |
| description | Frontend project conventions (TypeScript, React, Biome, enforced |
Always:
.ts / .tsx
only. New UI is .tsx; non-UI modules are .ts.tsconfig.json must set "strict": true (this
turns on noImplicitAny, strictNullChecks, and the rest of the strict
family). Additionally enable noUncheckedIndexedAccess and
exactOptionalPropertyTypes. Treat tsc --noEmit as a blocking gate,
on the same footing as Biome — fix every type error before a change is
done. Wire tsc --noEmit into both .pre-commit-config.yaml and CI.biome check --write). It replaces both
ESLint and Prettier. Configure everything in biome.json (or
biome.jsonc). Enable the recommended rules and set
suspicious/noExplicitAny to error.biomejs/pre-commit) running
biome check, alongside the baseline hooks from CLAUDE.md.check-added-large-files
baseline hook. A committed package-lock.json (or pnpm-lock.yaml /
yarn.lock / bun.lockb) is legitimately large and must stay versioned,
so it should never trip the large-file check. Add an exclude to that hook
rather than raising --maxkb for everything:
- id: check-added-large-files
exclude: ^package-lock\.json$
Widen the pattern to match whichever lockfile(s) the repo uses.min-width breakpoints
(or the framework's sm: / md: / lg: responsive prefixes, which are
themselves min-width-based). The default, no-media-query rendering must
be the mobile layout.type / interface, never a
bare inline object shape threaded through the code. First reuse a type a
dependency already ships (an SDK's request/response model, a generated API
client, library prop types); only define your own when none exists. Derive
rather than duplicate (Pick, Omit, ReturnType, z.infer, …).localStorage) with a schema validator (e.g. zod) and infer the
TypeScript type from the schema, so the runtime shape and the static type
cannot drift.CLAUDE.md. Frontend
mechanics: use one structured logger module configured at app startup, log
key-values (logger.debug("fetch.done", { url, status })), and gate
verbosity by a log level read from the environment
(import.meta.env / process.env), never by interpolating values into the
message string.Never:
any type. Reach for unknown plus narrowing, a generic,
or a precise type instead. If any is genuinely unavoidable (an untyped
third-party module), isolate it behind a typed boundary and annotate the
single line with // biome-ignore lint/suspicious/noExplicitAny: <reason>
explaining why. Never use a blanket any to make a type error disappear.strict: false,
noImplicitAny: false, or sprinkle @ts-ignore / @ts-expect-error /
as casts to silence tsc. A cast or suppression needs a one-line comment
saying why the checker is wrong and why it is safe; prefer fixing the type..js / .jsx, and never ship plain
JavaScript modules for app logic. (Config files a tool requires in JS are
the only exception.).eslintrc* or
.prettierrc*. Biome owns formatting and linting; all config lives in
biome.json.max-width breakpoints layered
down from a desktop base, and no default layout that assumes a wide
viewport. Start at mobile and scale up.type/interface
and use it, deriving from an existing type where possible.console.log (or console.*) for diagnostics; route everything
through the configured structured logger.