Skip to content
cccskills
FreePublished on GitHub

just-progress-bar-skill

Design, select, generate, and audit accessible creative progress bars for React, HTML/CSS, Gallery demos, recipes, CLI workflows, and Agent/MCP integrations.

The English summary is being prepared. Showing the original description.

Just-Agent/just-progress-bar-skill17 stars(GitHub 17 + cccskills 0)

Run score Not tested

See how to install

Files included (11)

  • SKILL.md6.4 KB
  • package.json949 B
  • resources/accessibility-checklist.md510 B
  • resources/catalog.json71.7 KB
  • resources/catalog.md1.4 KB
  • resources/component-selection-guide.md799 B
  • resources/mcp-tooling.md1.6 KB
  • resources/prompt-recipes.md1.3 KB
  • scripts/audit-progressbar.mjs1.6 KB
  • scripts/generate-progressbar.mjs2.1 KB
  • scripts/smoke-package.mjs610 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

just-progress-bar-skill

Use this Skill when a user asks for a progress bar, loader, upload state, download button, checkout flow, media scrubber, circular metric, game loading UI, dashboard progress, or an accessibility audit for progressbar markup.

What this Skill does

  • Selects a suitable progress bar pattern from the 24-item catalog.
  • Generates React or HTML/CSS source from catalog IDs, prompts, or recipe JSON files.
  • Explains design tokens and props.
  • Audits accessibility: label, semantics, determinate values, indeterminate behavior, status text, and reduced motion.
  • Helps other Agents integrate the catalog through MCP-style tools and resources.
  • Uses Roadmap-driven iteration when modifying this repository: completed work must be checked in ROADMAP.md and recorded in logs.

When to use

Use this Skill for:

  • loading, uploading, downloading, installing, processing, generating, checking out, onboarding, media playback, game loading, dashboard metrics, or status feedback;
  • requests that mention creative progress bars, progressbar, aria-valuenow, prefers-reduced-motion, React progress components, HTML/CSS snippets, recipes, CLI generation, or MCP tools;
  • repository iteration work for Just-Agent/just-progress-bar-skill.

Do not use it for unrelated charts, full data dashboards, third-party visual asset copying, or copyrighted Dribbble/PSD replication.

Pattern selection

Use these defaults:

User requestPreferred catalog IDReason
Upload/build progressgradient-loadingClear determinate status with easy value display.
Download CTAdownload-buttonCombines action and progress feedback.
Checkout/order floworder-stepsStep semantics are easier to understand than a raw bar.
Unknown wait timegradient-loading with indeterminate: trueIndeterminate progress should omit aria-valuenow.
Neon / sci-fineon-ring or lightsaberStrong visual identity for AI/generation flows.
Game loadingcute-game-loadingPlayful loading pattern.
Media playbackmusic-player or player-progressTimeline/scrubber model.
Dashboard metriccircular-dashboardCompact KPI ring.
Emotional waiting statehappy-heartSoft waiting state.
Vertical dashboard railvertical-progressFits side panels and cards.

How to generate code

  1. Choose by explicit id when the user names a pattern.
  2. Choose by prompt when the user describes a use case.
  3. Choose by recipe when repeatability matters.
  4. Generate react or html-css only unless the user explicitly accepts future targets.
  5. Include a label and reduced-motion note.
  6. For indeterminate progress, set indeterminate in React or omit aria-valuenow in HTML/CSS.

Useful commands:

just-progress-bar list --category circular
just-progress-bar generate --id neon-ring --target react --out ./NeonRing.tsx
just-progress-bar generate --prompt "做一个上传文件时使用的霓虹环形进度条" --target react --out ./UploadProgress.tsx
just-progress-bar recipe ./recipes/upload-progress.json --out ./tmp/upload
just-progress-bar audit ./src/MyProgressBar.tsx
just-progress-bar skill export --out ./dist/just-progress-bar-skill
just-progress-bar mcp --stdio
pnpm --filter @just-progress-bar/mcp-server sdk:stdio
pnpm --filter @just-progress-bar/mcp-server sdk:http

Runtime validation

For release or GitHub upload checks, run:

pnpm verify:runtime
JPB_REQUIRE_BROWSER=1 pnpm test:browser
JPB_REQUIRE_BROWSER=1 pnpm test:visual
pnpm --filter @just-progress-bar/mcp-server test:sdk

Use packages/mcp-server/src/sdk-server.ts for official MCP SDK stdio and Streamable HTTP runtime.

Recipe-aware generation

When a user provides or requests a repeatable generation spec, use a recipe shape with:

{
  "id": "upload-progress",
  "target": "react",
  "progressBarId": "gradient-loading",
  "label": "Uploading assets",
  "value": 72,
  "animation": { "reducedMotion": "static fill" },
  "accessibility": { "label": "Uploading assets", "determinate": true },
  "output": "./src/UploadProgress.tsx"
}

Run packages/skill/scripts/generate-progressbar.mjs ./recipes/upload-progress.json or just-progress-bar recipe ./recipes/upload-progress.json --out ./tmp/upload.

How to audit accessibility

Check all generated or user-provided progress bars for:

  • role="progressbar" or native <progress>;
  • accessible label through label, visible text, aria-label, or aria-labelledby;
  • aria-valuenow for determinate progress;
  • no aria-valuenow for indeterminate progress;
  • prefers-reduced-motion or an imported core stylesheet that provides it;
  • status text or icon labels so feedback is not color-only.

Output format

When generating a progress bar, return:

  1. selected catalog ID;
  2. short reason for selection;
  3. React or HTML/CSS code;
  4. accessibility checklist;
  5. reduced-motion note;
  6. CLI command or recipe suggestion when useful.

When iterating this repository, return:

  1. zip link;
  2. completed tasks;
  3. known issues;
  4. next plan.

Constraints

  • Do not copy third-party visual assets, images, PSDs, Dribbble shots, or trademarked designs.
  • Use original implementations inspired by common progress UI patterns.
  • Determinate progress must expose aria-valuenow.
  • Indeterminate progress must omit aria-valuenow.
  • Animated progress must support prefers-reduced-motion.
  • Status feedback must not rely on color alone.
  • Roadmap tasks may only be checked when actually completed.

Examples

User: “做一个上传文件时使用的霓虹环形进度条。”

Use neon-ring, generate React, include CircularProgress, label text, and reduced-motion note.

User: “做一个下单流程进度条。”

Use order-steps, generate StepProgress with Cart, Payment, Packing, Shipped, Delivered.

User: “检查这个进度条是否规范。”

Run accessibility checks for semantics, label, determinate value, indeterminate behavior, reduced motion, and color-only status.

User: “按照 recipe 生成上传进度条。”

Read the recipe JSON, resolve progressBarId, generate the requested target, and report warnings instead of silently ignoring missing accessibility metadata.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Report a problem with this skill