Skip to content

ci(web): add frontend pre-push hook, code-reviewer agent, and git workflow#3

Merged
thxforall merged 1 commit into
mainfrom
chore/frontend-cicd-setup
Mar 23, 2026
Merged

ci(web): add frontend pre-push hook, code-reviewer agent, and git workflow#3
thxforall merged 1 commit into
mainfrom
chore/frontend-cicd-setup

Conversation

@thxforall
Copy link
Copy Markdown
Contributor

Summary

  • 프론트엔드 로컬 CI (pre-push hook) 구현 — ESLint, Prettier, TypeScript 체크
  • decoded 전용 code-reviewer 에이전트 추가 (.claude/agents/)
  • 팀 Git 워크플로우 문서 및 스킬 추가

Changes

  • packages/web/scripts/pre-push.sh — lint → format → tsc → build(opt-in) 4단계 체크
  • scripts/git-pre-push.sh — TODO 슬롯을 web pre-push 호출로 교체, SKIP_FE_CI 지원
  • packages/web/package.jsontypecheck 스크립트 추가
  • Justfileci-web 레시피 + hook에 web 스크립트 권한 추가
  • .claude/agents/code-reviewer.md — Fix-First 패턴 기반 코드 리뷰 에이전트
  • docs/GIT-WORKFLOW.md — 브랜치/커밋/PR 컨벤션 팀 문서
  • .claude/skills/git-workflow/SKILL.md — 워크플로우 가이드 스킬
  • CLAUDE.md — Frontend CI, Git Workflow 섹션 및 Key File Locations 업데이트

Test plan

  • bash packages/web/scripts/pre-push.sh 실행하여 체크 동작 확인
  • SKIP_FE_CI=1 bun run ci:local 로 스킵 동작 확인
  • just ci-web 레시피 동작 확인
  • just hook 으로 훅 재설치 확인

🤖 Generated with Claude Code

…kflow

- Add packages/web/scripts/pre-push.sh with ESLint, Prettier, tsc checks
- Fill in TODO slot in scripts/git-pre-push.sh to call web pre-push
- Add SKIP_FE_CI env var for skipping frontend CI on urgent pushes
- Add .claude/agents/code-reviewer.md (decoded-specific review checklist)
- Add .claude/skills/git-workflow/SKILL.md (convention guide skill)
- Add docs/GIT-WORKFLOW.md (team git workflow source of truth)
- Add typecheck script and ci-web Just recipe
- Update CLAUDE.md with frontend CI, git workflow sections

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant