Skip to content

lidge-jun/codexclaw / plugins/codexclaw/skills/dev-visualizer

cxc-dev-visualizer

Verified

Use for visual explanations and documents. Triggers: diagrams, charts, interactive models, HTML reports, infographics, 시각화, 그려줘, 문서 만들어줘, 보고서, PDF 생성.

FileKindSize
SKILL.mdskill md3.7 KB
agents/openai.yamlconfig179 B
assets/editorial-report.htmlother17.4 KB
assets/exhibit-recipes.jsonconfig26.7 KB
assets/paged-report.htmlother24.5 KB
assets/report-examples/decision-en.jsonconfig5.2 KB
assets/report-examples/decision-ko.jsonconfig5.0 KB
assets/report-examples/reference-en.jsonconfig4.8 KB
assets/report-examples/reference-ko.jsonconfig4.8 KB
assets/report-examples/research-en.jsonconfig4.2 KB
assets/report-examples/research-ko.jsonconfig4.1 KB
assets/report-model.example.jsonconfig1.6 KB
assets/research-handoff.example.jsonconfig1.6 KB
reference/artifact-composition.mdmarkdown4.8 KB
reference/authoring-routes.mdmarkdown3.5 KB
reference/computed-verification.mdmarkdown2.7 KB
reference/delivery-and-provenance.mdmarkdown762 B
reference/document-pdf.mdmarkdown17.3 KB
reference/english-authoring.mdmarkdown3.6 KB
reference/environment-detection.mdmarkdown3.3 KB
reference/exhibit-recipes.mdmarkdown12.8 KB
reference/html-templates.mdmarkdown18.0 KB
reference/page-role-catalog.mdmarkdown2.5 KB
reference/port-maintenance.mdmarkdown3.0 KB
reference/print-provenance.mdmarkdown2.9 KB
reference/reader-documents.mdmarkdown3.9 KB
reference/report-pipeline.mdmarkdown12.7 KB
reference/report-writing.mdmarkdown15.2 KB
reference/scope-and-maintenance.mdmarkdown957 B
reference/source-patterns.mdmarkdown10.3 KB
reference/svg-and-interaction.mdmarkdown9.3 KB
reference/visual-design.mdmarkdown11.3 KB
reference/visualize-contract.mdmarkdown1.1 KB
scripts/diagram-to-html.shexecutablescript8.2 KB
scripts/exhibit-contract.mjsscript24.9 KB
scripts/export-paged-report.mjsexecutablescript40.4 KB
scripts/quality-gate.mjsscript5.0 KB
scripts/report-contract.mjsscript18.1 KB
scripts/report-intake.mjsscript2.8 KB
scripts/report-locale.mjsscript27.0 KB
scripts/research-adapter.mjsscript8.7 KB
upstream/sync-check.shexecutablescript3.6 KB
upstream/visualize-upstream.mdmarkdown1.0 KB

upstream/sync-check.sh

View on GitHub
#!/usr/bin/env bash

set -u

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
TRACKING_FILE="$SCRIPT_DIR/visualize-upstream.md"
VISUALIZE_ROOT="${CXC_VISUALIZE_ROOT:-${CODEX_HOME:-$HOME/.codex}/plugins/cache/openai-bundled/visualize}"

if [[ ! -f "$TRACKING_FILE" ]]; then
  printf 'unable to check visualize upstream: tracking file not found\n' >&2
  printf 'expected: %s\n' "$TRACKING_FILE" >&2
  exit 1
fi

stored_path="$(awk -F'`' '/^- Current upstream path:/ { print $2; exit }' "$TRACKING_FILE")"
stored_hash="$(awk -F'`' '/^- Current SHA-256:/ { print $2; exit }' "$TRACKING_FILE")"
stored_version="$(awk -F'`' '/^- Version:/ { print $2; exit }' "$TRACKING_FILE")"

if [[ ! "$stored_hash" =~ ^[[:xdigit:]]{64}$ ]]; then
  printf 'unable to check visualize upstream: stored SHA-256 is missing or invalid\n' >&2
  printf 'tracking file: %s\n' "$TRACKING_FILE" >&2
  exit 1
fi

shopt -s nullglob
candidates=("$VISUALIZE_ROOT"/*/skills/visualize/SKILL.md)
shopt -u nullglob

if (( ${#candidates[@]} == 0 )); then
  printf 'unable to check visualize upstream: installed SKILL.md not found\n' >&2
  printf 'searched: %s\n' "$VISUALIZE_ROOT/*/skills/visualize/SKILL.md" >&2
  exit 1
fi

version_is_newer() {
  local left="${1#v}"
  local right="${2#v}"
  local left_part right_part length index
  local IFS=.
  local -a left_parts right_parts

  read -r -a left_parts <<< "$left"
  read -r -a right_parts <<< "$right"

  length=${#left_parts[@]}
  if (( ${#right_parts[@]} > length )); then
    length=${#right_parts[@]}
  fi

  for (( index = 0; index < length; index++ )); do
    left_part="${left_parts[index]:-0}"
    right_part="${right_parts[index]:-0}"
    left_part="${left_part%%[^0-9]*}"
    right_part="${right_part%%[^0-9]*}"
    left_part="${left_part:-0}"
    right_part="${right_part:-0}"

    if (( left_part > right_part )); then
      return 0
    fi
    if (( left_part < right_part )); then
      return 1
    fi
  done

  return 1
}

upstream_file="${candidates[0]}"
upstream_version="${upstream_file#"$VISUALIZE_ROOT"/}"
upstream_version="${upstream_version%%/skills/visualize/SKILL.md}"

for candidate in "${candidates[@]:1}"; do
  candidate_version="${candidate#"$VISUALIZE_ROOT"/}"
  candidate_version="${candidate_version%%/skills/visualize/SKILL.md}"
  if version_is_newer "$candidate_version" "$upstream_version"; then
    upstream_file="$candidate"
    upstream_version="$candidate_version"
  fi
done

if command -v sha256sum >/dev/null 2>&1; then
  current_hash="$(sha256sum < "$upstream_file" | awk '{ print $1 }')"
elif command -v shasum >/dev/null 2>&1; then
  current_hash="$(shasum -a 256 < "$upstream_file" | awk '{ print $1 }')"
else
  printf 'unable to check visualize upstream: no SHA-256 tool found\n' >&2
  printf 'install sha256sum or shasum and rerun this script\n' >&2
  exit 1
fi

if [[ "$current_hash" == "$stored_hash" ]]; then
  printf 'upstream in sync (version %s, hash %s)\n' "$upstream_version" "$current_hash"
  exit 0
fi

printf 'visualize upstream drift detected\n'
printf '\nChange summary:\n'
printf '  version: %s -> %s\n' "${stored_version:-unknown}" "$upstream_version"
printf '  path:    %s -> %s\n' "${stored_path:-unknown}" "$upstream_file"
printf '  SHA-256: %s -> %s\n' "$stored_hash" "$current_hash"
printf '\nInspection required:\n'
printf '  1. Read the current host-provided visualize skill in full.\n'
printf '  2. Verify the applicable output and interaction requirements; do not embed a frozen copy.\n'
printf '  3. Update inspection provenance in %s only after that review.\n' "$TRACKING_FILE"
printf '  4. A matching hash is a freshness hint, not rendering or compatibility proof.\n'
exit 1
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: 197kUpdated 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: 197kUpdated 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: 197kUpdated 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: 197kUpdated Claude CodeCodexVerifiedInstall