Skip to main content

playground-demos

Choose and write live playground demos for the dataclient.io docs site and homepage (HooksPlayground examples, the homepage demo, their fixtures). Use when adding, redesigning or reviewing a docs demo, or coming up with a new demo idea for a feature.

소스 정보

저장소
reactive/data-client
최근 소스 활동
2026년 10월 29일 01:53
감지된 SKILL.md 언어
영어
스타
2,040
포크
98

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
playground-demos
description
Choose and write live playground demos for the dataclient.io docs site and homepage (HooksPlayground examples, the homepage demo, their fixtures). Use when adding, redesigning or reviewing a docs demo, or coming up with a new demo idea for a feature.
metadata
{"internal":true}
# Playground demos How playgrounds work is in the [Playground README](../../../website/src/components/Playground/README.md), mainly its Layouts and Design system sections. ## Goal A demo soft-sells Data Client first and teaches users and agents how to use it second. People copy what they see and agents copy the code, so both teach. - **Use case**: one where the preview clearly shows the feature's advantage over the alternative. - **Mechanism**: easy to see how it works and why it's better. - **Look**: very beautiful, built from the playground design system, with no inline styles or CSS in the example code. - **Scope**: as simple as possible while still showing maximum value, utility and related features. - **New ideas**: inventing one needs at least high reasoning effort. At lower or unknown effort, hand the ideation to a high-effort subagent or ask the user. ## Conventions - The demo makes its point without captions or narration text. If it needs them, pick another use case. - Loading states are skeletons (`<Loading />`, `skeleton`), not "Loading…" text. - A demo of a real public API calls its real URL, intercepted by a fixture in `website/src/fixtures/`, so copied code works. - The code follows the practices a careful app would, even where the demo could skip them, because readers copy it. - Use the `row` layout, with one uncollapsed file, when the code is the lesson. Use `demo`, which hides the code, only when the point is purely visual, and ask the user first. - Anything extra a demo needs goes in the demo code with a design-system component, never a new Playground prop. - Check phone width and both themes.
GitHub에서 보기