Skip to content
Back to skills

React Native Dls

ASecurity

Enforce design token usage in React Native. Use when enforcing a design system, preventing hardcoded styles, or implementing theme tokens in React Native.

  • 24 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
designreact

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill react-native-dls --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Native Dls?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React Native Dls
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-react-native-dls/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-react-native-dls)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react-native-dls
description: Enforce design token usage in React Native. Use when enforcing a design system, preventing hardcoded styles, or implementing theme tokens in React Native.
metadata:
  triggers:
    files:
    - '**/*Screen.tsx'
    - '**/*Component.tsx'
    - '**/theme/**'
    - '**/styles/**'
    keywords:
    - StyleSheet
    - styled-components
    - theme
    - colors
    - spacing
---
# React Native Design System

## **Priority: P1 (HIGH)**

Enforce design token usage in React Native apps.

## Guidelines

- **Structure**: Define tokens in `theme/colors.ts`, `spacing.ts`, `typography.ts`.
- **Usage**: Import tokens (`colors.primary`) instead of literals (`#000`).
- **Styling**: Compatible with `StyleSheet` and `styled-components`.

## Anti-Patterns

- **No Inline Colors**: Use `'#FF0000'` → Error. Import from `theme/colors`.
- **No Magic Spacing**: Use `padding: 16` → Error. Use `spacing.md`.
- **No Inline Fonts**: Define `fontSize: 20` → Error. Use `typography.h1`.

## References

See [references/usage.md](references/usage.md) for design token usage examples.

## Canonical response anchors

When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- Define
- theme tokens

- Additional task-grounded exact anchors: Enforce; Reference

Files in this skill

  • SKILL.md1.3 KB
  • evals/evals.json2.5 KB
  • references/usage.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.