Skip to content

Maros112358/scepticagent / .claude/skills/scepticagent-styles

scepticagent-styles

Verified

ScepticAgent UI and styles reference. Use whenever the user wants to change the side panel UI, modify highlight colours, update the markdown renderer, work with CSS architecture, add or change category colours, or understand how the sidepanel renders analysis output.

Highlight categories

CategoryCSS class suffixColorMeaning
misinformationmisinformation#ff6b6b (red)False, misleading, or lacking critical context
emotionalemotional#ffa94d (orange)Fear appeals, outrage bait, us-vs-them framing
biasbias#ffd43b (yellow)Biased framing, selective emphasis, loaded language
supportedsupported#69db7c (green)Well-supported, verified claim
logicallogical#da77f2 (purple)Internal contradiction, non-sequitur, false dichotomy

All five category colours are duplicated across four CSS selectors each: .scan-pill.{cat}, .hl-dot.{cat}, .hl-item-dot.{cat}, .summary-bullet-{cat}


Markdown renderer (sidepanel/app.js — renderMarkdown function)

  • listType is a string ("ul" / "ol" / null) — not a boolean. The closeList() helper checks if (listType).
  • List items are matched against trimmed lines (after .trim()), not raw lines — required to handle indented list items correctly.
  • ## heading lines → collapsible <h2> + <div class="section-body">. Clicking the heading toggles .collapsed class, which hides the body via CSS.
  • Blank lines → <br> (not </p><p>).
  • Links: [text](url) → <a target="_blank" rel="noopener noreferrer">.
  • Analysis preamble appearing before the first \n## heading is skipped entirely and not rendered — the renderer starts output from the first ## section.

CSS architecture (sidepanel/style.css)

Dark theme palette (hardcoded — no CSS custom properties):

RoleValue
Background#1a1b1e
Surface (cards, inputs)#25262b
Border#373a40
Primary text#c9d1d9
Accent blue#4dabf7

Key component classes:

  • #highlight-summary — summary card: background: #25262b, border: 1px solid #373a40, border-radius: 8px
  • .section-body — collapsible analysis section body, hidden when parent <h2> has .collapsed
  • .scan-pill — top-of-panel category pill counts (e.g. "3 misinformation")
  • .hl-item — individual highlight entry in the list
  • .hl-dot / .hl-item-dot — colored dot next to a highlight

Note: There are no CSS custom properties (--var) in this codebase. All colour values are hardcoded literals. When adding new colours, continue this pattern.

brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall