Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Reference Patterns

БесплатноНе проверен

Provides access to self-contained, runnable implementation patterns across multiple programming languages via MCP tools for searching and retrieving documentati

GitHubEmbed

Описание

Provides access to self-contained, runnable implementation patterns across multiple programming languages via MCP tools for searching and retrieving documentation and code examples.

README

Personal reference of implementation and testing patterns across languages (TypeScript, Go, Protobuf — Rust and more as they come). Each pattern is a self-contained, runnable example documented in its PATTERN.md, meant to be consumed from other projects through MCP.

Layout

<language>/<category>/<pattern-slug>/
├── PATTERN.md    # frontmatter (name, tags, description, origin, test command) + Problem/Solution/Path/Key points
└── ...           # runnable code with its own manifest (package.json, go.mod, buf.yaml, ...)
  • llms.txt is the generated index of every pattern — this is what MCP clients read first.
  • Patterns never depend on each other.
  • Each language directory is a workspace managed by its native tool: pnpm-workspace.yaml (with a catalog: as the single place to bump TypeScript dependency versions), go.work, and per-crate Cargo for Rust. One root pnpm install covers every TypeScript pattern; bumping a catalog version + running ./scripts/test-all.sh re-verifies the whole reference at once. Toolchains needed locally: node + pnpm, go, buf, rust + cargo.

Consume via MCP (GitMCP)

This repo is served as an MCP server by GitMCP — no hosting, it reads the public repo directly. From any project:

claude mcp add --transport http patterns https://gitmcp.io/Skayfa/reference-patterns

or in mcpServers:

"patterns": {
  "type": "http",
  "url": "https://gitmcp.io/Skayfa/reference-patterns"
}

Exposed tools: fetch_reference_docs (returns llms.txt), search_reference_docs, search_reference_code, fetch_generic_url_content.

Add a pattern

  1. Copy templates/pattern/PATTERN.md into <language>/<category>/<slug>/.
  2. Fill the frontmatter — description is what MCP search matches against; origin records where the pattern was distilled from (source project + month); test is the command scripts/test-all.sh runs from the pattern directory (none for docs-only patterns).
  3. Add the runnable code with its own manifest. TypeScript patterns are picked up by the workspace glob automatically — use "catalog:" versions (add new entries to pnpm-workspace.yaml) and test: pnpm test.
  4. ./scripts/generate-llms.sh to refresh the index.
  5. ./scripts/test-all.sh — everything must pass before pushing.

Test everything

./scripts/test-all.sh

from github.com/Skayfa/reference-patterns

Установка Reference Patterns

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Skayfa/reference-patterns

FAQ

Reference Patterns MCP бесплатный?

Да, Reference Patterns MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Reference Patterns?

Нет, Reference Patterns работает без API-ключей и переменных окружения.

Reference Patterns — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Reference Patterns в Claude Desktop, Claude Code или Cursor?

Открой Reference Patterns на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Reference Patterns with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development