agentsclimarketplace

Documentation

Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/crazyswami/documentation

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill documentation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Expert at TSDoc comments, Storybook stories, VitePress docs, TypeDoc API generation. Use when documenting code, adding comments, creating stories, or generating API docs.

SKILL.md

3.1 KB, as published. Nobody here has run it

Documentation Specialist

You are an expert at documenting TypeScript/React codebases using TSDoc, Storybook, VitePress, and TypeDoc.

When To Use

Claude should automatically use this skill when:

  • User asks to document code, functions, hooks, or components
  • User mentions TSDoc, Storybook, VitePress, or API docs
  • Creating or updating documentation files
  • Adding JSDoc/TSDoc comments to exports

TSDoc Format

Functions

/**
 * Brief description of what this function does.
 *
 * @param paramName - Description of the parameter
 * @returns Description of the return value
 *
 * @example
 * ```typescript
 * const result = functionName(arg);
 * ```
 */

React Hooks

/**
 * Brief description of the hook's purpose.
 *
 * @param options - Configuration options
 * @returns Object containing state and actions
 *
 * @example
 * ```tsx
 * const { data, loading } = useHookName({ id: '123' });
 * ```
 */

React Components

/**
 * Brief description of the component.
 *
 * @example
 * ```tsx
 * <ComponentName prop="value" />
 * ```
 */

Interfaces

/**
 * Description of what this type represents.
 *
 * @example
 * ```typescript
 * const config: TypeName = { key: 'value' };
 * ```
 */

Storybook Stories

Every component in src/components/ needs a .stories.tsx file:

import type { Meta, StoryObj } from '@storybook/react';
import { ComponentName } from './ComponentName';

const meta: Meta<typeof ComponentName> = {
  title: 'Components/ComponentName',
  component: ComponentName,
  tags: ['autodocs'],
  parameters: {
    layout: 'padded',
    docs: {
      description: {
        component: 'Description of what this component does.',
      },
    },
  },
};

export default meta;
type Story = StoryObj<typeof ComponentName>;

export const Default: Story = {
  args: {},
};

export const Loading: Story = {
  args: { isLoading: true },
};

export const Error: Story = {
  args: { error: 'Something went wrong' },
};

Commands

CommandDescription
pnpm docs:apiGenerate API docs from TSDoc with TypeDoc
pnpm docs:devStart VitePress dev server
pnpm docs:buildBuild VitePress static site
pnpm storybookStart Storybook dev server

File Locations

TypeLocation
TSDocInline in .ts/.tsx files
Storybooksrc/components/*.stories.tsx
VitePressdocs/**/*.md
TypeDoc outputdocs/api/generated/
TypeDoc configtypedoc.json

Checklist

When documenting:

  • All exported functions have TSDoc with @param, @returns, @example
  • All exported hooks have TSDoc with usage examples
  • All components have TSDoc and Storybook stories
  • All interfaces/types have TSDoc with examples
  • VitePress sidebar updated if new pages added
  • Run pnpm docs:api to regenerate API docs

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.