Agent skill

Docs Page

by indielayer in indielayer/ui

Create or update component documentation pages in packages/ui/docs.

MITAuto-check passedFrontend & Design

Install Docs Page

skills CLI
$ npx skills add indielayer/ui --skill docs-page -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install indielayer/ui docs-page --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/indielayer/ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/docs-page .claude/skills/docs-page && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-page
GitHub stars
222
Token cost
~419 tokens
SKILL.md length
148 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Create or update component documentation pages in packages/ui/docs.

  • Component doc routes
  • SKILL.md covers Add route, Component API descriptions, Regenerate indexes and Verify
  • Calls pnpm

What it does

Docs Page is an agent skill from indielayer/ui. Create or update component documentation pages in packages/ui/docs. Use when adding docs, demos, DocumentPage, usage.vue, or component doc routes.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. It works with Vue.js and Tailwind CSS. The repository describes itself as: Vue UI Library with Tailwind CSS 🚀 Build and prototype fast web applications. The licence is MIT.

When your agent uses it

  • Component doc routes

Example prompts

  • “/docs-page”

What it can do on your machine

Read from SKILL.md and the folder at commit a34ae6d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Page loads about 419 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 148 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~419

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from indielayer/ui at commit a34ae6d, republished under its MIT licence (© indielayer). 148 words, ~419 tokens.

Download SKILL.mdSave it as .claude/skills/docs-page/SKILL.md (or your agent's skills folder).
name
docs-page
description
Create or update component documentation pages in packages/ui/docs. Use when adding docs, demos, DocumentPage, usage.vue, or component doc routes.
disable-model-invocation
true

Docs page

Add route

Create packages/ui/docs/pages/component/<name>/index.vue:

  • const title, const description, const demos, const components
  • description: factual 1–2 sentences (~120–180 chars) — what it is and when to use it; avoid generic filler
  • Use double quotes for descriptions that contain apostrophes
  • Every demo needs a short description (sentence case) explaining what the example shows
  • Import demos and ?raw code for <document-page>
  • Set back / next to sibling folder names (preserve casing, e.g. inputGroup)
  • Demos use kebab-case: <x-button>

Add demo SFCs alongside (usage.vue, variants.vue, …).

Component API descriptions

Author API copy in the component SFC (not only on the docs page):

  • Add description on each prop option object (and shared factories in composables / variantBooleanProps)
  • On the plain <script> default export, add docs: { slots, emits, methods } string maps (same place as validators)
  • Reference: packages/ui/src/components/button/Button.vue
  • Live API tables read these via DocumentPage; pnpm gen:llms embeds them in public/md/component/*.md

Regenerate indexes

From packages/ui:

bash
pnpm gen:search
pnpm gen:llms   # writes llms.txt, llms-full.txt, and public/md/component/*.md
pnpm gen:sitemap

Verify

bash
pnpm build:docs   # vite-ssg prerender
pnpm dev

Reference: packages/ui/docs/pages/component/button/index.vue

© indielayer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/docs-page of indielayer/ui.

Open the folder on GitHubat commit a34ae6d

Compare with similar skills

Docs Page next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Page compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Page this skillindielayer/ui222—~419Automated safety check: PassMIT
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
Kill AI Slopyetone/kill-ai-slop1.3k—~1.4kAutomated safety check: PassApache-2.0
Uni Appsonofmagic/uni-app-tailwindcss-template3362 repos~1kAutomated safety check: PassMIT
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
Design StyleCastor6/tactus3761 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • Kill AI Slop

    yetone/kill-ai-slop

    Find and remove AI slop — the generic, machine-default visual and copy tics of vibe-coded products — from a web project.

    1.3k GitHub stars~1.4k tokensUpdated 23 days ago
    Frontend & DesignAuto-check passed
  • Uni App

    sonofmagic/uni-app-tailwindcss-template

    Comprehensive skill reference for uni-app cross-platform development framework

    336 GitHub starsUsed in 2 repos~1k tokens
    Frontend & DesignAuto-check passed
  • UI/UX Design System Advisor

    Galaxy-Dawn/claude-scholar

    Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.

    5.7k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Design Style

    Castor6/tactus

    A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.

    376 GitHub starsUsed in 1 repo~2.1k tokens
    Frontend & DesignAuto-check passed
  • Uithing

    BayBreezy/ui-thing

    Manages UI Thing components, prose, blocks, themes, shortcuts, docs, and MCP-driven workflows in Nuxt projects and in the UI Thing source repo.

    729 GitHub stars~1.3k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed

More from indielayer/ui

  • Add Theme

    indielayer/ui

    Add a new shipped UITheme pack (like Base or Carbon) to @indielayer/ui.

    222 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Add Component

    indielayer/ui

    Add a new Vue component to @indielayer/ui with themes, tests, docs, and registry exports.

    222 GitHub stars~293 tokensUpdated today
    Auto-check passed
  • Component Theme

    indielayer/ui

    Edit or add component theme classes and styles for shipped theme variants (base, carbon).

    222 GitHub stars~360 tokensUpdated today
    Auto-check passed
  • Release

    indielayer/ui

    Prepare @indielayer/ui changes for release with changesets and conventional commits.

    222 GitHub stars~241 tokensUpdated today
    Auto-check passed

Questions about Docs Page

What does Docs Page do?

Create or update component documentation pages in packages/ui/docs. Docs Page is an agent skill from indielayer/ui. Create or update component documentation pages in packages/ui/docs.

When should I use Docs Page?

Docs Page fits situations like: component doc routes.

How do I install Docs Page in Claude Code?

Run `npx skills add indielayer/ui --skill docs-page -a claude-code`. Or copy the skill folder (.cursor/skills/docs-page in indielayer/ui) into .claude/skills/docs-page in your project. Claude Code loads it when a task matches its description.

How do I install Docs Page in Codex?

Run `npx skills add indielayer/ui --skill docs-page -a codex`. Or copy the skill folder (.cursor/skills/docs-page in indielayer/ui) into .agents/skills/docs-page in your project. Codex loads it when a task matches its description.

Can I use Docs Page in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add indielayer/ui --skill docs-page -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-page, .gemini/skills/docs-page, .github/skills/docs-page and .opencode/skills/docs-page in your project.

What does Docs Page need to run?

Going by SKILL.md and its folder, Docs Page needs the command-line tools its instructions call (pnpm).

Does Docs Page access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Docs Page safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Page use?

Docs Page is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Page use?

About 419 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docs Page?

Skills that share tags, products or a category with Docs Page: Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), Kill AI Slop (yetone/kill-ai-slop, 1.3k stars), Uni App (sonofmagic/uni-app-tailwindcss-template, 336 stars) and UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Page?

indielayer (a GitHub organization) maintains it in indielayer/ui, which has 222 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: indielayer/ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.