Skip to content
Back to skills

Coding Style 1

ASecurity

Enforced coding standards and best practices for the project, including rules on comments and libraries.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmenttypescriptreact

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill coding-style-1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding Style 1?

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

Security grade badge for Coding Style 1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-coding-style-1/badge)](https://www.skillsdirectory.com/skills/david-li0406-coding-style-1)

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: Coding Style
description: Enforced coding standards and best practices for the project, including rules on comments and libraries.
---

# Coding Style & Standards

## 1. Comments

- **NO COMMENTS in Code**: Do not generate comments explaining what the code does (e.g., `// This function adds two numbers`). Code must be self-documenting.

## 2. Icons

- **Library**: ALWAYS use `@hugeicons/core-free-icons` and `@hugeicons/react`.
- **Component**: Use the `HugeiconsIcon` wrapper component.
- **Pattern**:

  ```tsx
  import { SomeIcon } from "@hugeicons/core-free-icons";
  import { HugeiconsIcon } from "@hugeicons/react";

  <HugeiconsIcon icon={SomeIcon} className="size-4" />
  ```

- **No Custom SVGs**: Do not create custom SVG components if a suitable Hugeicon acts as a replacement.

## 3. UI Components

- **Tailwind CSS**: Use Tailwind utility classes for styling.
- **Base UI / Shadcn**: Prefer existing basic components from `@/components/ui`.

## 4. TypeScript / React

- **Types**: Explicitly define types/interfaces. Avoid `any`.
- **Functional Components**: Use React functional components.
- **Clean Code**: Keep components small and focused.

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.

Comments

Loading comments…