victorzhuk/skills

z-open-graph

Open Graph metadata for shared-link previews.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/victorzhuk/skills --skill z-open-graph

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Open Graph previews

Identify the target sharing platforms before choosing image constraints or diagnosing preview behavior.

Find the metadata owner

  • Inspect templates, framework metadata APIs, CMS plugins, and generated image routes.
  • Use one authoritative emitter for each page's metadata. Remove conflicting output at its source.
  • Derive titles, descriptions, and URLs from the same published content as the page.
  • Inspect the HTTP response delivered to the target crawler. A hydrated browser DOM alone is insufficient evidence.
  • In Next.js, inspect streaming metadata and bot detection before changing rendering behavior.
  • Verify image and page responses through the deployed proxy or CDN when available.

Implement the protocol

Emit Open Graph metadata with property and content attributes in the document head.

PropertyRule
og:titleRequire a truthful title for the shared object.
og:typeRequire a supported type. Verify any additional properties that type requires.
og:imageRequire a representative image URL.
og:urlRequire the object's canonical URL and stable identity.
og:descriptionAdd a concise description supported by the page content.
og:site_nameUse the verified site name when appropriate.
og:localeUse language_TERRITORY syntax when supplied.
og:locale:alternateRepeat for alternate locales that actually exist.
  • Include og:image:alt describing the image.
  • Supply verified image dimensions and media type through the corresponding structured properties.
  • Place each image's structured properties immediately after its og:image tag.
  • Repeat root properties for multiple values. Put the preferred value first, as the protocol gives it precedence during conflicts.
  • Keep og:url consistent with the intended canonical page. Exclude transient tracking parameters from object identity.
  • Use absolute public HTTPS URLs for page and media resources when preparing public previews.
  • Escape dynamic values as HTML attributes. Never concatenate untrusted text directly into markup.

Verify platform behavior

  • Read the target platform's current image dimensions, file-size limits, formats, and cropping rules.
  • Distinguish link-sharing requirements from advertising specifications on the same documentation page.
  • Treat image dimensions as platform requirements, not universal Open Graph rules.
  • Verify redirects, response status, content type, and media bytes without an authenticated browser session.
  • Inspect access controls, CDN rules, and crawler-specific responses when a platform cannot retrieve an image.
  • For Slack, account for partial page retrieval through HTTP Range requests and separate media retrieval.
  • Inspect cache state before declaring that new markup failed. Refresh previews through documented platform tools where available.
  • Keep X Cards and other platform extensions separate. Verify current fallback behavior before relying on Open Graph substitution.

Do not

  • Promise a preview merely because the tags are valid.
  • Assume all consumers execute JavaScript, honor robots directives, or share the same cache lifetime.
  • Add duplicate generators to compensate for stale previews.
  • Replace Schema.org entity markup, semantic HTML, or canonical link metadata with Open Graph tags.
  • Publish invented authors, dates, images, or site identities.

Verify

  1. Inspect representative page responses with the target crawler's user agent.
  2. Verify required tags, escaping, canonical URLs, locale values, and image-property grouping.
  3. Retrieve each selected image. Verify its actual format, dimensions, size, and accessibility against the platform's rules.
  4. Exercise missing optional content, special characters, alternate locales, and multiple images when supported by the site.
  5. Inspect an actual platform preview or its diagnostic tool after deployment when authorized.
  6. Report protocol validation, retrieval, and platform rendering separately. Name unavailable external verification steps.

References

Use [[z-schema-org]] for entity markup and search rich results, and [[z-react-core]] for React rendering conventions.

같은 저장소의 Skills

더 많은 Skills

모든 Skills
victorzhuk
커뮤니티

z-accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

설치 수
1
GitHub Stars
0
업데이트
10월 22일
victorzhuk
커뮤니티

z-algo-core

DS/algorithm selection judgment for production code, not competitive tricks — hash map for membership/dedup, slice+sort beats a tree until proven, heap for top-k, two-pointer/sliding-window for scans, BFS/DFS/topo-sort for dependency shapes. Triggers on Big-O, hash map vs tree. Does not cover profiling/tuning; see [[z-go-performance]].

설치 수
1
GitHub Stars
0
업데이트
10월 22일
victorzhuk
커뮤니티

z-bdd

BDD acceptance contracts for humans and agents across UI, API, and CLI products. Use for Gherkin, Given-When-Then, E2E acceptance, or scenario evidence. Define repeatable scenarios with explicit assertions and required outcomes. Test selection belongs to [[z-testing-strategy]]. Go harness wiring belongs to [[z-go-bdd]].

설치 수
1
GitHub Stars
0
업데이트
10월 22일
victorzhuk
커뮤니티

z-codegraph

Use an existing CodeGraph integration for call graphs, impact analysis, affected tests, or route discovery. Discover installed tools and index freshness; follow host LSP precedence and verify current source. Do not initialize indexes without user authorization.

설치 수
1
GitHub Stars
0
업데이트
10월 22일