Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Coding Style Kubb Labs Fabric

ASecurity

Coding style, testing, and PR guidelines for the Kubb ecosystem. Use when writing or reviewing code for the Kubb ecosystem.

76 stars
0 votes
0 copies
0 views
Added 2/8/2026
developmenttypescriptbashreactvuenodetestinggitapici/cd

Works with

api

Security Analysis

A100/100

Scanned 2/12/2026

Install to Claude Code

$npx -y skills add majiayu000/claude-skill-registry --skill coding-style-kubb-labs-fabric --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding Style Kubb Labs Fabric?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Coding Style Kubb Labs Fabric
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-coding-style-kubb-labs-fabric/badge)](https://www.skillsdirectory.com/skills/majiayu000-coding-style-kubb-labs-fabric)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: coding-style
description: Coding style, testing, and PR guidelines for the Kubb ecosystem. Use when writing or reviewing code for the Kubb ecosystem.
---

# Code Style and Testing Skill

## When to Use

- When creating or reviewing a PR that changes code
- When adding a new package or feature to the monorepo
- When updating CI, linting, or formatting configuration
- When onboarding new contributors and sharing repository conventions

## What It Does

This skill documents the repository's coding conventions, testing guidelines, and PR checklist so contributors and automation can produce consistent, high-quality changes.

- Defines formatting, linting, and TypeScript conventions
- Describes testing workflow and CI expectations
- Outlines PR requirements, changelog updates, and release-related steps
- Provides common troubleshooting and recovery commands

## How to Use

Run the basic developer checks and fixes locally before committing or opening a PR:

```bash
# Format code and attempt autofixes
pnpm run format

# Lint the repository
pnpm run lint

# Run unit tests
pnpm test

# Create a changeset for versioning
pnpm changeset

# Typecheck whole repo
pnpm typecheck
```

Follow the PR checklist and run the commands above in the same order: **format → lint → typecheck → test → changeset**.

## Repository Facts

- **Monorepo**: Managed by pnpm workspaces and Turborepo
- **Module system**: ESM-only (`type: "module"` across repo)
- **Node version**: 20
- **Testing Library**: Vitest
- **Versioning**: Changesets for versioning and publishing
- **CI/CD**: GitHub Actions

## Coding Style Guidelines

### Basic Rules

- **Quotes**: Single quotes, no semicolons (see `biome.json`)
- **Patterns**: Prefer functional patterns
- **Ternary operators**: Keep ternary operators to one level deep for readability. For nested conditions, use if/else statements or extract to a helper function.

### Naming Conventions

| Element / Context       | Naming convention |
| ----------------------: | :---------------- |
| File / directory names  | `camelCase`       |
| Variables / functions   | `camelCase`       |
| Types / Interfaces      | `PascalCase`      |
| React components        | `PascalCase`      |

### TypeScript Conventions

- **Module resolution**: `"bundler"`; ESM only
- **Strict typing**: NEVER use `any` type or `as any` casts. Always use proper types, generics, or `unknown`/`never` when appropriate.
- **Files**: `.ts` for libraries, `.tsx` for React components, `.vue` for Vue components
- **DTS output**: Managed by `tsdown`
- **Importing**: Always use proper import statements at the module level instead of inline type imports
- **Exporting**: use `"exports"` map and `typesVersions` as needed. Keep public API stable
- **Root level types**: Define types at the root level of the file, not inside functions
- **Function syntax in Objects**: Use function syntax (not arrow functions) in object methods to enable use of `this` keyword

## Testing

- **Test location**: `*.test.ts` or `*.test.tsx` in `src` folders
- **Focus on specific tests**: `pnpm test "<test name>"`
- **Always add or update tests for code changes** and when needed update snapshots with the `-u` flag
- **Fix all test and type errors until suite is green**
- **After moving files or changing imports**: Run `pnpm lint && pnpm typecheck`

### Writing Conventions

- **Focused**: Test one thing at a time
- **Isolated**: Don't depend on other tests
- **Repeatable**: Same results every time
- **Fast**: Keep tests quick
- **Clear**: Easy to understand what's being tested

## PR Instructions

Follow these steps when creating a PR:

1. Make sure that the following commands pass locally:
  - `pnpm format && pnpm lint`
  - `pnpm typecheck`
  - `pnpm test`
2. Create a git commit with **Title format**: `[<plugin-name>] <Title>`
3. Push your branch and open a PR against `main`
4. Fill out the PR template completely
5. Add a changeset using `pnpm changeset`
6. Request reviews from relevant maintainers
7. Address feedback and make any requested changes
8. Once approved, wait for CI to pass and merge the PR

## Related Skills

| Skill                                   | Use For             |
|-----------------------------------------|---------------------|
| **[../changelog/SKILL.md](../changelog/SKILL.md)** | Update changelogs, **Mandatory for all PRs that include code changes** |

Attribution

majiayu000majiayu000
View sourceMore from majiayu000 →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284072 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →