Thank you for your interest in contributing! This guide covers everything you need to get started.
- Fork & clone the repo:
git clone https://github.com/<your-fork>/claude-code-hooks.git
cd claude-code-hooks
npm install-
The repo is an npm workspaces monorepo. Packages live under
packages/. -
Use Node.js 18+.
# Install all workspace dependencies
npm install
# Run a command in a specific package
npm -w @claude-code-hooks/sound <command>
npm -w @claude-code-hooks/security <command>
npm -w @claude-code-hooks/secrets <command>
# Run tests across all packages
npm test
# Run linting across all packages
npm run lint- Create a feature branch from
main:git checkout -b feat/my-feature
- Keep commits small and focused. One logical change per commit.
- Follow existing code style — the codebase is plain JS (ES modules), no transpiler needed.
- Test your changes locally before pushing.
- Open a PR against
main. - Describe what changed and why.
- Link related issues if applicable.
- Keep PRs small. Prefer multiple small PRs over one massive one.
Open a GitHub issue with:
- Steps to reproduce
- Expected vs actual behavior
- OS + Node.js version
Please follow our Code of Conduct.
By contributing, you agree that your contributions will be licensed under the MIT License.
claude-code-hooks에 기여해 주셔서 감사합니다! 아래는 시작하는 데 필요한 모든 내용입니다.
- 저장소를 포크 & 클론합니다:
git clone https://github.com/<your-fork>/claude-code-hooks.git
cd claude-code-hooks
npm install-
이 저장소는 npm workspaces 모노레포입니다. 패키지는
packages/아래에 있습니다. -
Node.js 18 이상을 사용하세요.
# 전체 워크스페이스 의존성 설치
npm install
# 특정 패키지에서 명령 실행
npm -w @claude-code-hooks/sound <command>
npm -w @claude-code-hooks/security <command>
npm -w @claude-code-hooks/secrets <command>
# 전체 패키지 테스트
npm testmain에서 기능 브랜치를 생성합니다.- 커밋은 작고 집중적으로 유지합니다. 하나의 논리적 변경에 하나의 커밋.
- 기존 코드 스타일을 따릅니다 — 코드베이스는 순수 JS (ES 모듈)이며 트랜스파일러가 필요 없습니다.
- 푸시하기 전에 로컬에서 변경 사항을 테스트합니다.
main브랜치에 대해 PR을 엽니다.- 무엇이 변경되었고 왜 변경했는지 설명합니다.
- 관련 이슈가 있으면 링크합니다.
- PR은 작게 유지합니다. 하나의 거대한 PR보다 여러 개의 작은 PR을 선호합니다.
GitHub 이슈를 열고 다음을 포함하세요:
- 재현 단계
- 예상 동작 vs 실제 동작
- OS + Node.js 버전
행동 강령을 따라주세요.
기여함으로써, 귀하의 기여가 MIT 라이선스 하에 라이선스됨에 동의합니다.