github-workflow
Understand Conventional Commits, GitHub issue management, and Pull Request workflows. Apply best practices for collaborative development.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
GitHub Workflow & Conventions
このスキルは、Bingifyの開発プロセス・GitHub管理・コミット規約をカバーします。
概要
BingifyはConventionalCommitsとGitHubFlowを採用し、チーム開発の効率と品質を保証します。
Conventional Commits
コミットメッセージの形式
type(scope): subject
type
-
feat: 新機能 -
fix: バグ修正 -
docs: ドキュメント -
refactor: リファクタリング -
perf: パフォーマンス改善 -
test: テスト -
ci: CI/CD -
chore: その他
例
git commit -m "feat(dashboard): add space creation form"
git commit -m "fix(space): resolve slug validation error"
git commit -m "docs: update setup instructions"
ブランチ戦略
main # 本番用
feat/dashboard-spaces # 新機能
fix/auth-redirect # バグ修正
refactor/api-routes # リファクタリング
PRワークフロー
- フィーチャーブランチを作成
- コミットを積み重ねる
- PRを作成してレビュー
- ApprovalをもらってSquash merge
git switch -c feat/dashboard-spaces
# ... コーディング ...
git commit -m "feat(dashboard): add form"
git push origin feat/dashboard-spaces
# GitHub: Create Pull Request
CI/CDチェック
プルリクエスト作成前に、以下を実行してすべてが成功することを確認してください:
pnpm check # Lint + Format(Biome)
pnpm type-check # TypeScript
pnpm test # Vitest
詳細は testing スキル を参照してください。
ドキュメント編集
SKILL.mdを含むMarkdownドキュメント編集後は、コミット前に以下を実行してください:
pnpm format:docs
GitHub Actions
GitHub Actionsでアクションを使用する際は、以下のルールに従ってください:
- タグ指定(例:
@v4)ではなく、フルコミットSHA を使用 - 末尾に
# vX.Y.Zの形式でバージョンコメント付与 - Renovateが
helpers:pinGitHubActionDigestsプリセットで自動更新
例:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
理由:
- セキュリティ: タグ変更による意図しない挙動変更を防止
- 再現性: ワークフロー実行の厳密な再現が可能
- 監査可能性: 使用されたアクション版を明確に記録
参考
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!