code-presentation
OfficialMake every generated code block look intentional.
Design & Creative#accessibility#dark mode#syntax highlighting#UI tokens#copy-to-clipboard#code presentation#documentation UX
Authorshipiit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents developer-content from looking generic by enforcing consistent, token-driven, accessibility-aware code-block presentation.
Core Features & Use Cases
- Senior code-block anatomy: terminal/editor/plain chrome variants with captioned figure wrapping for coherent reading and assistive-tech navigation.
- Token-driven syntax highlighting: maps syntax token-types to the project’s existing CSS variables to preserve dark mode contrast and brand alignment.
- Interactive polish: adds a first-class copy button with hover/active/focus/disabled states and safe clipboard feature-detection.
- Readability controls: supports opt-in line numbers and opt-in line highlighting using calibrated subtle tints.
- Choice-aware highlighters: guides selection among hand-rolled tokenization, Shiki, or Prism based on language count, bundle budget, SSR target, and theme control.
Quick Start
Ask Claude to generate or refine a CodeBlock or CodeSample for your UI docs and ensure it uses the project tokens for syntax colors, chrome, and interaction states.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-presentation Download link: https://github.com/shipiit/shipit-ui-design/archive/main.zip#code-presentation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.