presentation-styling
- Repo stars 56,229
- Author updated Live
- Author repo claude-code-best-practice
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @shanraisshan · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: presentation-styling
description: Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation CSS…
category: engineering
runtime: no special runtime
---
# presentation-styling output preview
## PART A: Task fit
- Use case: Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation CSS classes and HTML patterns used in presentation/index.html. Inside .code-block, use these spans for syntax coloring: runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “CSS Component Classes / Layout / Content Blocks” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation CSS classes and HTML patterns used in presentation/index.html. Inside .code-block, use these spans for syntax coloring: runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “CSS Component Classes / Layout / Content Blocks” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “CSS Component Classes / Layout / Content Blocks”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: presentation-styling
description: Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation CSS…
category: engineering
source: shanraisshan/claude-code-best-practice
---
# presentation-styling
## When to use
- Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation CSS classes and HTML patt…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “CSS Component Classes / Layout / Content Blocks” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "presentation-styling" {
input -> user goal + target files + boundaries + acceptance criteria
context -> CSS Component Classes / Layout / Content Blocks
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Presentation Styling Skill
CSS classes and HTML patterns used in presentation/index.html.
CSS Component Classes
Layout
.two-col— 2-column grid layout with 24px gap.info-grid— 2-column grid for info cards.col-card— Card inside a column (add.goodfor green border,.badfor red border).info-card— Card in an info grid
Content Blocks
.trigger-box— Gray box with dark left border (for key concepts, prerequisites).how-to-trigger— Green box with green border (for "Try This" actions).warning-box— Orange box with warning border (for important warnings).code-block— Dark code display block with monospace font
Lists
.use-cases— Container for icon+text list items.use-case-item— Individual item with icon and text.feature-list— Simple bordered list
Tags & Badges
.matcher-tag— Gray inline pill tag.weight-badge— Green pill badge (auto-injected by JS for weighted slides)
Code Block Syntax Highlighting
Inside .code-block, use these spans for syntax coloring:
<div class="code-block">
<span class="comment"># This is a comment</span>
<span class="key">field_name</span>: <span class="string">value</span>
<span class="cmd">></span> command to run
</div>
.comment— Green (#6a9955) for comments.key— Blue (#9cdcfe) for property names/keys.string— Orange (#ce9178) for string values.cmd— Yellow (#dcdcaa) for commands/prompts
Slide Type Patterns
Content Slide with Two Columns (Good vs Bad)
<div class="slide" data-slide="N" data-weight="5">
<h1>Title</h1>
<div class="two-col">
<div class="col-card bad">
<h4>Before (Vibe Coding)</h4>
<!-- bad example -->
</div>
<div class="col-card good">
<h4>After (Agentic)</h4>
<!-- good example -->
</div>
</div>
</div>
Do not hardcode <span class="weight-badge"> in slide HTML. The presentation JavaScript injects and removes weight badges automatically.
Content Slide with Code Example
<div class="slide" data-slide="N">
<h1>Title</h1>
<div class="trigger-box">
<h4>Key Concept</h4>
<p>Description</p>
</div>
<div class="code-block"><span class="comment"># Example</span>
<span class="key">field</span>: <span class="string">value</span></div>
</div>
Icon List Pattern
<div class="use-cases">
<div class="use-case-item">
<span class="use-case-icon">EMOJI</span>
<div class="use-case-text">
<strong>Title</strong>
<span>Description text</span>
</div>
</div>
</div>
Journey Bar Specific
.journey-bar— Fixed bar below progress bar.journey-bar.hidden— Hidden on title slide- Journey bar color transitions from red (0%) to green (100%) via HSL interpolation
- Weight badges are auto-injected by JS into
h1elements of weighted slides
Decide Fit First
Design Intent
How To Use It
Boundaries And Review