/prometheus-skill-pack:rebrand-artifactfrom prometheus-skill-pack
Swap one brand's tokens for another's inside a TSX artifact. Mechanical AST rewrite swaps matching hex literals; regenerates the brand-vars CSS via template-forge. WCAG contrast is reported, not gated.
Ships in prometheus-skill-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Apply a target brand guide's tokens to a TSX artifact while preserving structure, content, and behavior.
artifact_type matching the source (react)content_type: direct:reactassets/library/brands/The user will provide: $ARGUMENTS
Parse the arguments for:
--source <path-to-tsx> (required) — input TSX--from-brand <name> (required) — current brand (e.g., knowme)--to-brand <name> (required) — target brand (e.g., prometheus-ags)--output <path-to-tsx> (required) — rebranded TSX--css-output <path-to-css> (optional; default <output>.css) — regenerated brand-vars CSS--ignore-contrast (optional flag) — suppress WCAG warningsDispatch to the orchestration script:
node scripts/rebrand-artifact.mjs \
--source "${SOURCE}" \
--from-brand "${FROM_BRAND}" \
--to-brand "${TO_BRAND}" \
--output "${OUTPUT}" \
--css-output "${CSS_OUTPUT}"
The script:
@iarna/toml.{ "colors.dark.ember": "#E04E28", ... } for hex-valued fields only.@babel/parser (with JSX + TS plugins).StringLiteral nodes via @babel/traverse; swaps exact-match from-brand hex with the to-brand equivalent."background: #abc").var(--color-*) references — those are CSS-variable lookups, and the CSS file holds the canonical values.template-forge render --template vite-shell-css --brand <to-brand> to the --css-output path.The contrast report covers:
ink on bg (dark + light)ember on bg (dark + light)muted on bg (dark + light)white on ember (button surface)Each pair is scored AAA / AA / A / FAIL by WCAG 2.1 relative luminance. The report does not block output. Pairs at "A" or "FAIL" levels are flagged as warnings; the user decides whether to accept the trade-off or pick different brand tokens.
To suppress the warning summary (e.g., in CI), pass --ignore-contrast.
var(--color-*) references in TSX are preserved as-is.artifact_type: react
content_type: direct:react
outputs:
- path: <output>.tsx
description: Rebranded TSX with hex literals swapped
- path: <output>.css
description: Regenerated brand-vars CSS for the new brand
- stderr_report: WCAG contrast report
constraints_satisfied:
- hex_literals_swapped
- var_references_preserved
- css_file_regenerated
- contrast_reported
TSX artifact + brand A → rebrand-artifact (A → B) → TSX + CSS for brand B
↓
→ scaffold-react-vite for production
scripts/rebrand-artifact.mjs — the orchestration scriptscripts/lib/wcag-contrast.mjs — contrast helpertools/template-forge-rs/templates/vite-shell-css.html — CSS templateopenspec/changes/phase-3-conversion-layer/ — design rationaleWhat SKILL.md sets; muted values are Claude Code's defaults
3 plugins ship this exact skill · first indexed Jul 16, 2026
Other plugins' skills for the same job
218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state./agent-team-handoffPrepare and accept a durable handoff between agent roles or coding harnesses using task context, Git identity, evidence and memory references. Use when work must continue in another harness or agent; use agent-team-manage for ordinary same-owner task updates. Do not use for ordinary same-owner task updates (see agent-team-manage)./agent-team-manageManage an existing agent team's active task state: assign dependencies and owners, track evidence, cancel or reassign work, and reconcile KBD-linked completion. Use agent-team-creator for definition creation, versioned maintenance, native export, and UAR catalog deployment./agent-team-modelsDiscover configured models and choose explicit capability, strength and cost policies at team, role, skill and task levels. Use when selecting models or controlling an agent team budget; use agent-team-creator for role discovery. Unknown prices and capabilities remain unknown. Do not use for role selection (see agent-team-creator).npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack