Skip to content

code-yeongyu/oh-my-openagent / packages/shared-skills/skills/frontend

frontend

Flagged

Builds, styles, and polishes anything drawn with HTML, CSS, or SVG: web UI, pages, components, HTML reports rendered to PDF or print, figures, PNG/SVG diagrams, slides, and images for Notion or Slack. Use for any styling, layout, animation, or visual-quality task, or when asked to make something look or feel a certain way.

FileKindSize
.gitignoreother1.2 KB
.npmignoreother563 B
ATTRIBUTION.mdmarkdown20.0 KB
LICENSE-Apache-2.0.txtmarkdown11.0 KB
SKILL.mdskill md26.4 KB
references/design/README.mdmarkdown17.0 KB
references/design/_INDEX.mdmarkdown17.6 KB
references/design/ambience-skill.mdmarkdown18.0 KB
references/design/aside.mdmarkdown12.5 KB
references/design/clone-from-url.mdmarkdown5.3 KB
references/design/component-catalogs.mdmarkdown11.2 KB
references/design/design-system-architecture.mdmarkdown15.7 KB
references/design/grounding.mdmarkdown3.7 KB
references/design/interaction-skill.mdmarkdown16.1 KB
references/design/layout-skill.mdmarkdown8.3 KB
references/design/lazyweb.mdmarkdown3.8 KB
references/design/print-paged-media.mdmarkdown6.8 KB
references/design/react-dev-tooling-skill.mdmarkdown8.5 KB
references/design/stylegallery.mdmarkdown4.3 KB
references/designpowers/EVIDENCE.mdmarkdown3.7 KB
references/designpowers/README.mdmarkdown3.7 KB
references/designpowers/UPSTREAM.mdmarkdown2.2 KB
references/designpowers/lane-a-direction.mdmarkdown5.3 KB
references/designpowers/lane-b-execution.mdmarkdown5.6 KB
references/designpowers/lane-c-review.mdmarkdown5.4 KB
references/designpowers/lane-d-memory.mdmarkdown5.0 KB
references/designpowers/orchestration.mdmarkdown5.3 KB
references/designpowers/routing.mdmarkdown5.2 KB
references/perfection/README.mdmarkdown12.2 KB
references/perfection/craft-floor.mdmarkdown6.4 KB
references/perfection/detect.mdmarkdown3.9 KB
references/perfection/react-perf-tooling.mdmarkdown8.3 KB
scripts/detect/cli.tsscript3.0 KB
scripts/detect/config.test.tsscript1.4 KB
scripts/detect/config.tsscript3.0 KB
scripts/detect/core/characters.tsscript157 B
scripts/detect/core/color.test.tsscript1.1 KB
scripts/detect/core/color.tsscript7.1 KB
scripts/detect/core/page.tsscript3.7 KB
scripts/detect/core/shadow.tsscript1.5 KB
scripts/detect/core/source.tsscript1.4 KB
scripts/detect/detect.tsscript3.5 KB
scripts/detect/index.tsscript1.1 KB
scripts/detect/lint.test.tsscript1.2 KB
scripts/detect/lint.tsscript4.2 KB
scripts/detect/render/probe-placement.test.tsscript1.6 KB
scripts/detect/render/probe-placement.tsscript1.9 KB
scripts/detect/render/renderer.tsscript1.4 KB
scripts/detect/render/webview.tsscript3.4 KB
scripts/detect/report.tsscript1.0 KB
scripts/detect/rule.tsscript1.4 KB
scripts/detect/rules/color/ai-color-palette.test.tsscript5.2 KB
scripts/detect/rules/color/ai-color-palette.tsscript6.5 KB
scripts/detect/rules/color/cream-palette.test.tsscript1.5 KB
scripts/detect/rules/color/cream-palette.tsscript2.3 KB
scripts/detect/rules/color/dark-glow.test.tsscript3.2 KB
scripts/detect/rules/color/dark-glow.tsscript3.0 KB
scripts/detect/rules/color/design-system-color.test.tsscript1.6 KB
scripts/detect/rules/color/design-system-color.tsscript1.8 KB
scripts/detect/rules/color/gradient-text.test.tsscript2.6 KB
scripts/detect/rules/color/gradient-text.tsscript3.4 KB
scripts/detect/rules/color/gray-on-color.test.tsscript2.7 KB
scripts/detect/rules/color/gray-on-color.tsscript2.2 KB
scripts/detect/rules/color/index.tsscript685 B
scripts/detect/rules/color/low-contrast.test.tsscript17.0 KB
scripts/detect/rules/color/low-contrast.tsscript5.0 KB
scripts/detect/rules/color/placeholder-contrast.test.tsscript5.3 KB
scripts/detect/rules/color/radial-halo.test.tsscript2.5 KB
scripts/detect/rules/color/radial-halo.tsscript2.3 KB
scripts/detect/rules/color/radial-spotlight-glow.test.tsscript2.3 KB
scripts/detect/rules/color/radial-spotlight-glow.tsscript2.1 KB
scripts/detect/rules/color/support/animation-opacity.tsscript4.3 KB
scripts/detect/rules/color/support/color-path.tsscript869 B
scripts/detect/rules/color/support/contrast-pairs.tsscript3.1 KB
scripts/detect/rules/color/support/contrast-role.tsscript5.6 KB
scripts/detect/rules/color/support/glow-forms.tsscript3.8 KB
scripts/detect/rules/color/support/gradient-samples.tsscript6.5 KB
scripts/detect/rules/color/support/gradients.tsscript4.1 KB
scripts/detect/rules/color/support/mockup-roots.tsscript5.5 KB
scripts/detect/rules/color/support/page-ignore.tsscript457 B
scripts/detect/rules/color/support/painted-text.tsscript8.3 KB
scripts/detect/rules/color/support/palette-roles.tsscript3.6 KB
scripts/detect/rules/color/support/placeholder-contrast.tsscript2.0 KB
scripts/detect/rules/color/support/stock-accent.tsscript2.5 KB
scripts/detect/rules/color/support/text-colors.tsscript4.7 KB
scripts/detect/rules/copy/aphoristic-cadence.test.tsscript1.1 KB
scripts/detect/rules/copy/aphoristic-cadence.tsscript993 B
scripts/detect/rules/copy/broken-image.test.tsscript1.4 KB
scripts/detect/rules/copy/broken-image.tsscript902 B
scripts/detect/rules/copy/em-dash-overuse.test.tsscript2.4 KB
scripts/detect/rules/copy/em-dash-overuse.tsscript2.8 KB
scripts/detect/rules/copy/index.tsscript768 B
scripts/detect/rules/copy/marketing-buzzword.test.tsscript1.1 KB
scripts/detect/rules/copy/marketing-buzzword.tsscript1.6 KB
scripts/detect/rules/copy/numbered-section-labels.test.tsscript3.6 KB
scripts/detect/rules/copy/numbered-section-labels.tsscript2.4 KB
scripts/detect/rules/copy/repeated-container-text.test.tsscript2.5 KB
scripts/detect/rules/copy/repeated-container-text.tsscript3.6 KB
scripts/detect/rules/copy/script-error.test.tsscript3.3 KB
scripts/detect/rules/copy/script-error.tsscript1.7 KB
scripts/detect/rules/copy/skipped-heading.test.tsscript3.0 KB
scripts/detect/rules/copy/skipped-heading.tsscript8.3 KB
scripts/detect/rules/copy/support/numbered-label.tsscript5.4 KB
scripts/detect/rules/copy/support/page-text.tsscript1.8 KB
scripts/detect/rules/copy/theater-slop-phrase.test.tsscript1.1 KB
scripts/detect/rules/copy/theater-slop-phrase.tsscript1.2 KB
scripts/detect/rules/decoration/blinking-cursor.test.tsscript2.1 KB
scripts/detect/rules/decoration/blinking-cursor.tsscript2.3 KB
scripts/detect/rules/decoration/border-accent-on-rounded.test.tsscript1.3 KB
scripts/detect/rules/decoration/border-accent-on-rounded.tsscript556 B
scripts/detect/rules/decoration/bounce-easing.test.tsscript3.5 KB
scripts/detect/rules/decoration/bounce-easing.tsscript5.0 KB
scripts/detect/rules/decoration/buried-raster.test.tsscript5.1 KB
scripts/detect/rules/decoration/buried-raster.tsscript3.5 KB
scripts/detect/rules/decoration/codex-grid-background.test.tsscript1.1 KB
scripts/detect/rules/decoration/codex-grid-background.tsscript1.3 KB
scripts/detect/rules/decoration/design-system-radius.test.tsscript1.2 KB
scripts/detect/rules/decoration/design-system-radius.tsscript1.3 KB
scripts/detect/rules/decoration/gpt-thin-border-wide-shadow.test.tsscript2.4 KB
scripts/detect/rules/decoration/gpt-thin-border-wide-shadow.tsscript2.9 KB
scripts/detect/rules/decoration/hard-offset-shadow.test.tsscript2.2 KB
scripts/detect/rules/decoration/hard-offset-shadow.tsscript1.2 KB
scripts/detect/rules/decoration/hero-eyebrow-chip.test.tsscript2.6 KB
scripts/detect/rules/decoration/hero-eyebrow-chip.tsscript754 B
scripts/detect/rules/decoration/icon-tile-stack.test.tsscript2.8 KB
scripts/detect/rules/decoration/icon-tile-stack.tsscript3.5 KB
scripts/detect/rules/decoration/index.tsscript1.3 KB
scripts/detect/rules/decoration/kicker-above-heading.test.tsscript5.0 KB
scripts/detect/rules/decoration/kicker-above-heading.tsscript2.8 KB
scripts/detect/rules/decoration/marquee.test.tsscript2.9 KB
scripts/detect/rules/decoration/marquee.tsscript2.8 KB
scripts/detect/rules/decoration/organic-clip-path.test.tsscript2.7 KB
scripts/detect/rules/decoration/organic-clip-path.tsscript1.9 KB
scripts/detect/rules/decoration/pulsing-dot.test.tsscript3.2 KB
scripts/detect/rules/decoration/pulsing-dot.tsscript4.4 KB
scripts/detect/rules/decoration/repeating-stripes-gradient.test.tsscript1.1 KB
scripts/detect/rules/decoration/repeating-stripes-gradient.tsscript973 B
scripts/detect/rules/decoration/shape-assembled-illustration.test.tsscript2.5 KB
scripts/detect/rules/decoration/shape-assembled-illustration.tsscript3.0 KB
scripts/detect/rules/decoration/side-tab.test.tsscript4.4 KB
scripts/detect/rules/decoration/side-tab.tsscript747 B
scripts/detect/rules/decoration/support/appearance.tsscript3.9 KB
scripts/detect/rules/decoration/support/assert-cases.tsscript1.3 KB
scripts/detect/rules/decoration/support/borders.tsscript6.9 KB
scripts/detect/rules/decoration/support/clip-geometry.tsscript5.9 KB
scripts/detect/rules/decoration/support/css-candidates.tsscript2.7 KB
scripts/detect/rules/decoration/support/curve-samples.tsscript2.1 KB
scripts/detect/rules/decoration/support/gradient-pattern.tsscript1.7 KB
scripts/detect/rules/decoration/support/keyframes.tsscript5.8 KB
scripts/detect/rules/decoration/support/labels.tsscript4.2 KB
scripts/detect/rules/decoration/support/raster-state.tsscript3.4 KB
scripts/detect/rules/index.tsscript452 B
scripts/detect/rules/layout/body-text-viewport-edge.test.tsscript4.5 KB
scripts/detect/rules/layout/body-text-viewport-edge.tsscript4.4 KB
scripts/detect/rules/layout/clipped-overflow-container.test.tsscript2.7 KB
scripts/detect/rules/layout/clipped-overflow-container.tsscript945 B
scripts/detect/rules/layout/content-hidden-at-rest.test.tsscript4.1 KB
scripts/detect/rules/layout/content-hidden-at-rest.tsscript4.9 KB
scripts/detect/rules/layout/cramped-padding.test.tsscript4.9 KB
scripts/detect/rules/layout/cramped-padding.tsscript6.8 KB
scripts/detect/rules/layout/edge-flush-cards.test.tsscript2.5 KB
scripts/detect/rules/layout/edge-flush-cards.tsscript3.4 KB
scripts/detect/rules/layout/first-viewport-column-overflow.test.tsscript2.1 KB
scripts/detect/rules/layout/first-viewport-column-overflow.tsscript3.2 KB
scripts/detect/rules/layout/heading-rhythm.test.tsscript4.2 KB
scripts/detect/rules/layout/heading-rhythm.tsscript1.9 KB
scripts/detect/rules/layout/index.tsscript1.1 KB
scripts/detect/rules/layout/monotonous-spacing.test.tsscript1.3 KB
scripts/detect/rules/layout/monotonous-spacing.tsscript2.0 KB
scripts/detect/rules/layout/nested-cards.test.tsscript4.1 KB
scripts/detect/rules/layout/nested-cards.tsscript2.6 KB
scripts/detect/rules/layout/straggler.test.tsscript2.1 KB
scripts/detect/rules/layout/straggler.tsscript1.8 KB
scripts/detect/rules/layout/support/cards.tsscript7.2 KB
scripts/detect/rules/layout/support/clipping.tsscript4.8 KB
scripts/detect/rules/layout/support/declared-mockups.tsscript4.9 KB
scripts/detect/rules/layout/support/geometry.tsscript4.9 KB
scripts/detect/rules/layout/support/hidden-interface.tsscript2.5 KB
scripts/detect/rules/layout/support/layout-cases.tsscript1.3 KB
scripts/detect/rules/layout/support/line-breaks.tsscript1.7 KB
scripts/detect/rules/layout/support/motion.tsscript4.1 KB
scripts/detect/rules/layout/support/padding.tsscript5.1 KB
scripts/detect/rules/layout/support/rhythm.tsscript9.0 KB
scripts/detect/rules/layout/text-occlusion.test.tsscript2.9 KB
scripts/detect/rules/layout/text-occlusion.tsscript5.2 KB
scripts/detect/rules/layout/text-overflow.test.tsscript6.0 KB
scripts/detect/rules/layout/text-overflow.tsscript4.9 KB
scripts/detect/rules/layout/unbalanced-heading.test.tsscript1.3 KB
scripts/detect/rules/layout/unbalanced-heading.tsscript1.3 KB
scripts/detect/rules/layout/viewport-reflow.test.tsscript2.0 KB
scripts/detect/rules/layout/viewport-reflow.tsscript1.8 KB
scripts/detect/rules/source/ai-color-palette.test.tsscript564 B
scripts/detect/rules/source/ai-color-palette.tsscript888 B
scripts/detect/rules/source/aphoristic-cadence.test.tsscript622 B
scripts/detect/rules/source/aphoristic-cadence.tsscript984 B
scripts/detect/rules/source/border-accent-on-rounded.test.tsscript776 B
scripts/detect/rules/source/border-accent-on-rounded.tsscript1.5 KB
scripts/detect/rules/source/bounce-easing.test.tsscript1.1 KB
scripts/detect/rules/source/bounce-easing.tsscript1.8 KB
scripts/detect/rules/source/broken-image.test.tsscript1.2 KB

scripts/detect/core/color.ts

View on GitHub
export type Rgba = { readonly r: number; readonly g: number; readonly b: number; readonly a: number }

export const TRANSPARENT: Rgba = { r: 0, g: 0, b: 0, a: 0 }
export const WHITE: Rgba = { r: 255, g: 255, b: 255, a: 1 }

const clamp255 = (n: number): number => Math.max(0, Math.min(255, n))

function parseHex(hex: string): Rgba | null {
  const h = hex.slice(1)
  const full = h.length === 3 || h.length === 4 ? [...h].map((c) => c + c).join("") : h
  if (!/^[0-9a-f]{6}([0-9a-f]{2})?$/i.test(full)) return null
  const n = (i: number): number => Number.parseInt(full.slice(i, i + 2), 16)
  return { r: n(0), g: n(2), b: n(4), a: full.length === 8 ? n(6) / 255 : 1 }
}

function channel(token: string, scale: number): number {
  return token.endsWith("%") ? (Number.parseFloat(token) / 100) * scale : Number.parseFloat(token)
}

function oklabToRgb(l: number, a: number, b: number): readonly [number, number, number] {
  const l_ = (l + 0.3963377774 * a + 0.2158037573 * b) ** 3
  const m_ = (l - 0.1055613458 * a - 0.0638541728 * b) ** 3
  const s_ = (l - 0.0894841775 * a - 1.291485548 * b) ** 3
  const lin = [
    4.0767416621 * l_ - 3.3077115913 * m_ + 0.2309699292 * s_,
    -1.2684380046 * l_ + 2.6097574011 * m_ - 0.3413193965 * s_,
    -0.0041960863 * l_ - 0.7034186147 * m_ + 1.707614701 * s_,
  ] as const
  const gamma = (c: number): number => clamp255(255 * (c <= 0.0031308 ? 12.92 * c : 1.055 * c ** (1 / 2.4) - 0.055))
  return [gamma(lin[0]), gamma(lin[1]), gamma(lin[2])]
}

type Vec3 = readonly [number, number, number]
const mul = (m: readonly Vec3[], v: Vec3): Vec3 => {
  const row = (i: number): Vec3 => m[i] ?? [0, 0, 0]
  const dot = (r: Vec3): number => r[0] * v[0] + r[1] * v[1] + r[2] * v[2]
  return [dot(row(0)), dot(row(1)), dot(row(2))]
}
const XYZ_D65_TO_LINEAR_SRGB: readonly Vec3[] = [
  [3.2409699419, -1.5373831776, -0.4986107603],
  [-0.9692436363, 1.8759675015, 0.0415550574],
  [0.0556300797, -0.2039769589, 1.0569715142],
]
const LINEAR_P3_TO_XYZ_D65: readonly Vec3[] = [
  [0.4865709486, 0.2656676932, 0.1982172852],
  [0.2289745641, 0.6917385218, 0.0792869141],
  [0, 0.0451133819, 1.0439443689],
]
const XYZ_D50_TO_D65: readonly Vec3[] = [
  [0.9554734528, -0.0230985368, 0.0632593086],
  [-0.0283697094, 1.009995458, 0.021041399],
  [0.0123140016, -0.0205076964, 1.3303659366],
]
const toLinear = (c: number): number =>
  Math.abs(c) <= 0.04045 ? c / 12.92 : Math.sign(c) * ((Math.abs(c) + 0.055) / 1.055) ** 2.4
const encode = (lin: Vec3): Vec3 => {
  const gamma = (c: number): number => clamp255(255 * (c <= 0.0031308 ? 12.92 * c : 1.055 * c ** (1 / 2.4) - 0.055))
  return [gamma(lin[0]), gamma(lin[1]), gamma(lin[2])]
}

function labToRgb(l: number, a: number, b: number): Vec3 {
  const fy = (l + 16) / 116
  const [fx, fz] = [fy + a / 500, fy - b / 200]
  const inv = (t: number): number => (t ** 3 > 216 / 24389 ? t ** 3 : (116 * t - 16) / (24389 / 27))
  const xyzD50: Vec3 = [
    (0.3457 / 0.3585) * inv(fx),
    l > 8 ? fy ** 3 : l / (24389 / 27),
    ((1 - 0.3457 - 0.3585) / 0.3585) * inv(fz),
  ]
  return encode(mul(XYZ_D65_TO_LINEAR_SRGB, mul(XYZ_D50_TO_D65, xyzD50)))
}

function predefinedToRgb(space: string, c: Vec3): Vec3 | null {
  if (space === "srgb") return [clamp255(c[0] * 255), clamp255(c[1] * 255), clamp255(c[2] * 255)]
  if (space === "srgb-linear") return encode(c)
  if (space === "display-p3")
    return encode(
      mul(XYZ_D65_TO_LINEAR_SRGB, mul(LINEAR_P3_TO_XYZ_D65, [toLinear(c[0]), toLinear(c[1]), toLinear(c[2])])),
    )
  return null
}

/** Parses the color forms getComputedStyle returns (rgb/rgba, color(srgb | srgb-linear | display-p3), lab/lch, oklab/oklch) plus hex and `transparent`; other spaces return null. Out-of-gamut values are clamped to sRGB. */
export function parseColor(input: string): Rgba | null {
  const s = input.trim().toLowerCase()
  if (s === "transparent") return TRANSPARENT
  if (s.startsWith("#")) return parseHex(s)
  const m = /^(rgba?|color|oklab|oklch|lab|lch)\((.*)\)$/.exec(s)
  if (!m) return null
  const [, fn, body = ""] = m
  const [main = "", alphaPart] = body.split("/")
  const parts = main.replace(/,/g, " ").split(/\s+/).filter(Boolean)
  const commaAlpha = fn?.startsWith("rgb") && parts.length === 4 ? parts[3] : undefined
  const alphaToken = alphaPart?.trim() ?? commaAlpha
  const a = alphaToken === undefined ? 1 : channel(alphaToken, 1)
  if (fn === "rgb" || fn === "rgba")
    return { r: channel(parts[0] ?? "0", 255), g: channel(parts[1] ?? "0", 255), b: channel(parts[2] ?? "0", 255), a }
  if (fn === "color") {
    const rgb = predefinedToRgb(parts[0] ?? "", [
      channel(parts[1] ?? "0", 1),
      channel(parts[2] ?? "0", 1),
      channel(parts[3] ?? "0", 1),
    ])
    return rgb ? { r: rgb[0], g: rgb[1], b: rgb[2], a } : null
  }
  if (fn === "lab" || fn === "lch") {
    const l = channel(parts[0] ?? "0", 100)
    const [q1, q2] = [Number.parseFloat(parts[1] ?? "0"), Number.parseFloat(parts[2] ?? "0")]
    const [la, lb] =
      fn === "lch" ? [q1 * Math.cos((q2 * Math.PI) / 180), q1 * Math.sin((q2 * Math.PI) / 180)] : [q1, q2]
    const [r, g, b] = labToRgb(l, la, lb)
    return { r, g, b, a }
  }
  const l = channel(parts[0] ?? "0", 1)
  const [p1, p2] = [Number.parseFloat(parts[1] ?? "0"), Number.parseFloat(parts[2] ?? "0")]
  const [oa, ob] =
    fn === "oklch" ? [p1 * Math.cos((p2 * Math.PI) / 180), p1 * Math.sin((p2 * Math.PI) / 180)] : [p1, p2]
  const [r, g, b] = oklabToRgb(l, oa, ob)
  return { r, g, b, a }
}

/** Source-over compositing of `top` onto an opaque `bottom`. */
export function blend(top: Rgba, bottom: Rgba): Rgba {
  const a = top.a + bottom.a * (1 - top.a)
  if (a === 0) return TRANSPARENT
  const mix = (t: number, b: number): number => (t * top.a + b * bottom.a * (1 - top.a)) / a
  return { r: mix(top.r, bottom.r), g: mix(top.g, bottom.g), b: mix(top.b, bottom.b), a }
}

/** WCAG 2.x relative luminance. */
export function luminance(c: Rgba): number {
  const lin = (v: number): number => {
    const s = v / 255
    return s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4
  }
  return 0.2126 * lin(c.r) + 0.7152 * lin(c.g) + 0.0722 * lin(c.b)
}

/** WCAG 2.x contrast ratio between two opaque colors, 1..21. */
export function contrastRatio(a: Rgba, b: Rgba): number {
  const [hi, lo] = [luminance(a), luminance(b)].sort((x, y) => y - x)
  return ((hi ?? 0) + 0.05) / ((lo ?? 0) + 0.05)
}

export function toHsl(c: Rgba): { readonly h: number; readonly s: number; readonly l: number } {
  const [r, g, b] = [c.r / 255, c.g / 255, c.b / 255]
  const max = Math.max(r, g, b)
  const min = Math.min(r, g, b)
  const l = (max + min) / 2
  if (max === min) return { h: 0, s: 0, l }
  const d = max - min
  const s = l > 0.5 ? d / (2 - max - min) : d / (max + min)
  const h = max === r ? (g - b) / d + (g < b ? 6 : 0) : max === g ? (b - r) / d + 2 : (r - g) / d + 4
  return { h: h * 60, s, l }
}

/** Every color literal inside a computed value such as `box-shadow` or `background-image`. */
export function colorsIn(value: string): readonly Rgba[] {
  const out: Rgba[] = []
  for (const m of value.matchAll(/(rgba?|color|oklab|oklch|lab|lch)\([^()]*\)|#[0-9a-f]{3,8}\b/gi)) {
    const c = parseColor(m[0])
    if (c) out.push(c)
  }
  return out
}
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall