DU

dazeb/uncodixify-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

31 stars 质量 45 趋势 11

署名:本包基于cyxzdev/Uncodixfy的原始Uncodixfy工作。

概览

署名:本包基于cyxzdev/Uncodixfy的原始Uncodixfy工作。 便携式技能包,用于限制React和Tailwind UI免受通用AI仪表盘样式的影响。 该软件包设计为可作为单一文件夹在项目间复制。包含: - SKILL.md 中的技能提示词 - manifesto.md 中较长的设计参考 - 工具链/工具链/中uncodixify.ts中的确定性验证器 - 工具链/autofix-uncodixify.ts中的确定性自动修复通道 - 评估中的孤立评估夹具和断言 / - bin中的本地包CLI入口点/ 该软件包推动用户界面趋向于克制的产品形布局,远离常见的AI生成默认配置。

概述(AI 翻译)

署名:本包基于cyxzdev/Uncodixfy的原始Uncodixfy工作。

便携式技能包,用于限制React和Tailwind UI免受通用AI仪表盘样式的影响。

该软件包设计为可作为单一文件夹在项目间复制。包含:

  • [[T0]中的技能提示]
  • [[T1]中较长的设计参考
  • [[T2]中的确定性验证器
  • 在[[T3]中进行确定性自动修正的通道。
  • [[T4]中孤立的评估定型和断言
  • 包-本地CLI入口点在bin/

它所执行的

该软件包推动用户界面趋向于克制的产品形布局,远离常见的AI生成默认配置。

核心约束:

  • 暗中性表面
  • 约束角半径
  • 细微的白色分隔符
  • 无紫色效用类
  • 无梯度或玻璃态
  • 没有像[[T6]这样的眉毛标签图案]
  • 捆绑版评估场景中无装饰仪表盘英雄复制品

包装布局

workspace/ 是有意包含的,但在迭代输出中被 git 忽略。

要求

  • Node.js npx
  • Python 3
  • tsx 通过本地依赖或npx 获得

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Uncodixify

Attribution: this package builds on the original Uncodixfy work by cyxzdev at cyxzdev/Uncodixfy.

Portable skill package for constraining React and Tailwind UI away from generic AI-dashboard styling.

This package is designed to be copied between projects as a single folder. It includes:

  • the skill prompt in SKILL.md
  • the longer design reference in manifesto.md
  • a deterministic validator in toolchain/uncodixify.ts
  • a deterministic autofix pass in toolchain/autofix-uncodixify.ts
  • isolated eval fixtures and assertions in evals/
  • package-local CLI entrypoints in bin/

What It Enforces

The package pushes UI toward restrained, product-shaped layouts and away from common AI-generated defaults.

Core constraints:

  • dark neutral surfaces
  • restrained corner radius
  • subtle white separators
  • no purple utility classes
  • no gradients or glassmorphism
  • no eyebrow-label patterns like ``
  • no ornamental dashboard hero copy in the bundled eval scenarios

Package Layout

uncodixify/
├── SKILL.md
├── README.md
├── manifesto.md
├── package.json
├── bin/
│   ├── run-uncodixify.sh
│   ├── validate-package.py
│   ├── run-evals.py
│   ├── grade-evals.py
│   └── run-package-evals.py
├── toolchain/
│   ├── uncodixify.ts
│   └── autofix-uncodixify.ts
├── evals/
│   ├── evals.json
│   └── files/
└── workspace/
    └── .gitignore

workspace/ is intentionally included but git-ignored for iteration outputs.

Requirements

  • Node.js with npx
  • Python 3
  • tsx available through local dependencies or npx

This package ships its own package.json with tsx and typescript as dev dependencies.

Install

If you copy this folder into another repo, install dependencies from inside the package:

npm install

Validate The Package

Run this from inside the package directory:

python3 ./bin/validate-package.py

This checks:

  • SKILL.md frontmatter shape
  • evals/evals.json schema
  • assertion definitions
  • workspace scaffolding

Validate A Single File

To check one TSX file against the uncodixify rules:

./bin/run-uncodixify.sh path/to/component.tsx

Exit codes:

  • 0: file passes
  • 1: one or more violations were found

The validator is deterministic and regex-based. It does not rely on external APIs.

Autofix A File

The package autofix script normalizes class tokens and removes the banned patterns it knows how to rewrite safely.

npx tsx ./toolchain/autofix-uncodixify.ts path/to/component.tsx

What the autofix currently does:

  • rewrites oversized radius classes to rounded-md
  • removes gradient and glassmorphism utilities
  • rewrites purple utility classes to neutral alternatives
  • removes uppercase tracking-eyebrow utility patterns
  • replaces with
  • injects dark base and separator classes when missing
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add dazeb/uncodixify-skill
新手?先看 mcpskill.org 教程 →