Use this skill to verify the technical accuracy of concept documentation pages for the 33 JavaScript Concepts project. This ensures we're not spreading misinformation about JavaScript.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionfact-checkExecute the skills CLI command in your project's root directory to begin installation:
Fetches fact-check from leonardomso/33-js-concepts and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate fact-check. Access via /fact-check in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
66.3K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
66.3K
stars
Use this skill to verify the technical accuracy of concept documentation pages for the 33 JavaScript Concepts project. This ensures we're not spreading misinformation about JavaScript.
Follow these five phases in order for a complete fact check.
Every code example in the concept page must be verified for accuracy.
Identify all code blocks in the document
For each code block:
// "string")For "wrong" examples (marked with ❌):
For "correct" examples (marked with ✓):
Run project tests:
# Run all tests
npm test
# Run tests for a specific concept
npm test -- tests/fundamentals/call-stack/
npm test -- tests/fundamentals/primitive-types/
Check test coverage:
/tests/{category}/{concept-name}/| Check | How to Verify |
|---|---|
console.log outputs match comments |
Run code or trace mentally |
| Variables are correctly named/used | Read through logic |
| Functions return expected values | Trace execution |
| Async code resolves in stated order | Understand event loop |
| Error examples actually throw | Test in try/catch |
| Array/object methods return correct types | Check MDN |
typeof results are accurate |
Test common cases |
| Strict mode behavior noted if relevant | Check if example depends on it |
// Watch for these common mistakes:
// 1. typeof null
typeof null // "object" (not "null"!)
// 2. Array methods that return new arrays vs mutate
const arr = [1, 2, 3]
arr.push(4) // Returns 4 (length), not the array!
arr.map(x => x*2) // Returns NEW array, doesn't mutate
// 3. Promise resolution order
Promise.resolve().then(() => console.log('micro'))
setTimeout(() => console.log('macro'), 0)
console.log('sync')
// Output: sync, micro, macro (NOT sync, macro, micro)
// 4. Comparison results
[] == false // true
[] === false // false
![] // false (empty array is truthy!)
// 5. this binding
const obj = {
name: 'Alice',
greet: () => console.log(this.name) // undefined! Arrow has no this
}
All claims about JavaScript APIs, methods, and behavior should align with MDN documentation.
Check all MDN links:
Verify API descriptions:
Check for deprecated APIs:
Verify browser compatibility claims:
| Content Type | MDN URL Pattern |
|---|---|
| Web APIs | https://developer.mozilla.org/en-US/docs/Web/API/{APIName} |
| Global Objects | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/{Object} |
| Statements | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/{Statement} |
| Operators | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/{Operator} |
| HTTP | https://developer.mozilla.org/en-US/docs/Web/HTTP |
| Claim Type | What to Check |
|---|---|
| Method signature | Parameters, optional params, return type |
| Return value | Exact type and possible values |
| Side effects | Does it mutate? What does it affect? |
| Exceptions | What errors can it throw? |
| Browser support | Compatibility tables |
| Deprecation status | Any deprecation warnings? |
For nuanced JavaScript behavior, verify against the ECMAScript specification.
The ECMAScript specification is at: https://tc39.es/ecma262/
| Concept | Spec Section |
|---|---|
| Type coercion | Abstract Operations (7.1) |
| Equality | Abstract Equality Comparison (7.2.14), Strict Equality (7.2.15) |
| typeof | The typeof Operator (13.5.3) |
| Objects | Ordinary and Exotic Objects' Behaviours (10) |
| Functions | ECMAScript Function Objects (10.2) |
| this binding | ResolveThisBinding (9.4.4) |
| Promises | Promise Objects (27.2) |
| Iteration | Iteration (27.1) |
// Claim: "typeof null returns 'object' due to a bug"
// Spec says: typeof null → "object" (Table 41)
// Historical context: This is a known quirk from JS 1.0
// Verdict: ✓ Correct, though calling it a "bug" is slightly informal
// Claim: "Promises always resolve asynchronously"
// Spec says: Promise reaction jobs are enqueued (27.2.1.3.2)
// Verdict: ✓ Correct - even resolved promises schedule microtasks
// Claim: "=== is faster than =="
// Spec says: Nothing about performance
// Verdict: ⚠️ Needs nuance - this is implementation-dependent
All external links (articles, videos, courses) must be verified.
Check link accessibility:
Verify content accuracy:
Check publication date:
Verify description accuracy:
| Check | Pass Criteria |
|---|---|
| Link works | Returns 200, content loads |
| Not paywalled | Free to access (or clearly marked) |
| JavaScript-focused | Not primarily about other languages |
| Not outdated | Post-2015 for modern JS topics |
| Accurate description | Our description matches actual content |
| No anti-patterns | Doesn't teach bad practices |
| Reputable source | From known/trusted creators |
var everywhere for ES6+ topicsReview all prose claims about JavaScript behavior.
| Claim Type | How to Verify |
|---|---|
| Performance claims | Need benchmarks or caveats |
| Browser behavior | Specify which browsers, check MDN |
| Historical claims | Verify dates/versions |
| "Always" or "never" statements | Check for exceptions |
| Comparisons (X vs Y) | Verify both sides accurately |
❌ "async/await is always better than Promises"
→ Verify: Not always - Promise.all() is better for parallel operations
❌ "JavaScript is an interpreted language"
→ Verify: Modern JS engines use JIT compilation
❌ "Objects are passed by reference"
→ Verify: Technically "passed by sharing" - the reference is passed by value
❌ "=== is faster than =="
→ Verify: Implementation-dependent, not guaranteed by spec
✓ "JavaScript is single-threaded"
→ Verify: Correct for the main thread (Web Workers are separate)
✓ "Promises always resolve asynchronously"
→ Verify: Correct per ECMAScript spec
Watch for these misconceptions being stated as fact.
| Misconception | Reality | How to Verify |
|---|---|---|
typeof null === "object" is intentional |
It's a bug from JS 1.0 that can't be fixed for compatibility | Historical context, TC39 discussions |
| JavaScript has no types | JS is dynamically typed, not untyped | ECMAScript spec defines types |
== is always wrong |
== null checks both null and undefined, has valid uses |
Many style guides allow this pattern |
NaN === NaN is false "by mistake" |
It's intentional per IEEE 754 floating point spec | IEEE 754 standard |
| Misconception | Reality | How to Verify |
|---|---|---|
| Arrow functions are just shorter syntax | They have no this, arguments, super, or new.target |
MDN, ECMAScript spec |
var is hoisted to function scope with its value |
Only declaration is hoisted, not initialization | Code test, MDN |
| Closures are a special opt-in feature | All functions in JS are closures | ECMAScript spec |
| IIFEs are obsolete | Still useful for one-time initialization | Modern codebases still use them |
| Misconception | Reality | How to Verify |
|---|---|---|
| Promises run in parallel | JS is single-threaded; Promises are async, not parallel | Event loop explanation |
async/await is different from Promises |
It's syntactic sugar over Promises | MDN, can await any thenable |
setTimeout(fn, 0) runs immediately |
Runs after current execution + microtasks | Event loop, code test |
await pauses the entire program |
Only pauses the async function, not the event loop | Code test |
| Misconception | Reality | How to Verify |
|---|---|---|
| Objects are "passed by reference" | References are passed by value ("pass by sharing") | Reassignment test |
const makes objects immutable |
const prevents reassignment, not mutation |
Code test |
| Everything in JavaScript is an object | Primitives are not objects (though they have wrappers) | typeof tests, MDN |
Object.freeze() creates deep immutability |
It's shallow - nested objects can still be mutated | Code test |
| Misconception | Reality | How to Verify |
|---|---|---|
=== is always faster than == |
Implementation-dependent, not spec-guaranteed | Benchmarks vary |
for loops are faster than forEach |
Modern engines optimize both; depends on use case | Benchmark |
| Arrow functions are faster | No performance difference, just different behavior | Benchmark |
| Avoiding DOM manipulation is always faster | Sometimes batch mutations are slower than individual | Depends on browser, use case |
Running the project's test suite is a key part of fact-checking.
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
✓Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
✓Save 3-5 hours/week on communication overhead
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Steps
- 1Install product management skill
- 2Start with user story generation for known feature
- 3Progress to competitive analysis: research 2-3 competitors
- 4Use for roadmap prioritization: apply RICE/ICE scoring
- 5Draft stakeholder communications and refine based on feedback
- 6Build template library for recurring PM tasks
- 7Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Related Skills
grill-me
648mattpocock/skills
Productivitysame categorypremortem
214parcadei/continuous-claude-v3
Productivitysame categorydeslop
159cursor/plugins
Productivitysame categorytravel-planner
136ailabs-393/ai-labs-claude-skills
Productivitysame categoryframer-motion
131pproenca/dot-skills
Productivitysame categorywrite-a-prd
128mattpocock/skills
Productivitysame categoryReviews
4.6★★★★★46 reviews- CChaitanya Patil★★★★★Dec 20, 2024
Solid pick for teams standardizing on skills: fact-check is focused, and the summary matches what you get after install.
- NNoah Anderson★★★★★Dec 16, 2024
Solid pick for teams standardizing on skills: fact-check is focused, and the summary matches what you get after install.
- NNoah Li★★★★★Dec 12, 2024
fact-check fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- DDaniel Thomas★★★★★Dec 8, 2024
fact-check has been reliable in day-to-day use. Documentation quality is above average for community skills.
- NNia Khanna★★★★★Nov 27, 2024
fact-check fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- PPiyush G★★★★★Nov 11, 2024
We added fact-check from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- RRahul Santra★★★★★Nov 7, 2024
I recommend fact-check for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- IIsabella Torres★★★★★Nov 7, 2024
We added fact-check from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- HHenry Martinez★★★★★Nov 3, 2024
I recommend fact-check for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- PPratham Ware★★★★★Oct 26, 2024
Useful defaults in fact-check — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 46
1 / 5Discussion
Comments — not star reviews- No comments yet — start the thread.