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.zipInstalls 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.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
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
- Review 2-3 existing guides in the target category to understand style
- Choose category from existing or create new
- Create folder:
(category)/guide-slug/ - Create
index.mdxwith content - 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 (
tslanguage) - 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 codefor 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:

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
Linkcomponent - 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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| repo-website-guide-create (this skill) | 1 | 5mo | No flags | Beginner |
| write-docs | 6 | 3mo | No flags | Beginner |
| docs-changelog | 4 | 4mo | No flags | Beginner |
| docs-writer | 4 | 3mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by open-circle
View all by open-circle →You might also like
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.
docs-changelog
google-gemini
Provides a step-by-step procedure for generating Gemini CLI changelog files based on github release information.
docs-writer
google-gemini
Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.
technical-docs
getsentry
Write and review technical documentation for Sentry SDK docs. Use when creating, editing, or reviewing documentation pages, especially MDX files in docs/platforms/.
vuepress-plume-markdown
pengzhanbo
Help users write markdown files with VuePress Plume theme extensions, charts, and embeds.
docs
revokslab
ALWAYS use this when writing docs