AGENTS.md@web/.agents/skills/vercel-composition-patternsA

This file is byte-identical to the first copy the registry indexed, one of 8 indexed copies. Same content hash, so the same checks give both the same grade.

AGENTS.md@web/.agents/skills/vercel-composition-patterns from langfuse/langfuse is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add langfuse/langfuse/web/.agents/skills/vercel-composition-patterns/AGENTS.md@git:20260218.5259d66

Pins git:20260218.5259d66 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
langfuse/langfuse
Path
web/.agents/skills/vercel-composition-patterns/AGENTS.md
Versions recorded
1
Latest version
git:20260218.5259d66, committed Feb 18, 2026
Size
22,627 bytes
Repository stars
37,634
License
a license file GitHub does not identify

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# React Composition Patterns

**Version 1.0.0**  
Engineering  
January 2026

> **Note:**  
> This document is mainly for agents and LLMs to follow when maintaining,  
> generating, or refactoring React codebases using composition. Humans  
> may also find it useful, but guidance here is optimized for automation  
> and consistency by AI-assisted workflows.

---

## Abstract

Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.

---

## Table of Contents

1. [Component Architecture](#1-component-architecture) — **HIGH**
   - 1.1 [Avoid Boolean Prop Proliferation](#11-avoid-boolean-prop-proliferation)
   - 1.2 [Use Compound Components](#12-use-compound-components)
2. [State Management](#2-state-management) — **MEDIUM**
   - 2.1 [Decouple State Management from UI](#21-decouple-state-management-from-ui)
   - 2.2 [Define Generic Context Interfaces for Dependency Injection](#22-define-generic-context-interfaces-for-dependency-injection)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add langfuse/langfuse/web/.agents/skills/vercel-composition-patterns/AGENTS.md@sha256:89e3ddd58fcf99a5

The line at the top of this page pins the label git:20260218.5259d66, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_m5anmciodfbi3avz.svg)](https://markdownregistry.com/a/art_m5anmciodfbi3avz)

3 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in langfuse/langfuse/web/.agents/skills/vercel-composition-patterns/AGENTS.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of AGENTS.md from somewhere else? Ask it: where did my AGENTS.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Feb 18, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260218.5259d66 latest2026-02-18 5259d66 22,627 BA view

Copies

Copies in other repositories

5 files in 5 other repositories hold the exact bytes of one of this file's versions, each committed after this file had them: all of them hold the newest version.

A copy does not update when this file does. Whoever holds one can learn which version it is with the Check your copy box below, or by asking their agent. Matched on exact bytes and commit dates only.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (22627 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

langfuse/langfuse · 37,634 stars · license a license file GitHub does not identify · pushed 2026-11-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_m5anmciodfbi3avz
GET https://markdownregistry.com/api/v1/resolve?ref=langfuse/langfuse/web/.agents/skills/vercel-composition-patterns/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/89e3ddd58fcf99a53a50e25dfd21b8cde1be5f10b7df6bacd3dfa6796932f516

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from langfuse/langfuse

AGENTS.md@.agents AGENTS.md file
langfuse/langfuse · .agents/AGENTS.md
git:20261105.a869249 · audit A · 37,634 stars
add-model-price SKILL.md skill
langfuse/langfuse · .agents/skills/add-model-price/SKILL.md · Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing…
git:20261006.39cb678 · audit A · 37,634 stars
add-to-dependabot-csv SKILL.md skill
langfuse/langfuse · .agents/skills/add-to-dependabot-csv/SKILL.md · Append GitHub Dependabot or Snyk/code-scanning alerts to an existing vulnerability CSV after verifying their API…
git:20261002.3b02ae4 · audit A · 37,634 stars
agent-setup-maintenance SKILL.md skill
langfuse/langfuse · .agents/skills/agent-setup-maintenance/SKILL.md · Shared workflow for editing Langfuse's repo-owned agent setup under `.agents/`. Use when changing AGENTS files, shared…
git:20260921.1357013 · audit A · 37,634 stars
analyze-cloud-costs SKILL.md skill
langfuse/langfuse · .agents/skills/analyze-cloud-costs/SKILL.md · Analyze Langfuse Cloud infrastructure cost structure using Metabase cost marts. Use when asked about cloud spend, AWS…
git:20260511.5e5ed8a · audit A · 37,634 stars
backend-dev-guidelines SKILL.md skill
langfuse/langfuse · .agents/skills/backend-dev-guidelines/SKILL.md · Build or review Langfuse backend code. Use for tRPC routers, public REST APIs, BullMQ processors, services, middleware…
git:20261105.4fa3d2e · audit B · 37,634 stars
changelog-writing SKILL.md skill
langfuse/langfuse · .agents/skills/changelog-writing/SKILL.md · Shared workflow for writing Langfuse changelog entries after a feature is complete. Use when a branch is ready for…
git:20260811.7617df6 · audit A · 37,634 stars
clickhouse-best-practices SKILL.md skill
langfuse/langfuse · .agents/skills/clickhouse-best-practices/SKILL.md · MUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 28 rules that MUST be checked before…
v0.3.0 · audit A · 37,634 stars
code-review SKILL.md skill
langfuse/langfuse · .agents/skills/code-review/SKILL.md · Review Langfuse code changes for correctness, regressions, and best practices.
git:20261004.c37160d · audit A · 37,634 stars
create-repo-agent SKILL.md skill
langfuse/langfuse · .agents/skills/create-repo-agent/SKILL.md · Design, implement, review, or harden Langfuse repo-owned autonomous agents. Use for LLM-powered GitHub Actions…
git:20260729.6d2988f · audit A · 37,634 stars
cursor-agents-workflow SKILL.md skill
langfuse/langfuse · .agents/skills/cursor-agents-workflow/SKILL.md · Human handoff, Linear branch names, reviewable (non-draft) PRs, the `cursor` GitHub label, Claude, Greptile, and Codex…
git:20261105.a869249 · audit A · 37,634 stars
datadog-query-recipes SKILL.md skill
langfuse/langfuse · .agents/skills/datadog-query-recipes/SKILL.md · Research Langfuse production telemetry with reusable Datadog queries. Use for tenant or project activity, API usage…
git:20261119.d535d56 · audit A · 37,634 stars

Every file in langfuse/langfuse

Browse by kind, by grade A, or by owner.