Skip to main content

prepush

Run pre-push checks and Orizi code review for Cairo repository

설치로 이동

소스 정보

저장소
starkware-libs/cairo
최근 소스 활동
2026년 4월 5일 11:39
감지된 SKILL.md 언어
영어
스타
1,906
포크
777

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
prepush
description
Run pre-push checks and Orizi code review for Cairo repository
allowed-tools
Bash(.claude/skills/prepush/pre_push.sh:*), Bash(./scripts/rust_fmt.sh:*), Bash(./scripts/clippy.sh:*), Bash(./scripts/docs.sh:*), Bash(typos:*), Bash(taplo:*), Bash(cargo machete:*), Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(cargo fmt:*), Bash(cargo clippy:*), Read, Glob, Grep
## Context - Current directory: !`pwd` - Git status: !`git status --short` - Last commit: !`git log --oneline -1` - Changed files in last commit: !`git diff --name-only HEAD~1 HEAD 2>/dev/null || git diff --name-only HEAD` ## Your task Perform the following pre-push checks: 1. **Run pre_push.sh**: Execute `.claude/skills/prepush/pre_push.sh` and ensure no errors exist. If there are errors, fix them by running the appropriate fix commands (e.g., `./scripts/rust_fmt.sh` for formatting, `cargo clippy --fix --allow-dirty` for clippy warnings, `typos -w` for typos). 2. **Analyze changes**: Look at the changes in the last git commit and current diff to identify any missing documentation on public functions or non-trivial inner functions. 3. **Review naming**: Check the naming of any new functions and classes for good practices (snake_case for functions, CamelCase for types, clear descriptive names). 4. **Orizi review**: Use `/orizi-review` on the changes in the last commit. Fix any issues that can be fixed automatically, and report the rest. 5. **Provide a minimal report**: Summarize any fixes made and provide suggestions for where fixes are still needed, including Orizi review findings. Focus on being thorough but concise. Fix what you can automatically, and report what needs manual attention.
GitHub에서 보기