frontend-logic-composition-workflow
컴포넌트 내부 로직, custom hook 추출, orchestration hook, 공통 hook 승격 기준을 판단하고 구현 self-check에 적용할 때 사용합니다.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
컴포넌트 내부 로직, custom hook 추출, orchestration hook, 공통 hook 승격 기준을 판단하고 구현 self-check에 적용할 때 사용합니다.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
endpoint 문서를 기준으로 API helper, TanStack Query hook, 타입, 에러/cache 동작을 구현할 때 사용합니다.
apps/client, apps/market-owner, apps/design-system-web, 선택적 apps/admin 내부의 앱 전용 shared 컴포넌트를 생성, 스펙 작성, export, 검증할 때 사용합니다.
GitHub 브라우저 PR 리뷰에서 visible diff, review comment, check status, local verification 여부를 분리해 기록할 때 사용합니다.
packages/design-system 공통 컴포넌트를 Figma/이미지/상태 요구사항 기반으로 생성, 구현, story/spec/export 검증할 때 사용합니다.
필드 검증, submit, mutation, error, disabled/loading/success 상태가 있는 프론트엔드 폼 흐름을 구현할 때 사용합니다.
프론트엔드 구현 또는 리뷰 중 Toss Frontend Fundamentals의 응집도 기준으로 함께 수정되는 component, hook, type, fixture, spec, form 흐름 배치를 점검할 때 사용합니다.
| name | frontend-logic-composition-workflow |
| description | 컴포넌트 내부 로직, custom hook 추출, orchestration hook, 공통 hook 승격 기준을 판단하고 구현 self-check에 적용할 때 사용합니다. |
컴포넌트 내부 로직과 custom hook 구조를 설계하거나 리팩터링할 때 책임, 응집도, 결합도, 예측 가능성을 기준으로 추출 단위를 결정합니다.
이 skill은 "컴포넌트를 얇게 만들기"가 아니라 "변경하기 쉬운 책임 구조 만들기"를 목표로 합니다.
리뷰 대상이 없으면 먼저 현재 변경 범위를 확인합니다.
git status --short
git diff --name-only
항상 읽습니다.
docs/code-quality/frontend-logic-composition.md필요하면 읽습니다.
docs/code-quality/frontend-fundamentals.mddocs/code-quality/frontend-readability.mddocs/code-quality/frontend-predictability.mddocs/code-quality/frontend-cohesion.mddocs/code-quality/frontend-coupling.mddocs/architecture/app-structure.mddocs/architecture/repo-structure.md## Logic Composition Check
- 대상:
- 현재 책임:
- 권장 배치:
- 추출 후보:
- orchestration 필요 여부:
- 공통 hook 승격 여부:
- 검증 포인트:
- 남은 tradeoff: