new-frontend-page
БесплатноБез исполняемых скриптовНе проверенAdd a new page/route to the WhoDB frontend with proper localization and routing
от clidey★ 5 073 звезды на GitHubОб этом скилле
Add a New Frontend Page
Steps
1. Create Page Component
frontend/src/pages/<feature-name>/index.tsx
import { FC } from 'react';
import { useTranslation } from '@/hooks/use-translation';
export const FeatureNamePage: FC = () => {
const { t } = useTranslation('pages/feature-name');
return (
<div>
<h1>{t('title')}</h1>
</div>
);
};
2. Add Translation File
Create frontend/src/locales/pages/<feature-name>.yaml:
en_US:
title: Feature Name
Do not add or update non-English locale entries unless the user explicitly asks for translation.
3. Add Route
In the router configuration, add the new route. Follow existing patterns for layout and navigation guards.
4. Add Sidebar Entry (if needed)
Update the sidebar configuration to include the new page with appropriate icon and label.
5. Add Keyboard Shortcut (if needed)
In frontend/src/utils/shortcuts.ts:
export const SHORTCUTS = {
// ...existing
featureName: { key: 'X', modifiers: ['meta'], displayKeys: ['⌘', 'X'] },
};
6. Verification
cd frontend && pnpm run build:ce
cd frontend && pnpm start # Visual verification in browser
7. E2E Test
Add test file frontend/e2e/tests/features/<feature-name>.spec.mjs following existing patterns.
Установить new-frontend-page в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл new-frontend-page?
Add a new page/route to the WhoDB frontend with proper localization and routing
Как установить скилл new-frontend-page?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл new-frontend-page запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic