Skip to content
Back to skills

New Page

ASecurity

Scaffold a new public page following project conventions. Use when adding a new route under (public).

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 26, 2026
tools

Works with

  • cli

Security analysis

A100/100

Scanned October 26, 2026

npx -y skills add JoshuaShepherd/my-skills --skill new-page --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Page?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for New Page
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joshuashepherd-new-page/badge)](https://www.skillsdirectory.com/skills/joshuashepherd-new-page)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: new-page
description: Scaffold a new public page following project conventions. Use when adding a new route under (public).
user-invocable: true
allowed-tools: Read, Write, Grep, Glob
---

Create a new page at `src/app/(public)/$ARGUMENTS/page.tsx`.

## Rules (from CLAUDE.md)

- Keep the page as a Server Component unless interactivity is needed
- Push "use client" to leaf components only
- Use `tenantConfig` for any tenant-specific text (never hardcode)
- Use shadcn/ui components and semantic CSS classes (bg-primary, text-muted-foreground)
- Check feature flags before rendering optional sections
- Follow the design chain: Tokens -> Tailwind -> Radix/shadcn -> Domain -> Patterns -> Pages

## Process

Before creating:
1. Read `src/lib/config/tenant.config.ts` for available config values
2. Check existing pages in `src/app/(public)/` for patterns to follow
3. Create the page file following conventions
4. If the page needs client interactivity, create a separate client component in `src/components/` and import it from the server page

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.