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

[curriculum-eval] side-quest-11-06-anthropic-key.md: cognitive_load — common-mistakes list duplicates concepts instead of inline verification

Đã đóng Phù hợp với người mới
#4,529 0 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ó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, javascript, markdown
Lĩnh vực
content, documentation

Hướng nghiên cứu

Mở workshop/side-quest-11-06-anthropic-key.md và đọc phần “Store the key as a repository secret”, năm bước của phần này, khối lỗi thường gặp và danh sách kiểm tra Checkpoint. Chuyển từng lỗi liên quan thành lời nhắc inline “Verify:” sau bước tương ứng, đồng thời đặt cảnh báo về việc đóng tab trước bước 1. Xóa khối thừa, sau đó chạy lệnh markdownlint được chỉ định trong issue; hoàn tất khi lệnh chạy thành công và danh sách kiểm tra hiện có vẫn áp dụng nguyên trạng.

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

Mô tả

curriculum documentation quality

File: workshop/side-quest-11-06-anthropic-key.md
Overall Score: 5.37 / 10.0 (corpus mean: 6.09)

Flagged Dimensions:

Dimension Score Benchmark Delta
cognitive_load 7.2 ≤15 new concepts → 10.0 -2.8 (26 new concepts in 673 words — highest concept density in the flagged set)
active_learning 3.4 activity density ≥ 3 → 10.0 -6.6

Root Cause (≤ 2 sentences):
In only 673 words the page introduces 26 distinct bolded/code terms — secret name, frontmatter keys (engine: claude, network.allowed), four named "common mistakes," and three UI click-paths — giving it the highest concept-per-word ratio among the flagged files (26 concepts / 673 words ≈ 1 new term per 26 words). The content is mostly step-by-step instructions and a "common mistakes" list rather than code the learner writes or checks the learner verifies as they go, so activity_density stays low despite the page's procedural nature.

Evidence (quoted from the file):

  • Wrong name: any variation (anthropic_api_key, ANTHROPIC-API-KEY, CLAUDE_API_KEY) will cause a silent auth failure. The name must be exactly ANTHROPIC_API_KEY.
  • Copied with extra whitespace: pasting from some tools adds a leading space...
  • Closed the Anthropic tab before saving...
  • Network allow-list missing...

Learning Science Rationale:
Sweller's Cognitive Load Theory distinguishes intrinsic load (task complexity) from extraneous load (presentation); the four-item "Common mistakes" bullet list immediately after the secret-creation steps adds extraneous load by presenting four hypothetical failure modes before the learner has even completed the primary task once, rather than surfacing them as inline verification checks at the exact step where each mistake could occur. Bloom's taxonomy also places this page at "apply," but none of its instructions ask the learner to self-verify a step's outcome before moving to the next — a missed opportunity for formative checking that would both raise activity_density and reduce the error rate the "Common mistakes" list is trying to prevent.

Improvement Prompt (for an agent):

Open workshop/side-quest-11-06-anthropic-key.md. The "Store the key as a repository secret"
section has a 5-step numbered list followed by a separate "Common mistakes with this secret"
<details> block listing 4 failure modes. Do the following:

1. Move each relevant "common mistake" bullet inline, directly after the numbered step where
   that mistake could occur, as a one-line "Verify:" callout instead of a separate end-of-section
   list, e.g. after step 4 ("Set the name to ANTHROPIC_API_KEY..."):
   Verify: the name is exactly `ANTHROPIC_API_KEY` (no hyphens, no lowercase) and has no leading
   or trailing whitespace.

2. Keep the "Closed the Anthropic tab before saving" mistake as a warning before step 1 of key
   creation (it must be read before the tab is closed, not after).

3. Remove the now-redundant "Common mistakes with this secret" <details> block once its content
   has been distributed inline, so the page doesn't repeat the same guidance twice.

4. Re-run `npx --yes markdownlint-cli2 "workshop/side-quest-11-06-anthropic-key.md"` after
   editing and confirm the existing Checkpoint checklist items still apply unchanged.

Expected Score After Fix: 6.4 / 10.0 (active_learning improves via inline verification steps; cognitive_load improves via reduced duplicate concept listing).

Generated by 🔬 Curriculum Quality Evaluator · copilot · auto · 124.3 AIC · ⌖ 8.34 AIC · ⊞ 10.4K · ◷

  • expires on Oct 14, 2026, 4:56 AM UTC
Ngôn ngữ chính
JavaScript
Star
53
Fork
35
Merge trung bình
13 giờ 50 phút
Pull request đã merge (30 ngày)
14

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 githubnext/gh-aw-workshop

Tất cả issue của githubnext/gh-aw-workshop

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.