Repository navigation
docs: Add playground demos skill - #4515
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
A docs/** glob loaded it on every docs edit; a skill triggers only on demo work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Requested by Nathaniel · project thread
Motivation
Agents writing docs playground demos had no written goal for what a demo is for. Review corrections (no captions, skeletons, real APIs behind fixtures, best-practice code,
rowlayout, no demo-specific Playground props) were not written down anywhere agents would read them.Solution
.agents/skills/playground-demos(Claude Code sees it through the.claude/skillslink). It triggers on intent: adding, redesigning or reviewing a docs demo, or coming up with a new demo idea.docs/**/*.mdwould have loaded it on every docs prose edit.Assumptions and validation
validate_skill.py(skills-best-practices) passes: 250-char description, 24 body lines (high certainty).internal: trueskills (high).🤖 Generated with Claude Code
https://claude.ai/code/session_01Y5C5ZD92iQGvdD3nbCEnXG
Note
Low Risk
Documentation-only internal agent skill; no application code, APIs, or user-facing behavior changes.
Overview
Adds a new internal agent skill at
.agents/skills/playground-demos/SKILL.mdso Claude Code (via.claude/skills) has written guidance when adding, redesigning, or reviewing docs/homepage playground demos.The skill states the goal: demos soft-sell Data Client first and teach by example (users and agents copy the code). It defines criteria for use case, mechanism, look (design system, no inline styles), scope, and when new demo ideas need high-effort ideation.
It codifies review conventions that were previously only in PR feedback: no captions/narration, skeleton loading states, real API URLs with
website/src/fixtures/interception, production-quality example code, preferrowlayout over code-hiddendemo, no new Playground props for one-off needs, and mobile + both themes. Implementation details stay in the linked Playground README.Reviewed by Cursor Bugbot for commit ba2bec7. Bugbot is set up for automated code reviews on this repo. Configure here.