Agent skill

implement-page-or-components

Implement a new page in the project

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/design/implement-page-or-components

SKILL.md

What I do

  • read and understand the plan in provided file carefully.
  • ask unclear questions.
  • implement svelte kit page with lastest rune api. For example: import type { PageProps } from "./$types"; const { params, data }: PageProps = $props(); let isInviteDialogOpen = $state(false);
  • import necessary shad cn components from @repo/ui. For example import * as Card from "@repo/ui/card". Components are already installed so no need to reinstall and check exist or not.
  • use the @tanstack/svelte-query latest api to make api calls if necessary.
  • use full import of lucide icons import. For example import UserPlusIcon from "@lucide/svelte/icons/user-plus";
  • use data table with @tanstack/table-core if need to implement table. Also check out tables from apps/website/src/lib/components/tables for reference.
  • use @tanstack/svelte-form if need to implement form.
  • follow Refactoring UI book design guidelines to implement the UI.

When to use me

Use this when you are going to design and write code to implement page or components. Ask clarifying questions if the you are unclear about features or necessary actions.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results