dcyfr-quick-fix

Automates DCYFR compliance fixes for design tokens, barrel imports, and emoji usage in TypeScript/JS projects.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dcyfr/dcyfr-labs --skill dcyfr-quick-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dcyfr-quick-fix
Source: https://github.com/dcyfr/dcyfr-labs/tree/main/.opencode/skill/dcyfr-quick-fix
Command: npx skills add https://github.com/dcyfr/dcyfr-labs --skill dcyfr-quick-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tooling automates fast DCYFR compliance fixes for design tokens, imports, and emoji-related violations across codebases, reducing manual review time and ensuring pattern consistency.

Core Features & Use Cases

  • Design Tokens: Replace hardcoded Tailwind values with token-driven references to improve consistency and theming.
  • Barrel Imports: Convert scattered imports to barrel exports for simpler maintenance.
  • Emoji Usage: Replace inline emojis with lucide-react icons to standardize visuals.
  • Test Data Protection: Add environment guards to ensure test data is not exposed in production.

Quick Start

Use the dcyfr-quick-fix skill during PRs to apply fixes across a codebase.

Frequently Asked Questions about dcyfr-quick-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace hardcoded Tailwind values with design tokens in TypeScript?

Converting scattered imports to barrel exports simplifies module maintenance by funneling dependencies through centralized index files. This reduces import fragmentation and aligns with structured codebase patterns.

What is the best way to replace inline emojis with lucide-react icons?

Replacing inline emojis with lucide-react icons standardizes visual elements across your application. It uses surgical edits to swap emoji characters for the corresponding icon components, ensuring consistent UI rendering.

How do I add environment guards to protect test data in production?

You protect test data by adding environment guards that run safe checks during quick iterations. This prevents test-specific data from leaking into production environments by enforcing conditional runtime boundaries.

Can I use automated lint fixes for design tokens and barrel imports during PR reviews?

Yes, you can apply automated compliance fixes during PR reviews. The process runs environment-safe checks and applies minimal surgical edits to resolve pattern violations without disrupting the surrounding codebase.