RE

repo-website-guide-create

Creates Valibot documentation pages using MDX templates to cover schemas, migration paths, and validation methods.

Install

mkdir -p .claude/skills/repo-website-guide-create && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2968" && unzip -o skill.zip -d .claude/skills/repo-website-guide-create && rm skill.zip

Installs to .claude/skills/repo-website-guide-create

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create conceptual documentation and tutorial pages for the Valibot website at website/src/routes/guides/. Use when adding guides about schemas, pipelines, async validation, migration, or other topics. Covers directory structure, MDX templates, frontmatter, and content guidelines.
280 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Beginner

Key capabilities

  • Create new guide pages in website/src/routes/guides/
  • Update the navigation menu in menu.md
  • Format content using MDX templates with frontmatter
  • Implement internal links using the Link component
  • Add API documentation lists with ApiList component

How it works

The skill guides the creation of a new folder and index.mdx file within the website/src/routes/guides/ directory structure. It requires updating the menu.md file to ensure the new guide is discoverable.

Inputs & outputs

You give it
Guide topic, category, and content
You get back
A new MDX file in the guides directory and updated menu.md

When to use repo-website-guide-create

  • Write a new validation guide
  • Create a migration tutorial
  • Draft documentation for new schemas

About this skill

Adding Guides to Website

Guide for creating conceptual documentation at website/src/routes/guides/.

Directory Structure

website/src/routes/guides/
├── menu.md                    # Navigation menu
├── (get-started)/             # Intro, installation, quick start
├── (main-concepts)/           # Schemas, pipelines, parsing
├── (schemas)/                 # Objects, arrays, unions
├── (advanced)/                # Async, i18n, JSON Schema
├── (migration)/               # Version upgrades, Zod migration
└── (category)/guide-slug/
    └── index.mdx              # Guide content

Note: Category folders use parentheses (Qwik route grouping).

Process

  1. Review 2-3 existing guides in the target category to understand style
  2. Choose category from existing or create new
  3. Create folder: (category)/guide-slug/
  4. Create index.mdx with content
  5. Update menu.md

index.mdx Template

---
title: Guide Title
description: >-
  A concise description of what this guide covers.
contributors:
  - github-username
---

import { ApiList, Link } from '~/components';

# Guide Title

Opening paragraph explaining what the reader will learn.

## Section Heading

Content with clear, concise language.

\`\`\`ts
import \* as v from 'valibot';

const Schema = v.object({
name: v.string(),
email: v.pipe(v.string(), v.email()),
});
\`\`\`

## Another Section

Continue with additional sections as needed.

Use <Link href="/api/pipe/">\`pipe\`</Link> for internal links.

Frontmatter

Required fields:

  • title: Page title and navigation label
  • description: SEO description (use >- for multi-line)
  • contributors: Array of GitHub usernames

Content Guidelines

Code Examples

  • Use TypeScript (ts language)
  • Import as import * as v from 'valibot';
  • Include comments for complex code

Links

Internal links use the Link component:

<Link href="/guides/schemas/">schemas guide</Link>
<Link href="/api/pipe/">\`pipe\`</Link>

Components

<ApiList label="Related schemas" items={['object', 'array', 'string']} />

Formatting

  • inline code for API names, variables, file names
  • bold for genuine emphasis only — not as inline section labels
  • Proper heading hierarchy (h1 title, h2 sections, h3 subsections)

Writing tone

  • Write conversational prose, not terse reference-doc style
  • Use first-person plural: "we recommend" not "you should"
  • Do not use bold as inline section labels (e.g. avoid **Label:** content). Use a proper subheading instead
  • Do not prefix blockquotes with bold labels (e.g. avoid > **Note:** ...). A plain > is correct
  • Bullet list items do not need a bold prefix on each item

Images

Place images in the same folder as index.mdx:

![Alt text](./diagram-light.jpg)

Consider light/dark theme variants if applicable (e.g., diagram-light.jpg, diagram-dark.jpg).

Update menu.md

Add to /website/src/routes/guides/menu.md:

## Category Name

- [Existing Guide](/guides/existing/)
- [New Guide Title](/guides/guide-slug/)

Maintain logical ordering within categories.

Checklist

  • Reviewed existing guides in the same category
  • Folder structure: (category)/guide-slug/index.mdx
  • Frontmatter: title, description, contributors
  • Internal links use Link component
  • Code examples use import * as v from 'valibot';
  • Added to menu.md
  • Style matches existing guides

When not to use it

  • Creating reference documentation for APIs
  • Writing content outside the guides directory

Prerequisites

Existing guides in the target category for style reference

Limitations

  • Requires manual review of existing guides to ensure style consistency
  • Limited to the predefined guide directory structure

How it compares

Unlike manual file creation, this skill enforces specific frontmatter requirements, component usage, and directory grouping conventions.

Compared to similar skills

repo-website-guide-create side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
repo-website-guide-create (this skill)15moNo flagsBeginner
write-docs63moNo flagsBeginner
docs-changelog44moNo flagsBeginner
docs-writer43moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by open-circle

View all by open-circle

repo-website-api-create

open-circle

Create new API reference pages for the Valibot website at website/src/routes/api/. Use when adding documentation for new schemas, actions, methods, or types. Covers reading source code, creating properties.ts and index.mdx files, updating menu.md, and cross-referencing related APIs.

26

repo-prepare-release

open-circle

Prepare releases by analyzing changelogs, determining version bumps, and updating package.json and changelog files.

12

repo-source-code-document

open-circle

Write JSDoc comments and inline documentation for Valibot library source code in /library/src/. Use when documenting schemas, actions, methods, or utilities. Covers interface documentation, function overloads, purity annotations, inline comment patterns, and terminology consistency.

14

repo-source-code-review

open-circle

Review pull requests and source code changes in /library/src/. Use when reviewing PRs, validating implementation patterns, or checking code quality before merging. Covers code quality checks, type safety, documentation review, test coverage, and common issues to watch for.

12

repo-structure-navigate

open-circle

Navigate the Valibot repository structure. Use when looking for files, understanding the codebase layout, finding schema/action/method implementations, locating tests, API docs, or guide pages. Covers monorepo layout, library architecture, file naming conventions, and quick lookups.

16

repo-website-api-update

open-circle

Update existing API documentation pages after source code changes. Use when syncing docs with library changes like new parameters, type constraint changes, interface updates, or function renames. Covers common change patterns and verification steps.

13

Search skills

Search the agent skills registry