Skip to content

hashgraph-online/awesome-codex-plugins / plugins/alpoxdev/hypercore/skills/hyper-design

hyper-design

Verified

[Hyper] Use this skill when the user wants interface design work that must not look AI-generated - designing a new screen, page, or component, restyling an existing UI, building faux product UI for a hero, feature card, or demo, or auditing, cleaning, or verifying generic template patterns in an interface - driven by a written design direction, a numeric craft floor, static detection, and evidence-separated review, with briefs and reports saved under `.hyper/design/[slug]/`. Do not use it for backend or data work with no visual surface, accessibility-only or performance-only QA, brand strategy with no interface, or a reusable skill folder.

FileKindSize
SKILL.ko.mdmarkdown24.9 KB
SKILL.mdskill md22.7 KB
assets/design-brief-template.ko.mdmarkdown2.4 KB
assets/design-brief-template.mdmarkdown2.2 KB
assets/detector-config.schema.jsonconfig1.9 KB
assets/evals/contract-cases.jsonlother3.5 KB
assets/evals/detector-cases.jsonlother10.2 KB
assets/evals/hyper-design-cases.jsonlother23.3 KB
assets/fixtures/context/brand-gradient/DESIGN.ko.mdmarkdown170 B
assets/fixtures/context/brand-gradient/DESIGN.mdmarkdown164 B
assets/fixtures/context/brand-gradient/hero.htmlother181 B
assets/fixtures/context/pricing-comparison/pricing.htmlother467 B
assets/fixtures/context/real-status/status.htmlother112 B
assets/fixtures/context/reduced-motion-project/accessibility.cssother75 B
assets/fixtures/context/reduced-motion-project/animation.cssother117 B
assets/fixtures/detector-negative.htmlother352 B
assets/fixtures/detector-positive.htmlother401 B
assets/fixtures/rendered-evidence/dimension-mismatch.jsonconfig557 B
assets/fixtures/rendered-evidence/fresh.jsonconfig582 B
assets/fixtures/rendered-evidence/invalid.jsonconfig253 B
assets/fixtures/rendered-evidence/measurements.jsonconfig1.3 KB
assets/fixtures/rendered-evidence/no-measurements.jsonconfig367 B
assets/fixtures/rendered-evidence/signature-mismatch.jsonconfig557 B
assets/fixtures/rendered-evidence/stale.jsonconfig556 B
assets/fixtures/rendered-evidence/valid.jsonconfig515 B
assets/fixtures/rendered-evidence/window-frame.jsonconfig558 B
assets/fixtures/reports/all-ids-one-row.ko.mdmarkdown644 B
assets/fixtures/reports/all-ids-one-row.mdmarkdown651 B
assets/fixtures/reports/authorship-claim.ko.mdmarkdown417 B
assets/fixtures/reports/authorship-claim.mdmarkdown403 B
assets/fixtures/reports/empty-reason-evidence.ko.mdmarkdown1.4 KB
assets/fixtures/reports/empty-reason-evidence.mdmarkdown1.3 KB
assets/fixtures/reports/empty-section.ko.mdmarkdown354 B
assets/fixtures/reports/empty-section.mdmarkdown350 B
assets/fixtures/reports/invalid-static-claim.ko.mdmarkdown345 B
assets/fixtures/reports/invalid-static-claim.mdmarkdown341 B
assets/fixtures/reports/missing-wcag-table.ko.mdmarkdown411 B
assets/fixtures/reports/missing-wcag-table.mdmarkdown419 B
assets/fixtures/reports/passing-no-wcag-table.ko.mdmarkdown364 B
assets/fixtures/reports/passing-no-wcag-table.mdmarkdown360 B
assets/fixtures/reports/valid-v2.ko.mdmarkdown379 B
assets/fixtures/reports/valid-v2.mdmarkdown377 B
assets/fixtures/reports/valid-wcag-table.ko.mdmarkdown1.4 KB
assets/fixtures/reports/valid-wcag-table.mdmarkdown1.4 KB
assets/fixtures/reports/wcag-list-no-table.ko.mdmarkdown484 B
assets/fixtures/reports/wcag-list-no-table.mdmarkdown483 B
assets/fixtures/reports/wrong-criterion-id.ko.mdmarkdown1.4 KB
assets/fixtures/reports/wrong-criterion-id.mdmarkdown1.4 KB
assets/fixtures/rules/border-shadow.cssother100 B
assets/fixtures/rules/brand-monospace.htmlother182 B
assets/fixtures/rules/clickable-div.htmlother102 B
assets/fixtures/rules/dead-anchor.htmlother66 B
assets/fixtures/rules/declaration-rules-negative.cssother113 B
assets/fixtures/rules/declaration-rules.cssother91 B
assets/fixtures/rules/decorative-monospace.htmlother125 B
assets/fixtures/rules/decorative-pulse.cssother120 B
assets/fixtures/rules/detector-config-allow.jsonconfig155 B
assets/fixtures/rules/detector-config-invalid.jsonconfig63 B
assets/fixtures/rules/detector-config-motion-off.jsonconfig74 B
assets/fixtures/rules/detector-config-nonstring-allowlist.jsonconfig40 B
assets/fixtures/rules/detector-config-nonstring-rule-value.jsonconfig52 B
assets/fixtures/rules/detector-config-rules.jsonconfig85 B
assets/fixtures/rules/detector-config-unknown-rule.jsonconfig59 B
assets/fixtures/rules/em-dash.htmlother106 B
assets/fixtures/rules/generic-cta.htmlother171 B
assets/fixtures/rules/gradient-border-image-negative.cssother96 B
assets/fixtures/rules/gradient-border-image.cssother131 B
assets/fixtures/rules/grid-background.cssother151 B
assets/fixtures/rules/hard-stop-band-negative.cssother78 B
assets/fixtures/rules/hard-stop-band.cssother86 B
assets/fixtures/rules/identical-icon-cards.htmlother458 B
assets/fixtures/rules/ignore-slop.htmlother286 B
assets/fixtures/rules/inset-stripe-negative.cssother93 B
assets/fixtures/rules/inset-stripe.cssother84 B
assets/fixtures/rules/media-unsized.htmlother132 B
assets/fixtures/rules/motion-without-reduced-motion.cssother121 B
assets/fixtures/rules/naming-rules-negative.htmlother273 B
assets/fixtures/rules/naming-rules.htmlother291 B
assets/fixtures/rules/numbered-section-labels.htmlother275 B
assets/fixtures/rules/pseudo-stripe-negative.cssother209 B
assets/fixtures/rules/pseudo-stripe.cssother181 B
assets/fixtures/rules/radial-glow.cssother100 B
assets/fixtures/rules/repeated-eyebrows.htmlother292 B
assets/fixtures/rules/skipped-heading.htmlother113 B
assets/fixtures/rules/thin-side-stripe-negative.cssother73 B
assets/fixtures/rules/thin-side-stripe.cssother81 B
assets/fixtures/rules/viewport-height.cssother65 B
assets/fixtures/rules/zoom-blocked.htmlother206 B
assets/fixtures/unsupported.txtmarkdown57 B
assets/fixtures/waivers/invalid-global.jsonconfig197 B
assets/report-template.ko.mdmarkdown3.0 KB
assets/report-template.mdmarkdown3.0 KB
assets/waiver.example.jsonconfig280 B
assets/waiver.schema.jsonconfig871 B
references/accessible-interaction.ko.mdmarkdown8.8 KB
references/accessible-interaction.mdmarkdown7.6 KB
references/anti-pattern-catalog.ko.mdmarkdown17.0 KB
references/anti-pattern-catalog.mdmarkdown16.4 KB
references/browser-evidence-schema.ko.mdmarkdown3.2 KB
references/browser-evidence-schema.mdmarkdown2.9 KB
references/chart-artifact.ko.mdmarkdown3.7 KB
references/chart-artifact.mdmarkdown3.2 KB
references/context-signals.ko.mdmarkdown3.0 KB
references/context-signals.mdmarkdown2.8 KB
references/contrast-check.ko.mdmarkdown4.5 KB
references/contrast-check.mdmarkdown4.3 KB
references/eval-rubric.ko.mdmarkdown1.9 KB
references/eval-rubric.mdmarkdown1.8 KB
references/fix-playbook.ko.mdmarkdown5.4 KB
references/fix-playbook.mdmarkdown5.3 KB
references/korean-break-quality.ko.mdmarkdown4.0 KB
references/korean-break-quality.mdmarkdown3.4 KB
references/mockup-craft.ko.mdmarkdown7.4 KB
references/mockup-craft.mdmarkdown6.1 KB
references/native-platforms.ko.mdmarkdown6.8 KB
references/native-platforms.mdmarkdown5.9 KB
references/performance-baseline.ko.mdmarkdown4.2 KB
references/performance-baseline.mdmarkdown3.6 KB
references/print-paged.ko.mdmarkdown4.8 KB
references/print-paged.mdmarkdown4.4 KB
references/rendered-measurements.ko.mdmarkdown4.4 KB
references/rendered-measurements.mdmarkdown3.9 KB
references/replacement-patterns.ko.mdmarkdown2.6 KB
references/replacement-patterns.mdmarkdown2.5 KB
references/responsive-reflow.ko.mdmarkdown7.1 KB
references/responsive-reflow.mdmarkdown6.1 KB
references/screen-patterns.ko.mdmarkdown9.5 KB
references/screen-patterns.mdmarkdown8.1 KB
references/ui-copy.ko.mdmarkdown5.1 KB
references/ui-copy.mdmarkdown4.7 KB
rules/craft-floor.ko.mdmarkdown18.6 KB
rules/craft-floor.mdmarkdown16.2 KB
rules/delivery-gate.ko.mdmarkdown10.5 KB
rules/delivery-gate.mdmarkdown9.4 KB
rules/design-direction.ko.mdmarkdown11.9 KB
rules/design-direction.mdmarkdown10.2 KB
rules/evidence-and-severity.ko.mdmarkdown3.2 KB
rules/evidence-and-severity.mdmarkdown3.2 KB
rules/independent-review.ko.mdmarkdown9.1 KB
rules/independent-review.mdmarkdown8.1 KB
rules/rendered-evidence.ko.mdmarkdown6.3 KB
rules/rendered-evidence.mdmarkdown5.7 KB
rules/safe-editing.ko.mdmarkdown2.9 KB
rules/safe-editing.mdmarkdown2.8 KB
rules/slop-taxonomy.ko.mdmarkdown6.4 KB
rules/slop-taxonomy.mdmarkdown5.9 KB
rules/validation-and-reporting.ko.mdmarkdown6.0 KB
rules/validation-and-reporting.mdmarkdown5.5 KB
rules/waivers-and-baselines.ko.mdmarkdown5.1 KB
rules/waivers-and-baselines.mdmarkdown4.6 KB
rules/workflow.ko.mdmarkdown8.4 KB
rules/workflow.mdmarkdown7.5 KB
scripts/analyze-structure.shexecutablescript3.6 KB
scripts/collect-rendered-evidence.shexecutablescript16.9 KB
scripts/detect-slop.shexecutablescript21.2 KB
scripts/engine-css.shexecutablescript517 B
scripts/engine-markup.shexecutablescript3.7 KB
scripts/engine-text.shexecutablescript563 B
scripts/resolve-context.shexecutablescript3.5 KB
scripts/rule-registry.shexecutablescript15.4 KB
scripts/rule-shared.shexecutablescript20.3 KB
scripts/run-contract-evals.shexecutablescript5.7 KB
scripts/run-detector-evals.shexecutablescript6.9 KB
scripts/validate-report.shexecutablescript12.2 KB
scripts/validate-waivers.shexecutablescript4.5 KB

scripts/run-detector-evals.sh

View on GitHub
#!/usr/bin/env bash
# Run the detector eval cases against the static detector and report per-case agreement.
set -euo pipefail

RD_SCRIPT_DIR=$(CDPATH='' cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
RD_SKILL_DIR=$(dirname -- "$RD_SCRIPT_DIR")
RD_DEFAULT_CASES="$RD_SKILL_DIR/assets/evals/detector-cases.jsonl"
RD_DETECTOR="$RD_SCRIPT_DIR/detect-slop.sh"
RD_USAGE='Usage: bash run-detector-evals.sh [--cases <cases.jsonl>] [--json]'

rd_fail() {
  printf '%s\n' "$(jq -cn --arg error "$1" '{ok: false, error: $error}')" >&2
  exit 2
}

# rd_case_path <path> resolves one case row's path against the base chosen once after
# argument parsing: the skill folder for the bundled case file, whose rows are
# skill-relative, and the caller's own base otherwise. An absolute path is never
# rewritten.
rd_case_path() {
  case $1 in
    /*) printf '%s\n' "$1" ;;
    *) printf '%s\n' "${RD_BASE:+$RD_BASE/}$1" ;;
  esac
}

rd_main() {
  local cases=$RD_DEFAULT_CASES json=0 help=0 line index=0 total=0 failures='' results='' output ok
  local id target expect_error extra_args case_json case_status code out err work
  while [ $# -gt 0 ]; do
    case "$1" in
      --cases)
        shift
        cases=${1-}
        case "$cases" in ''|--*) rd_fail '--cases requires a path' ;; esac
        if [ $# -gt 0 ]; then shift; fi ;;
      --json) json=1; shift ;;
      --help|-h) help=1; shift; break ;;
      *) rd_fail "Unknown argument: $1" ;;
    esac
  done
  if [ "$help" = 1 ]; then
    printf '%s\n' "$RD_USAGE"
    return 0
  fi
  [ -f "$cases" ] || rd_fail "ENOENT: no such file or directory, open '$cases'"
  # Choose the row base once. The bundled case file ships skill-relative rows, so it
  # resolves against the skill folder from any working directory or install location.
  # Any other case file keeps the caller's own base, including a row that names a file
  # which also exists inside the package.
  RD_BASE="$RD_SKILL_DIR"
  if ! [ "$cases" -ef "$RD_DEFAULT_CASES" ]; then RD_BASE=''; fi
  work=$(mktemp "${TMPDIR:-/tmp}/slop-evals.XXXXXX")
  while IFS= read -r line || [ -n "$line" ]; do
    total=$((total + 1))
    index=$total
    line=${line%$'\r'}
    [ -n "$line" ] || continue
    if ! printf '%s' "$line" | jq . > /dev/null 2>&1; then
      rm -f -- "$work"
      rd_fail "Invalid JSONL at line $index: invalid JSON"
    fi
    case_json=$(printf '%s' "$line" | jq -c .)
    case_status=$(printf '%s' "$case_json" | jq -r '
      if type != "object" then "row must be an object"
      elif (.id | type) != "string" or (.target | type) != "string" then "id and target are required strings"
      else "ok" end')
    if [ "$case_status" != ok ]; then
      rm -f -- "$work"
      rd_fail "Invalid JSONL at line $index: $case_status"
    fi
    id=$(printf '%s' "$case_json" | jq -r '.id')
    target=$(printf '%s' "$case_json" | jq -r '.target')
    target=$(rd_case_path "$target")
    expect_error=$(printf '%s' "$case_json" | jq -r 'if has("expectError") and .expectError == true then "1" else "0" end')
    extra_args=$(printf '%s' "$case_json" | jq -r 'if (.args | type) == "array" then .args[] else empty end')
    if [ -n "$extra_args" ]; then
      _pending_flag=''
      while IFS= read -r _extra; do
        [ -n "$_extra" ] || continue
        case ${_pending_flag:-} in
          --config|--baseline) _extra=$(rd_case_path "$_extra") ;;
        esac
        case $_extra in
          --config|--baseline) _pending_flag=$_extra ;;
          *) _pending_flag='' ;;
        esac
        set -- "$@" "$_extra"
      done <<EOF
$extra_args
EOF
      set +e
      bash "$RD_DETECTOR" --target "$target" --json "$@" > "$work.out" 2> "$work.err"
      code=$?
      set -e
      set --
    else
      set +e
      bash "$RD_DETECTOR" --target "$target" --json > "$work.out" 2> "$work.err"
      code=$?
      set -e
    fi
    out=$(cat -- "$work.out")
    err=$(cat -- "$work.err")
    failures=''
    if [ "$expect_error" = 1 ]; then
      [ "$code" = 2 ] || failures="Expected error exit 2, received $code"
    elif [ "$code" != 0 ]; then
      failures="Detector exited $code: $(printf '%s' "$err" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//')"
    elif ! printf '%s' "$out" | jq . > /dev/null 2>&1; then
      failures='Detector did not emit JSON'
    else
      failures=$(printf '%s' "$out" | jq -r --argjson case "$case_json" '
        . as $o
        | [ ($o.findings // [])[] | .id ] as $ids
        | [ (if ($case | has("expectedDetectorVersion")) and (($o.detectorVersion // "undefined") != $case.expectedDetectorVersion)
               then "Expected detectorVersion \($case.expectedDetectorVersion), received \(if ($o | has("detectorVersion")) then ($o.detectorVersion | tostring) else "undefined" end)"
               else empty end),
            (($case.expectedContains // [])[] as $rid
              | if ($ids | index($rid)) == null then "Missing finding: \($rid)" else empty end),
            (($case.expectedAbsent // [])[] as $rid
              | if ($ids | index($rid)) != null then "Unexpected finding: \($rid)" else empty end),
            ((($case.expectedSummary // {}) | to_entries[]) as $entry
              | "\($entry.key)" as $sev
              | (if (($o.summary | type) == "object") and ($o.summary | has($sev))
                   then ($o.summary[$sev] | tostring) else "undefined" end) as $actual
              | if $actual != ($entry.value | tostring) then "Expected \($sev)=\($entry.value), received \($actual)" else empty end),
            (if ($case | has("expectedSkipped")) and (((($o | if has("skipped") then .skipped else "undefined" end)) | tostring) != ($case.expectedSkipped | tostring))
               then "Expected skipped=\($case.expectedSkipped), received \(if $o | has("skipped") then ($o.skipped | tostring) else "undefined" end)"
               else empty end),
            ((($case.expectedExceptions // {}) | to_entries[]) as $entry
              | (($o.findings // []) | map(select(.id == $entry.key)) | first) as $finding
              | if $finding == null then "Missing exception finding: \($entry.key)"
                elif ($finding.exceptionStatus // "undefined") != $entry.value
                  then "Expected \($entry.key) exceptionStatus=\($entry.value), received \($finding.exceptionStatus // "undefined")"
                else empty end)
          ] | join("; ")')
    fi
    if [ -z "$failures" ]; then
      results="$results$(jq -cn --arg id "$id" '{id: $id, ok: true, failures: []}')"$'\n'
    else
      results="$results$(jq -cn --arg id "$id" --arg failures "$failures" '{id: $id, ok: false, failures: [$failures]}')"$'\n'
    fi
  done < "$cases"
  rm -f -- "$work" "$work.out" "$work.err"
  output=$(printf '%s' "$results" | jq -s '.')
  ok=$(printf '%s' "$output" | jq '[.[] | select(.ok == false)] | length == 0')
  if [ "$json" = 1 ]; then
    jq -n --argjson ok "$ok" --argjson cases "$output" '{ok: $ok, cases: $cases}'
  else
    printf '%s' "$output" | jq -r '.[] | if .ok then "PASS \(.id)" else "FAIL \(.id): \(.failures | join("; "))" end'
  fi
  [ "$ok" = true ]
}

rd_main "$@"
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 468kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 468kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 468kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall