agentsclimarketplace

Design system injector

Skill EthanYoQ/Skill-hub/skills/10-business-industry/design-system-injector

Reusable AI agent skills for Codex, Claude Code etc. — AI coding workflows, SKILL.md templates, and automation practices. 面向 Codex、Claude Code等agents 的可复用 AI Agent Skill 技能库:AI 编程工作流、SKILL.md 模板与自动化实践。

Install
npx -y skills add EthanYoQ/Skill-hub --skill design-system-injector

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Phase 5 part of disease-market-sizing-orchestration. Injects consulting palette (navy/gold/blue) + base CSS + floating TOC + section dividers into raw report HTML. Validates token coverage ≥60% (warn) and floating TOC li ≥5 (block). Use AFTER content-verification passes, BEFORE report-bundle-builder build_all_deliverables.

The file declares its own license as Cite-or-Block strict (P0 iron law, see ../../CLAUDE.md). That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

0.9 KB, as published. Nobody here has run it

Design System Injector (Phase 5 part)

Functions

  • inject(html, tokens) -> str — insert :root tokens + base CSS + floating TOC button + overlay
  • validate_design(html) -> DesignReport — compute coverage + TOC li count

Validation Thresholds

  • token_coverage ≥ 0.60 → ok; otherwise warn (not block)
  • toc_li_count ≥ 5 → ok; otherwise BLOCK (B3 守门)

P0 Watchdog

Skill scripts contain 0 hardcoded disease/drug names — CI block on hit.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.