Web Artifacts Builder
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
Contains TypeScript/React patterns and conventions for the Mikoto frontend.
$ npx skills add mikotoIO/mikoto --skill typescript-react -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mikotoIO/mikoto typescript-react --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mikotoIO/mikoto.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/typescript-react .claude/skills/typescript-react && rm -rf skills-srcUse ~/.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/
Install the "typescript-react" agent skill from https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-react into .claude/skills/typescript-react/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-react", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-reactType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mikotoIO/mikoto --skill typescript-react -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mikotoIO/mikoto typescript-react --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mikotoIO/mikoto.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/typescript-react .agents/skills/typescript-react && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "typescript-react" agent skill from https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-react into .agents/skills/typescript-react/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-react", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mikotoIO/mikoto --skill typescript-react -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mikotoIO/mikoto typescript-react --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mikotoIO/mikoto.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/typescript-react .cursor/skills/typescript-react && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "typescript-react" agent skill from https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-react into .cursor/skills/typescript-react/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-react", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mikotoIO/mikoto.git --path .claude/skills/typescript-react--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mikotoIO/mikoto --skill typescript-react -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mikotoIO/mikoto typescript-react --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mikotoIO/mikoto.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/typescript-react .gemini/skills/typescript-react && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "typescript-react" agent skill from https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-react into .gemini/skills/typescript-react/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-react", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mikotoIO/mikoto typescript-reactInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mikotoIO/mikoto --skill typescript-react -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mikotoIO/mikoto.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/typescript-react .github/skills/typescript-react && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "typescript-react" agent skill from https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-react into .github/skills/typescript-react/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-react", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mikotoIO/mikoto --skill typescript-react -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mikotoIO/mikoto typescript-react --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mikotoIO/mikoto.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/typescript-react .opencode/skills/typescript-react && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "typescript-react" agent skill from https://github.com/mikotoIO/mikoto/tree/main/.claude/skills/typescript-react into .opencode/skills/typescript-react/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-react", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
typescript-reactContains TypeScript/React patterns and conventions for the Mikoto frontend.
Typescript React is an agent skill from mikotoIO/mikoto. Contains TypeScript/React patterns and conventions for the Mikoto frontend. ALWAYS activate before working on frontend code in apps/client/ or packages/.
Its SKILL.md is about 2.5k 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, covering React components. It works with TypeScript and React. The licence is MIT.
Read from SKILL.md and the folder at commit 88f7ff0. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
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.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Typescript React loads about 2.5k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 362 words of instructions outside code blocks.
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.
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.
The full file from mikotoIO/mikoto at commit 88f7ff0, republished under its MIT licence (© mikotoIO). 362 words, ~2,493 tokens.
.claude/skills/typescript-react/SKILL.md (or your agent's skills folder).TRIGGER when: working on frontend code in apps/client/, packages/mikoto.js/, or any TypeScript/React files.
apps/client/src/
├── components/
│ ├── atoms/ # Small, single-purpose (Avatar, SpaceIcon)
│ ├── molecules/ # Compound components (markdown, editors)
│ ├── surfaces/ # Page/tab views (MessageSurface, DocumentChannel)
│ ├── modals/ # Modal dialogs
│ ├── sidebars/ # Sidebar components
│ ├── tabs/ # Tab UI components
│ ├── ui/ # Chakra UI component re-exports
│ ├── icons/ # Custom FontAwesome icons
│ └── design/ # Design system components
├── views/ # Top-level views (MainView, AuthView)
├── hooks/ # Custom React hooks
├── store/ # Jotai atoms, LocalDB
└── functions/ # Utility functions (fileUpload, notify)
packages/
├── mikoto.js/ # Core API client library
│ ├── managers/ # Resource managers (SpaceManager, ChannelManager)
│ ├── WebsocketApi.ts # WebSocket connection
│ ├── MikotoClient.ts # Main client class
│ ├── AuthClient.ts # Authentication
│ └── api.gen.ts # Auto-generated types from OpenAPI
├── mikoto-ui/ # UI component library
├── permcheck/ # Permission checking utilities
├── lexical-markdown/ # Markdown editing plugin
└── tsconfig/ # Shared TypeScript configAll components are functional with typed props interfaces:
export const Avatar = (
props: {
src?: string | null;
userId?: string;
size?: number;
} & React.HTMLAttributes<HTMLImageElement>,
) => {
const { src, userId, size, ...rest } = props;
// implementation
return <img src={src} size={size} {...rest} />;
};We use Chakra UI
import { chakra } from '@chakra-ui/react';
// Chakra factory
const Card = chakra('div', {
base: { p: '4', bg: 'bg.panel' },
});There's a lot of legacy code that uses Emotion styled-components, but we're migrating to Chakra UI.
Components map to surface kinds for dynamic rendering:
const surfaceMap = {
textChannel: MessageSurface,
voiceChannel: lazy(() => import('./Voice')),
documentChannel: lazy(() => import('./Documents')),
search: SearchSurface,
spaceSettings: SpaceSettingsSurface,
// ...
};React.lazy() and Suspensekind/key format// Modals use useModalKit() hook
// State managed through modalState atom
// Content rendered in Chakra DialogRoot// useContextMenu() hook
// Position-aware with auto-flip near viewport edge
// Dismisses on outside click or EscapeThree state tools are used for different purposes:
import { atom, useAtom, useAtomValue, useSetAtom } from 'jotai';
import { atomWithStorage } from 'jotai/utils';
// Simple atom
const rightBarOpenState = atom(false);
// Persisted atom
const themeState = atomWithStorage('theme', 'dark');
// Atom family (parameterized)
const tabNameFamily = atomFamily((id: string) => atom(''));
// Usage
const [value, setValue] = useAtom(rightBarOpenState);
const value = useAtomValue(rightBarOpenState);
const setValue = useSetAtom(rightBarOpenState);Used in mikoto.js for reactive object proxies:
import { proxy, useSnapshot } from 'valtio';
import { proxyMap } from 'valtio/utils';
// CachedManager uses proxyMap for collections
// useMaybeSnapshot() for conditional proxy observation// QueryClient configured with structuralSharing: false
// (due to Mikoto.js class objects)import { LocalDB } from '@/store/LocalDB';
// Runtime type-safe wrapper using Zod
const db = new LocalDB('key', schema, initFunction);
db.get(); // typed
db.set(value); // validatedimport { useMikoto } from '@/hooks';
function MyComponent() {
const mikoto = useMikoto();
// REST calls use bracket notation
const space = await mikoto.rest['spaces.get'](undefined, {
params: { spaceId: id },
});
// WebSocket operations
mikoto.ws.send('typing.start', { channelId });
}Managers wrap REST/WebSocket with caching:
// SpaceManager, ChannelManager, UserManager, etc.
// Extend CachedManager<T> for cached resources
// Methods: _get(), _insert(), _delete(), values()
// Auto-subscribe to WebSocket events for real-time updatesexport function useMikoto(): MikotoClient; // Main client
export function useAuthClient(): AuthClient; // Auth clientReact Router v6 with browser router:
/ → MainView (shell)
/spaces, /friends, /discover, /settings → Top-level views
/space/:spaceRef → Space view
/space/:spaceRef/channel/:channelId → Channel view
/space/:spaceRef/settings → Space settings
/login, /register, /forgotpassword → Auth views
/invite/:inviteCode → Invite handler:spaceRef accepts both UUIDs and @handlesMikotoClientProvider for auth// Context access
useMikoto(); // MikotoClient instance
useAuthClient(); // AuthClient instance
// Data fetching
useFetchMember(space); // Load space members
// UI utilities
useContextMenu(fn); // Right-click menus
useContextMenuX(); // Extended context menu
useModalKit(); // Modal management
useTabkit(); // Tab operations
useInterval(cb, ms); // setInterval wrapper
useIsMobile(); // Mobile detection
useErrorElement(); // Error boundary helpertruees2020bundlerreact-jsx (new transform)@/* → ./src/*// Props: always interface
interface ButtonProps {
variant?: 'solid' | 'outline';
size?: 'sm' | 'md' | 'lg';
}
// Unions/mapped types: use type
type ConnectionState = 'connecting' | 'reconnecting' | 'disconnected';
// Zod for runtime validation
import { z } from 'zod';
const schema = z.object({ name: z.string() });
// Generic constraints
class CachedManager<T extends { id: string }> { ... }any?.) and nullish coalescing (??) used throughoutis keyword| Type | Convention | Example |
|---|---|---|
| Components | PascalCase | Avatar.tsx, UserArea.tsx |
| Hooks | camelCase with use prefix | useInterval.ts |
| Utilities | camelCase | fileUpload.ts |
| Types/Classes | PascalCase | LocalDB.ts, MikotoClient.ts |
| Directories | camelCase or kebab-case | atoms/, mikoto-ui/ |
// Path alias (always use for app imports)
import { Avatar } from '@/components/atoms/Avatar';
import { Button, Dialog } from '@/components/ui';
// Barrel exports from index files
import { useAuthClient, useMikoto } from '@/hooks';| Category | Libraries |
|---|---|
| UI | @chakra-ui/react v3, @emotion/styled, framer-motion |
| State | jotai, valtio, @tanstack/react-query v5 |
| Editors | lexical, slate, y.js |
| Real-time | socket.io-client, livekit-client |
| Forms | react-hook-form, zod |
| Layout | dockview-react, re-resizable, react-virtuoso |
| Icons | @fortawesome/react-fontawesome, react-icons |
| Routing | react-router-dom v6 |
pnpm dev # Vite dev server (from apps/client/)
moon :typecheck # Monorepo-wide type check
moon :lint # ESLint
moon :lint.fix # Auto-fix lint issues
moon :format # Prettier
moon :test # Vitest
moon :generate # Regenerate API types from OpenAPI schemaimport { expect, test } from 'vitest';
test('description', () => {
expect(result).toBe(expected);
});@/ imports for all app-internal importsas (especially no any)React.lazy()@/hooks before writing new state logicindex.tsmoon :typecheck after all frontend changesbg.subtle, fg.muted, border) for theme compatibilitystyled is acceptable for complex components© mikotoIO, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/typescript-react of mikotoIO/mikoto.
Open the folder on GitHubat commit 88f7ff0
Typescript React 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Typescript React this skillmikotoIO/mikoto | 132 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Web Artifacts Builderanthropics/skills | 180k | 40 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Dify Component Writing Guidelanggenius/dify | 158k | — | ~626 | Automated safety check: Pass | Custom licence | |
| React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Formik Form PatternsChrisWiles/claude-code-showcase | 6.1k | 3 repos | ~2.1k | Automated safety check: Pass | None | |
| Animated React Component LibrariesHainrixz/editor-pro-max | 260 | 1 repos | ~5.7k | Automated safety check: Pass | Custom licence |
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
langgenius/dify
Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…
diet103/claude-code-infrastructure-showcase
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
ChrisWiles/claude-code-showcase
Shows how to build forms with Formik and Yup validation, including conditional rules, field helpers, GraphQL submission, edit forms and multi-step flows.
Hainrixz/editor-pro-max
Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.
internet-development/www-sacred
Keep www-sacred's TypeScript fast to type-check and fast to run.
mikotoIO/mikoto
Contains Chakra UI v3 documentation for styling, theming, and components.
mikotoIO/mikoto
Creates a new skill or updates an existing skill to capture new knowledge.
mikotoIO/mikoto
Contains knowledge on Mikoto usage of Rust. An agent skill from mikotoIO/mikoto.
mikotoIO/mikoto
Rebases the current branch onto the latest main branch. An agent skill from mikotoIO/mikoto.
mikotoIO/mikoto
Creates a pull request using the GitHub CLI. An agent skill from mikotoIO/mikoto.
Works with
Categories
Contains TypeScript/React patterns and conventions for the Mikoto frontend. Typescript React is an agent skill from mikotoIO/mikoto. Contains TypeScript/React patterns and conventions for the Mikoto frontend.
Typescript React fits situations like: tasks that involve React components.
Run `npx skills add mikotoIO/mikoto --skill typescript-react -a claude-code`. Or copy the skill folder (.claude/skills/typescript-react in mikotoIO/mikoto) into .claude/skills/typescript-react in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mikotoIO/mikoto --skill typescript-react -a codex`. Or copy the skill folder (.claude/skills/typescript-react in mikotoIO/mikoto) into .agents/skills/typescript-react in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mikotoIO/mikoto --skill typescript-react -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/typescript-react, .gemini/skills/typescript-react, .github/skills/typescript-react and .opencode/skills/typescript-react in your project.
Going by SKILL.md and its folder, Typescript React needs the command-line tools its instructions call (pnpm).
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.
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.
Typescript React is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Typescript React: Web Artifacts Builder (anthropics/skills, 180k stars), Dify Component Writing Guide (langgenius/dify, 158k stars), React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars) and Formik Form Patterns (ChrisWiles/claude-code-showcase, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mikotoIO (a GitHub organization) maintains it in mikotoIO/mikoto, which has 132 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on August 5, 2026.
Source: mikotoIO/mikoto on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.