dzero-a11y
FreeD-ZERO のアクセシビリティ規約。マークアップやインタラクションの実装・変更・レビューで、WAI-ARIA、代替テキスト(alt)、ランドマーク、見出し、キーボード操作、フォーカスを扱うときに使う。
The English summary is being prepared. Showing the original description.
Git 操作ルール(コミット作成、メッセージ形式、事前チェック)
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
コミットを求められたら、他の何より先に以下を行う。
git branch --show-current で現在のブランチを確認するmain / dev のいずれかに該当する場合、コミットを進めず、ユーザーにトピックブランチの作成を提案するgit status で現在の状態を確認することgit add や git restore を絶対に使わないgit diff --staged でステージング済みファイルを確認し、そのファイルのみに基づくコミットメッセージを作成git commit を直接実行(ユーザーが適宜承認する)git status で差分を確認git status と git diff で現在の状態を確認git commit を実行する前に、必ず git diff --staged をスキャンして以下の 2 点を確認する。
プロジェクト固有の名称、企業名、顧客情報、API キー・トークンなど、リポジトリに含めるべきでない情報がないか確認する。
サンプル値が「無いこと」ではなく「予約済み慣例に従っていること」を確認する。
許可される値(予約済み慣例):
example.com / example.org / example.net、*.example / *.test / *.invalid / *.localhost(RFC 2606 / RFC 6761)127.0.0.1、TEST-NET(192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24)、2001:db8::/32user@example.com 系検出対象(混入してはいけない値):
検出時の対処:
feat, fix, docs, refactor, test, chorerepo, deps, githubheredoc とコマンド置換を使って複数行のコミットメッセージを渡す。
形式:
git commit -m "$(cat <<'EOF'
type(scope)!: subject line
BREAKING CHANGE: 説明
詳細:
- 変更点1
- 変更点2
EOF
)"
git commit -m 'type(scope): subject line'
複数行の非破壊的コミットにも、適切なフォーマットを確保するため heredoc 形式を使用すること
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
D-ZERO のアクセシビリティ規約。マークアップやインタラクションの実装・変更・レビューで、WAI-ARIA、代替テキスト(alt)、ランドマーク、見出し、キーボード操作、フォーカスを扱うときに使う。
The English summary is being prepared. Showing the original description.
D-ZERO の CSS コーディング規約。CSS を書く・編集する・レビューするときに使う。コンポーネントのスタイル、レイアウト、レスポンシブ、カスタムプロパティ、セレクタ設計に適用する。
The English summary is being prepared. Showing the original description.
デザインデータ(Figma などのデザインカンプ)を参照してコーディングするときの解釈原則とアセットの扱い。Figma の URL・MCP・デザイン画像・カンプをもとに実装や修正をするときに必ず使う。
The English summary is being prepared. Showing the original description.
D-ZERO の HTML/Pug マークアップ規約。HTML や Pug を書く・編集する・レビューするときに使う。コンポーネント設計、クラス命名、文書構造、画像、リンク、メタ情報に適用する。
The English summary is being prepared. Showing the original description.
D-ZERO の JavaScript/TypeScript コーディング規約。JS/TS を書く・編集する・レビューするときに使う。イベント処理、DOM 操作、状態変更、ライブラリ追加、スクリプト読み込みに適用する。
The English summary is being prepared. Showing the original description.
フロントエンド実装のコードレビューを実施する。PR レビュー、コードレビュー、実装チェック、品質確認を依頼されたときに使う。実装レイヤー選定の妥当性から各技術軸の観点まで順に検査する。
The English summary is being prepared. Showing the original description.