Back to list
kubb-labs

documentation

by kubb-labs

🧩 The Ultimate Toolkit for Generating Type-Safe API Clients, Hooks, and Validators.

1,532🍴 129📅 Jan 23, 2026

Use Cases

🔗

MCP Server Integration

AI tool integration using Model Context Protocol. Using documentation.

Efficient Code Generation

Auto-generate boilerplate code to reduce development time.

🔍

Code Review Assistance

Analyze PR changes and suggest improvements.

🔧

Refactoring Suggestions

Suggest refactoring options to improve code quality.

SKILL.md


name: documentation description: Use when writing blog posts or documentation markdown files - provides writing style guide (active voice, present tense) and content structure patterns. Overrides brevity rules for proper grammar.

Documentation Skill

This skill provides comprehensive guidelines for AI coding assistants working on Kubb documentation.

When to Use

  • Adding a new plugin, feature, or option
  • Changing plugin behavior or API signatures
  • Fixing bugs that affect code generation

What It Does

  • Create clear, concise, practical documentation optimized for developer experience.

Writing Standard

Override: When writing documentation, maintain proper grammar and complete sentences. The "sacrifice grammar for brevity" rule does NOT apply here.

Documentation must be:

  • Grammatically correct
  • Clear and unambiguous
  • Properly punctuated
  • Complete sentences (not fragments)

Brevity is still valued, but never at the cost of clarity or correctness.

Available References

ReferencePurpose
references/writing-style.mdVoice, tone, sentence structure
references/content-patterns.mdBlog frontmatter, structure, component patterns

Load based on context:

Quick Reference

Language and Tone

  • Use the US spelling. For example, use license, not licence.

Naming Conventions

  • Use kebab-case: how-to-do-thing.md
  • Be descriptive: multipart-form-data.md not form.md
  • Match URL structure: File name becomes the URL path

Writing Patterns

PatternExample
Subject-first"The useApp composable handles Fabric related logic."
Imperative"Add the following to kubb.config.ts."
Contextual"When relying on TypeScript, configure..."
VerbMeaning
canOptional
shouldRecommended
mustRequired

Component Patterns (WHEN to use)

NeedComponent
Info aside> [!NOTE]
Suggestion> [!TIP]
Caution> [!WARNING]
Required> [!IMPORTANT]
Multi-source code::: code-group and ends with :::

Headings

  • H1 (#): No backticks
  • H2-H4: Backticks work fine
  • Internal links: Use relative paths: /plugins/plugin-ts/
  • Anchor links: Link to specific sections: /plugins/plugin-ts/#output-path
  • External links: Use full URLs with descriptive text
  • Placement: Add links section at the very end of the document

Images and assets

  • Location: docs/public/
  • Reference: Use relative paths from markdown files
  • Formats: Use optimized formats (webp/png/jpg)
  • Sizing: Keep file sizes reasonable
  • Naming: Use descriptive names: plugin-react-query-example.png

Checklist

  • Active voice (85%+)
  • Present tense
  • 2-4 sentences per paragraph
  • Explanation before code
  • File path labels on code blocks
  • Check if the links work
  • Test that all code groups display properly
  • Validate frontmatter syntax
  • Edge cases and limitations documented

Score

Total Score

85/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 1000以上

+15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon