Back to Skills

community-docs

majiayu000
Updated Today
1 views
58
9
58
View on GitHub
Designworddesign

About

This skill provides unverified community observations about undocumented edge cases and framework quirks. Use it as a last resort when official documentation doesn't cover your specific issue, but treat all findings with extreme skepticism. Verified knowledge should ultimately be contributed to official labs documentation.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/community-docs

Copy and paste this command in Claude Code to install this skill

Documentation

Community Docs (Superstitions)

Location: community-docs/ in community-patterns repo

CRITICAL: These are NOT official framework documentation. Always check ~/Code/labs/docs/common/ first.

Community docs capture empirical observations discovered during pattern development - unverified things that seemed to work but may be coincidence or context-specific.

Superstitions (⚠️ Treat With Skepticism)

Location: superstitions/

Single observations only. May be wrong, incomplete, or context-specific.

  • Treat with extreme skepticism
  • May be wrong, incomplete, or context-specific
  • Each has prominent warning disclaimer
  • Try if completely stuck, but verify thoroughly

When to Consult Superstitions

After checking official labs/docs/ first:

  • Encountering undocumented edge cases
  • Framework behaving unexpectedly
  • TypeScript errors not explained in official docs
  • Before creating new superstition (check if already documented)

Do NOT consult before official docs - labs/docs/ is always more authoritative!

Searching Superstitions

# Search superstitions
grep -r "Cell.*handler" community-docs/superstitions/

# List superstitions by topic
ls community-docs/superstitions/ | grep "types-"
ls community-docs/superstitions/ | grep "reactivity-"

If a Superstition Works

Upstream it to labs docs instead of keeping it here:

  1. Identify the appropriate doc in ~/Code/labs/docs/common/
  2. Add the information to that doc
  3. Create a PR to labs
  4. Once merged, delete the superstition

The goal is for verified knowledge to live in official docs, not here.

Creating a New Superstition

Only after solving something not in any docs:

  1. Search first - Check it's not already documented:

    grep -r "your topic" ~/Code/labs/docs/common/
    grep -r "your topic" community-docs/superstitions/
    
  2. Create file: community-docs/superstitions/YYYY-MM-DD-topic-brief-description.md

    • Use topic prefixes: types-, reactivity-, jsx-, handlers-, llm-, patterns-, etc.
  3. Copy template from community-docs/superstitions/README.md

  4. Include full ⚠️ disclaimer at top

  5. Document:

    • What problem you had
    • What you tried that didn't work
    • What solution seemed to work
    • Code examples (before/after)
    • Your context
    • Related official docs
  6. Commit: "Add superstition: [brief description]"

Remember: You're creating a hypothesis, not stating fact! Be humble about uncertainty.

Deprecated Tiers

The blessed/ and folk_wisdom/ directories are deprecated. Previously we had a three-tier promotion system. Now, verified knowledge should be upstreamed directly to labs docs.

Important Notes

Skepticism is critical:

  • Superstitions may be wrong or context-specific
  • Always prefer official labs/docs/ when they exist

Do NOT:

  • Trust superstitions blindly
  • Skip checking official docs first
  • Create superstition for things in official docs

DO:

  • Read disclaimer on every superstition
  • Verify against official docs
  • Test thoroughly before relying on it
  • Upstream verified knowledge to labs docs

Superstitions are a safety net for edge cases, not a primary reference!

Related Skills

  • recovery-strategies - Use superstitions as part of recovery escalation
  • pattern-dev - Reference when stuck on implementation

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/community-docs

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

creating-opencode-plugins

Meta

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill

Algorithmic Art Generation

Meta

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

View skill