Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[External Plugin]: poka-yoke

Đang mở
#2,793 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, python
Lĩnh vực
content

Hướng nghiên cứu

Bắt đầu bằng việc xem xét ref được ghim 18e2bc17d682ece3f13892e7415409a9da57d031 và metadata external.json đã gửi, sau đó so sánh submission plugin đầy đủ với các quy ước liệt kê của repository. Kiểm tra mối quan hệ với submission chỉ có skill trong #2792; được xem là hoàn tất khi submission được xác thực và либо được liệt kê dưới dạng plugin đầy đủ, hoặc trạng thái trùng lặp của nó được giải quyết.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

external-plugin needs-review:MEDIUM ready-for-review
Plugin name

poka-yoke

Short description

Mistake-proof your code, your pipeline, and your agents. Audits code for mistakes that are possible, designs APIs where misuse cannot be expressed, installs guardrails, and turns incidents into devices that prevent recurrence.

GitHub repository

rainmanjam/poka-yoke

Plugin path inside the repository

plugins/poka-yoke

Ref to review

v0.2.0

Commit SHA to review

18e2bc17d682ece3f13892e7415409a9da57d031

Version

0.2.0

License identifier

MIT

Author name

rainmanjam

Author URL

https://github.com/rainmanjam

Homepage URL

https://github.com/rainmanjam/poka-yoke

Keywords

poka-yoke, mistake-proofing, error-prevention, guardrails, code-review, defensive-design, type-safety, footgun, reliability, zero-defects

Additional notes for reviewers

poka-yoke is 11 skills, a dependency-free hazard scanner, and installable pre-commit / CI / hook templates. It applies Shigeo Shingo's mistake-proofing method to code: prefer a device that makes a wrong action impossible or self-announcing over an instruction asking someone to avoid it.

Executables, disclosed rather than left to be found. Nothing runs on install and nothing reaches the network:

  • scripts/detect_hazards.py — static scanner, standard library only, runs when a skill or the user invokes it
  • scripts/cli.py — thin dispatcher for the scanner
  • scripts/device_registry.py — regenerates a docs table; developer and CI only
  • assets/devices/claude-hooks/* — templates, not installed automatically. A PreToolUse guard the user chooses to copy in. There is no hook registration in the plugin manifest

Evidence and its limits. 591 blind-graded runs across six model families, assertions written before the runs, grader blind to configuration. The behaviour it most reliably changes is stating what a design forecloses: 45% of responses did that unprompted, 80% with the skills applied, across 132 graded verdicts. That average conceals where the effect lives: asked squarely to design an interface models already do it 77% of the time, and the large gains are in tasks where nobody asked for a design review (endpoint 14% to 79%, agent feature 33% to 83%, form 29% to 64%).

Stated with its limits, because they matter: every run is the first turn of a fresh session, so this measures the ceiling rather than what survives a long working session. The baseline is no methodology rather than a different one, so it does not establish that this method in particular caused the gain — control arms exist in the repo but have not been run. And the method costs something measurable: responses became worse at spotting a raw SQL interpolation already on the page (92% to 69%) while becoming better at changing the shape that allowed it. Raw runs, the harness and the assertion checklists are in benchmarks/.

The plugin ships to 19 runtimes via native manifests; six were behaviourally benchmarked (Fable 5, Opus 5, Sonnet 5, Haiku 4.5, Codex gpt-5.6-terra, Gemini 3.1 Pro). The other thirteen are untested and docs/install.md says so in a support-tier table.

Note on keywords: plugin.json carries 24 keywords, several containing spaces for the Claude directory's own search. The list above is the hyphenated subset your validator accepts; I have not edited plugin.json to satisfy this form, since external.json carries its own keywords field.

A skill-only copy is also open as #2792. These are complementary: that entry is for discovery in the skills index, this listing tracks the full plugin at a pinned tag so updates flow from one source rather than a fork drifting. If you would rather have only one, this listing is the one to keep.

Submission checklist
  • The plugin lives in a public GitHub repository.
  • The ref and/or sha I provided is immutable (release tag and/or full 40-character commit SHA), not a branch.
  • This submission follows this repository's contribution, security, and responsible AI policies.
  • This plugin is not already listed in the Awesome Copilot marketplace.
Ngôn ngữ chính
JavaScript
Star
39.2k
Fork
5k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
106

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/awesome-copilot

Tất cả issue của github/awesome-copilot

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.