You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/CLAUDE.md
+180-5Lines changed: 180 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,22 @@ The project was recognized by GitHub as one of the **top open source projects of
18
18
```
19
19
33-js-concepts/
20
20
├── .claude/ # Claude configuration
21
-
│ └── CLAUDE.md # Project context and guidelines
21
+
│ ├── CLAUDE.md # Project context and guidelines
22
+
│ └── skills/ # Custom skills for content creation
23
+
│ ├── write-concept/ # Skill for writing concept documentation
24
+
│ ├── fact-check/ # Skill for verifying technical accuracy
25
+
│ ├── seo-review/ # Skill for SEO audits
26
+
│ ├── test-writer/ # Skill for generating Vitest tests
27
+
│ ├── resource-curator/ # Skill for curating external resources
28
+
│ └── concept-workflow/ # Skill for end-to-end concept creation
22
29
├── .opencode/ # OpenCode configuration
23
-
│ └── skill/ # Custom skills for content creation
24
-
│ └── write-concept/ # Skill for writing concept documentation
30
+
│ └── skill/ # Custom skills (mirrored from .claude/skills)
31
+
│ ├── write-concept/ # Skill for writing concept documentation
32
+
│ ├── fact-check/ # Skill for verifying technical accuracy
33
+
│ ├── seo-review/ # Skill for SEO audits
34
+
│ ├── test-writer/ # Skill for generating Vitest tests
35
+
│ ├── resource-curator/ # Skill for curating external resources
36
+
│ └── concept-workflow/ # Skill for end-to-end concept creation
25
37
├── docs/ # Mintlify documentation site
26
38
│ ├── docs.json # Mintlify configuration
27
39
│ ├── index.mdx # Homepage
@@ -46,7 +58,7 @@ The project was recognized by GitHub as one of the **top open source projects of
46
58
├── CODE_OF_CONDUCT.md # Community standards
47
59
├── LICENSE # MIT License
48
60
├── package.json # Project metadata
49
-
├── opencode.json # OpenCode AI assistant configuration
61
+
├── opencode.jsonc # OpenCode AI assistant configuration
50
62
└── github-image.png # Project banner image
51
63
```
52
64
@@ -398,7 +410,170 @@ Use the `/write-concept` skill when writing or improving concept documentation p
398
410
399
411
The skill includes detailed guidance on title optimization (50-60 chars), meta descriptions (150-160 chars), keyword placement, and featured snippet optimization.
Use the `/fact-check` skill when verifying the technical accuracy of concept documentation. This skill provides comprehensive methodology for:
418
+
419
+
-**Code Verification**: Verify all code examples produce stated outputs, run project tests
420
+
-**MDN/Spec Compliance**: Check claims against official MDN documentation and ECMAScript specification
421
+
-**External Resource Checks**: Verify all links work and descriptions accurately represent content
422
+
-**Misconception Detection**: Common JavaScript misconceptions to watch for (type coercion, async behavior, etc.)
423
+
-**Test Integration**: Instructions for running `npm test` to verify code examples
424
+
-**Report Template**: Structured format for documenting findings with severity levels
425
+
426
+
**When to invoke:**
427
+
- Before publishing a new concept page
428
+
- After significant edits to existing pages
429
+
- When reviewing community contributions
430
+
- Periodic accuracy audits of existing content
431
+
432
+
**What gets checked:**
433
+
- Every code example for correct output
434
+
- All MDN links for validity (not 404)
435
+
- API descriptions match current MDN documentation
436
+
- External resources (articles, videos) are accessible and accurate
437
+
- Technical claims are correct and properly nuanced
438
+
- No common JavaScript misconceptions stated as fact
439
+
440
+
**Location:**`.claude/skills/fact-check/SKILL.md`
441
+
442
+
### seo-review Skill
443
+
444
+
Use the `/seo-review` skill when auditing concept pages for search engine optimization. This skill provides a focused audit checklist:
445
+
446
+
-**27-Point Scoring System**: Systematic audit across 6 categories
447
+
-**Title & Meta Optimization**: Character counts, keyword placement, compelling hooks
448
+
-**Keyword Strategy**: Pre-built keyword clusters for all JavaScript concepts
449
+
-**Featured Snippet Optimization**: Patterns for winning position zero in search results
450
+
-**Internal Linking**: Audit of concept interconnections and anchor text quality
451
+
-**Report Template**: Structured SEO audit report with prioritized fixes
452
+
453
+
**When to invoke:**
454
+
- Before publishing a new concept page
455
+
- When optimizing underperforming pages
456
+
- Periodic content audits
457
+
- After major content updates
458
+
459
+
**Scoring Categories (30 points total):**
460
+
- Title Tag (4 points)
461
+
- Meta Description (4 points)
462
+
- Keyword Placement (5 points)
463
+
- Content Structure (6 points)
464
+
- Featured Snippets (4 points)
465
+
- Internal Linking (4 points)
466
+
- Technical SEO (3 points) — Single H1, keyword in slug, no orphan pages
467
+
468
+
**Score Interpretation:**
469
+
- 90-100% (27-30): Ready to publish
470
+
- 75-89% (23-26): Minor optimizations needed
471
+
- 55-74% (17-22): Several improvements needed
472
+
- Below 55% (<17): Significant work required
473
+
474
+
**Location:**`.claude/skills/seo-review/SKILL.md`
475
+
476
+
### test-writer Skill
477
+
478
+
Use the `/test-writer` skill when generating Vitest tests for code examples in concept documentation. This skill provides comprehensive methodology for:
479
+
480
+
-**Code Extraction**: Identify and categorize all code examples (testable, DOM, error, conceptual)
481
+
-**Test Patterns**: 16 patterns for converting different types of code examples to tests
482
+
-**DOM Testing**: Separate file structure with jsdom environment for browser-specific code
483
+
-**Source References**: Line number references linking tests to documentation
Use the `/resource-curator` skill when finding, evaluating, or maintaining external resources (articles, videos, courses) for concept pages. This skill provides:
512
+
513
+
-**Audit Process**: Check existing links for accessibility, accuracy, and relevance
514
+
-**Trusted Sources**: Prioritized lists of reputable article, video, and course sources
515
+
-**Quality Criteria**: Must-have, should-have, and red flag checklists
516
+
-**Description Writing**: Formula and examples for specific, valuable descriptions
517
+
-**Publication Guidelines**: Date thresholds for different topic categories
518
+
-**Report Template**: Audit report for documenting broken, outdated, and missing resources
Use the `/concept-workflow` skill for end-to-end creation of a complete concept page. This orchestrator skill coordinates all five specialized skills in optimal order:
0 commit comments