# Dogfood Components

> Guidelines for using library components within the documentation site itself to ensure consistency and showcase real-world usage. Use when this capability is needed.

- Skill: `tomevault-io/dogfood-components` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/dogfood-components`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/dogfood-components/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/dogfood-components

---


# Dogfooding Components Skill

Use this skill whenever you are modifying the documentation site structure, headers, or layout. The goal is to maximize the use of our own UI components within the documentation logic itself (dogfooding).

## Workflow

### 1. Analysis

- **Identify Ad-hoc UI**: Look for custom HTML or static elements in the docs site (`apps/playground-web/src/App.tsx`, `apps/playground-web/src/components/docs/CombinedDocsLayout.tsx`, `apps/playground-web/src/pages/`) that replicate component functionality.
- **Check Library availability**: Verify if a corresponding component exists in `@gv-tech/ui-web` (e.g., Breadcrumbs, Tabs, Alerts, Badges).

### 2. Implementation

- **Prioritize Library Components**: Replace custom implementations with components from `@gv-tech/ui-web`.
- **Pass Real State**: Connect these components to the documentation's state (e.g., using `activeItem` with `Breadcrumb` or `Tabs`).
- **Consistent Styling**: Use the same variants and props that we recommend to our users.

### 3. Validation

- **Functional Check**: Ensure the component behaves correctly within the documentation context (e.g., navigation links work).
- **Visual Check**: Verify the component renders with the correct theme and layout in the docs.

## Checklist

- [ ] Identified custom UI elements that can be replaced.
- [ ] Used components from `@gv-tech/ui-web` instead of ad-hoc HTML/CSS.
- [ ] Component is correctly wired to relevant documentation state.
- [ ] Verified that navigation and interaction remains functional.
- [ ] `bun validate` passes successfully.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/garcia-ventures) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

