بنقرة واحدة
pre-commit
Check branch status before commit. Ensures work is not done on stale/merged branches.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check branch status before commit. Ensures work is not done on stale/merged branches.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a new feature branch following naming conventions. Uses Git MCP for branch operations.
Run static analysis tools (pylint, flake8 for Python, ESLint for JavaScript) to check Google Style compliance.
Create a pull request with change validation. Checks line count limit (max 300 lines) and ensures proper commit prefix. Uses GitHub MCP for PR operations.
Review current code changes for Google Style compliance, security issues, and test coverage. Uses Git MCP for diff analysis.
Run all project tests including Python pytest and JavaScript tests. Reports test results and failures.
| name | pre-commit |
| description | Check branch status before commit. Ensures work is not done on stale/merged branches. |
| user-invocable | true |
| allowed-tools | Bash, AskUserQuestion |
コミット前にブランチ状態を確認し、適切なブランチで作業していることを保証する。
branch skillを使って新しいブランチを作成するよう指示gh pr list --head <branch-name> --state merged でマージ済みPRがあるか確認git checkout main && git pull origin main)branch skillを使って新しいブランチを作成