Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
362c7d2
docs: remove outdated guide files
myoshi2891 Aug 3, 2026
3a4a212
docs(gcp): add Natural Language and Speech API challenge lab guides
myoshi2891 Aug 3, 2026
0ceaefc
docs(gcp): add study guides for ADK lab, Natural Language API, Fantas…
myoshi2891 Aug 4, 2026
a92447d
docs(pcne): add study guide for Section 1 VPC design
myoshi2891 Aug 4, 2026
739a550
docs(gcp): optimize Mermaid rendering and inline diagrams in GSP Kube…
myoshi2891 Aug 5, 2026
8279fa1
test(aws-saa): add failing tests for Domain 4 guide
myoshi2891 Aug 5, 2026
cfd44b1
feat(aws-saa): implement Domain 4 guide components to pass tests
myoshi2891 Aug 5, 2026
14af1ee
refactor(aws-saa): integrate Domain 4 guide into routing and update docs
myoshi2891 Aug 5, 2026
be61789
chore(docs): update MIGRATION_PROGRESS.md and archive Domain 4 HTML
myoshi2891 Aug 5, 2026
5fda7b6
fix(aws-saa): restore exact original colors, typography, brand header…
myoshi2891 Aug 5, 2026
b12dcc7
fix(aws-saa): restore 100% complete original text, tables, skills, an…
myoshi2891 Aug 5, 2026
81aee50
docs(rules): refine tdd-commit-workflow.md with strict high-intensity…
myoshi2891 Aug 5, 2026
64ce024
test: add failing tests for Cisco CCDE complete guide migration
myoshi2891 Aug 5, 2026
8dfa526
feat: implement Cisco CCDE complete guide page to pass tests
myoshi2891 Aug 5, 2026
4b922ba
refactor/docs: integrate CCDE guide into routing, archive html, and u…
myoshi2891 Aug 5, 2026
3919b49
fix(docs): move archived Ccde-guide.html to correct path archive/Cisc…
myoshi2891 Aug 5, 2026
895aebd
test: add failing tests for ccie enterprise infrastructure guide
myoshi2891 Aug 5, 2026
e8f5efd
feat: implement ccie enterprise infrastructure guide components and page
myoshi2891 Aug 5, 2026
957f478
refactor: integrate ccie enterprise infrastructure guide into navigat…
myoshi2891 Aug 5, 2026
c844fb1
fix: import named MermaidDiagram component to resolve runtime uncaugh…
myoshi2891 Aug 5, 2026
c3622ef
fix: remove invalid id prop from MermaidDiagram component to resolve …
myoshi2891 Aug 5, 2026
e0d34b7
fix: replace invalid toBeInText matcher with toBeInTheDocument in tes…
myoshi2891 Aug 5, 2026
73a70ca
style: faithfully reproduce original HTML CSS styles for CCIE Enterpr…
myoshi2891 Aug 5, 2026
bd24ca4
refactor(docs): organize CCDE html archive into ccde subfolder
myoshi2891 Aug 5, 2026
aac535a
refactor(docs): organize CCIE enterprise infrastructure html and md a…
myoshi2891 Aug 5, 2026
41aa385
refactor(docs): organize CCNA html and md archive files into ccna sub…
myoshi2891 Aug 5, 2026
63eec82
test: strengthen domain4 and CCDE guide migration completeness tests …
myoshi2891 Aug 5, 2026
ed6f03e
feat(aws-saa): update Domain4Guide as server component, add scope att…
myoshi2891 Aug 5, 2026
de183d5
refactor(cisco-ccde): update CcdeGuide as server component, add JSDoc…
myoshi2891 Aug 5, 2026
5fe16bf
refactor(archive): move Ccde-guide.html to Gcl_Archive/Cisco/html, up…
myoshi2891 Aug 5, 2026
ed3b714
fix(docs): refine standalone HTML and Markdown guides with SRI integr…
myoshi2891 Aug 5, 2026
e3217ae
fix(pcne): clarify VPC Peering non-transitivity, MTU definitions, Wor…
myoshi2891 Aug 5, 2026
7ef1f4c
test: update text matchers in CCIE EI test and sync AWS SAA nav links…
myoshi2891 Aug 5, 2026
691be78
fix(ccde): add 'use client' directive to CCDE complete guide NavBar
myoshi2891 Aug 5, 2026
ccc985a
docs(pcne): add PCNE Section 2 VPC implementation HTML and Markdown s…
myoshi2891 Aug 5, 2026
cf41551
test: expand test assertions and add detailed JSDocs for CCDE guide c…
myoshi2891 Aug 5, 2026
2182585
refactor: split CcdeGuide into 12 section components and CSS Modules …
myoshi2891 Aug 5, 2026
161559f
fix: supply missing CSS root variables and cleanup page.css to fix st…
myoshi2891 Aug 5, 2026
9c19089
docs: update TDD workflow rules and migration progress links
myoshi2891 Aug 5, 2026
1ac6405
feat(ui): update components JSDoc, CSS Module tokens, and CCIE naviga…
myoshi2891 Aug 5, 2026
35f1588
test: update and strengthen unit and integration tests for AWS, CCIE,…
myoshi2891 Aug 5, 2026
a2fafe1
docs(archive): fix formatting, placeholders, auth headers, and Mermai…
myoshi2891 Aug 5, 2026
42c9f73
docs(archive): update JS logic, password placeholders, and Mermaid AP…
myoshi2891 Aug 5, 2026
a49d430
docs: fix PCNE, Speech-to-text, and GSP Kubernetes guide details, SRI…
myoshi2891 Aug 5, 2026
9640725
style(ccde): update CCDE components and stylesheet tokens
myoshi2891 Aug 5, 2026
88216b6
style(layout): update sidebar layout reservation and sticky header of…
myoshi2891 Aug 5, 2026
2ed8197
docs(archive): update study guides Retry-After parsing, MTU rules, ti…
myoshi2891 Aug 5, 2026
b953035
test(aws): enhance domain4 table structure and diagram rendering asse…
myoshi2891 Aug 5, 2026
9b15d5b
fix(cisco): align Retry-After parsing logic with ceil-based calculation
myoshi2891 Aug 6, 2026
e44f4b2
docs(pcne): update MTU requirement scope for hybrid connectivity
myoshi2891 Aug 6, 2026
7837725
docs(ccde): add JSDoc descriptions for CCDE section components
myoshi2891 Aug 6, 2026
9cbda21
style(aws): optimize main content layout alignment in SAA Domain 4
myoshi2891 Aug 6, 2026
0ff0159
fix(ccna): remove extra closing div tag and upper-bound check for Ret…
myoshi2891 Aug 6, 2026
fa379ef
docs(archive): remove upper-bound check for Retry-After seconds in cc…
myoshi2891 Aug 6, 2026
c533d97
docs(ccna): update Retry-After diagram and text to indicate support f…
myoshi2891 Aug 6, 2026
f25eaa4
test: add failing tests for Retry-After limit and parsing logic
myoshi2891 Aug 6, 2026
5781b23
fix: cap numeric Retry-After value at 3600 seconds to pass tests
myoshi2891 Aug 6, 2026
cc3688e
docs: update Retry-After documentation and Mermaid diagram for consis…
myoshi2891 Aug 6, 2026
630e02d
fix: repair split </pre> tags in Mermaid blocks of Adk-challenge-lab-…
myoshi2891 Aug 6, 2026
9d0039e
fix: correct mermaid CDN integrity hash in Adk-challenge-lab-guide.html
myoshi2891 Aug 6, 2026
77b42f3
fix(html): escape arrow symbols with &gt; in Mermaid diagram in Adk-c…
myoshi2891 Aug 6, 2026
5df1194
docs(ccna): unify POST authentication header with X-Cisco-Meraki-API-…
myoshi2891 Aug 6, 2026
966beeb
test: add failing test for final retry attempt check
myoshi2891 Aug 7, 2026
cdb4211
fix: skip unnecessary sleep on final retry attempt in automation api …
myoshi2891 Aug 7, 2026
681972e
fix(cisco): skip sleep and break on final retry attempt across all pa…
myoshi2891 Aug 8, 2026
24cce0f
docs(cisco): synchronize retry wait skip logic in automation API guid…
myoshi2891 Aug 8, 2026
0c17c3d
test: add failing tests for retry break order and uncapped Retry-Afte…
myoshi2891 Aug 8, 2026
1b74125
fix: update retry logic order and uncapped Retry-After parsed_val in …
myoshi2891 Aug 8, 2026
36c4462
docs: sync retry logic order and uncapped Retry-After parsed_val in C…
myoshi2891 Aug 8, 2026
73c9f35
📝 Add docstrings to `dev`
coderabbitai[bot] Aug 8, 2026
9f078c7
📝 Add docstrings to `dev`
coderabbitai[bot] Aug 8, 2026
3a9f193
Merge pull request #119 from myoshi2891/coderabbitai/docstrings/73c9f35
myoshi2891 Aug 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 deletions .claude/rules/tdd-commit-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ LLMエージェントがコードを実装する際、要件漏れや意図し
**AI エージェントへの厳格な指示**:

1. **Red(テスト失敗)フェーズを経ないコード実装は「未完了」とみなす。** 実装コード(プロダクションコード)を書く前に、必ず失敗するテストを作成・実行し、その状態をコミットすること。
2. **一括コミットの厳禁。** 「テスト + 実装 + ドキュメント」を一つのコミットにまとめることは重大な規約違反である。1つの論理的なフェーズが完了するごとに、必ず `git commit` を実行すること。
3. **違反検知時は即時報告。** サイクルを飛ばしたことに気づいた場合、独断で `git reset` 等を実行せず、直ちにユーザーへ報告し、承認を得たうえでリカバリ手順を実施すること(詳細は「違反時の対応」を参照)。
2. **甘いテスト(スモークテスト程度・大枠見出しのみチェック)の厳禁。** 「コンポーネントが描画されるか」「h1タイトルがあるか」程度の浅いテストの作成は固く禁止する。テストは要件・仕様・元コンテンツの全量(全セクションの見出し・表の各セル文言・スキル項目・全出典リンク・Mermaid図のariaLabel等)を網羅的にアサーションする厳格なものでなければならない。
3. **一括コミットの厳禁。** 「テスト + 実装 + ドキュメント」を一つのコミットにまとめることは重大な規約違反である。1つの論理的なフェーズが完了するごとに、必ず `git commit` を実行すること。
4. **違反検知時は即時報告。** サイクルを飛ばしたことに気づいた場合、独断で `git reset` 等を実行せず、直ちにユーザーへ報告し、承認を得たうえでリカバリ手順を実施すること(詳細は「違反時の対応」を参照)。
</ai_agent_directive>

---
Expand All @@ -31,14 +32,29 @@ LLMエージェントがコードを実装する際、要件漏れや意図し

エージェントは以下のサイクルを厳格に繰り返すこと。

### Step 1: Red(テストの作成と失敗)
### Step 1: Red(テストの作成と失敗) — 高強度テストの作成

作業種別に応じて以下を選択する:

- **新機能の場合**: 実装する機能の仕様を反映したテストファイルを `__tests__/` 下に作成する。
- **バグ修正の場合**: 現在の不具合を再現する失敗テストを追加する。テストがパスしてしまう場合は再現条件を見直す。
- **機能改善の場合**: 期待する新しい振る舞いを記述した失敗テストを追加する。
- **リファクタリングのみの場合**: 既存テストをそのまま実行してすべてパスすることを確認する。新規テストの作成は不要。
- **学習ガイド/HTML移行の場合**: 移行元コンテンツの全量網羅性を保証する強固なテストを作成する。
- 元コンテンツの全セクションの見出し (`h2`, `h3`)
- 表のヘッダーと全データセル内文言 (`td`, `th` を漏れなく対象)
- 補足スキル項目 (`スキル: ...`) の存在
- 外部出典リンク (`blockquote` 内に限定せず事前インベントリに含まれる全リンクと URL)
- Mermaid / SVG 図解の存在とアクセシビリティ属性 (`ariaLabel` または `decorative={true}` のいずれか必須)
- **新機能の場合**: 機能の全要求仕様・エッジケースを包括する失敗テストを `__tests__/` 下に作成する。
- **バグ修正の場合**: 不具合を正確に再現する失敗テストを追加する。
- **機能改善の場合**: 期待する新しい振る舞いを網羅した失敗テストを追加する。
Comment thread
coderabbitai[bot] marked this conversation as resolved.

**🚨 テスト品質の自己検証ゲート (Test Quality Gate)**:
コミット前に以下を確認すること。1つでも該当する場合はテストを追加・強化すること。
- [ ] タイトルや見出しが1つあるか確認するだけの「スモークテスト」になっていないか?
- [ ] 本文中の重要な解説・表内のセルテキスト・スキル項目が含まれているか?
- [ ] 事前インベントリに含まれる全出典リンクが含まれているか?
- [ ] Mermaid / SVG に `ariaLabel` または `decorative={true}` が適切に指定されているか?
- [ ] 移行前に作成した件数インベントリが保持されているか?
- [ ] Green 完了時に元資料と TSX の文字数・行数・内容を照合し、大幅な乖離がないか?
- [ ] 意図的な要約や一部省略コードを実装してもテストが Pass してしまうような抜け穴がないか?

- **実行**: `bun test` または `bun run test` で失敗(またはコンパイルエラー)を確認する(リファクタリングはパスを確認)。
- **コミット**: `test(<scope>): add failing tests for [機能名/バグID]` (または `test: add failing tests for ...`) — **テスト作成直後に必ずコミットすること。Step 2への繰り越しは禁止。**
Expand Down
Loading