← Back to list

poka-yoke-patterns
by seanchatmangpt
Rust Template Generator with Frontmatter & RDF Support
⭐ 1🍴 1📅 Jan 25, 2026
SKILL.md
name: poka-yoke-patterns description: "Master Poka-Yoke error-proofing from Toyota Production System. Design systems that prevent mistakes through structure, not vigilance." allowed_tools: "Read, Write, Edit, Bash(cargo make:*)"
Poka-Yoke Patterns
What is Poka-Yoke?
Poka-Yoke (ポカ・ヨケ): Japanese for "mistake-proofing"
Design systems so mistakes become impossible or immediately obvious.
Three Types
1. Prevent (Make mistakes impossible)
- Type system constraints (NewType patterns)
- Compiler verification (Result<T,E>)
- Zero unwrap/expect in production code
2. Detect (Catch mistakes immediately)
- Andon signals (RED/YELLOW/GREEN)
- Quality gates (pre-commit hooks)
- SLO timeouts (prevent hanging)
3. Recover (Minimize damage)
- Graceful degradation
- Automatic rollback
- Clear error messages
In ggen
- Cargo Make Only: Prevents bypassing quality gates
- Result<T,E>: Compiler enforces error handling
- Clippy
-D warnings: Zero tolerance for warnings - SHACL Validation: Prevents invalid specifications
Reference
See CLAUDE.md sections:
- Constitutional Rules (Poka-Yoke)
- Holographic Factory Metaphor (Quality Gates)
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon