Skip to content
Back to skills

New Feature

ASecurity

Scaffold a new feature folder (api, queries, screen, tests) and its route following this repo's conventions. Use when the user asks to add a new screen or feature backed by an API.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 17, 2026
developmentapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add YourAKShaw/mobile-app-template-react-native --skill new-feature --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Feature?

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

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

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-feature
description: Scaffold a new feature folder (api, queries, screen, tests) and its route following this repo's conventions. Use when the user asks to add a new screen or feature backed by an API.
argument-hint: '[feature-name] [short description]'
---

Create a feature named from `$ARGUMENTS` (kebab-case folder name, PascalCase component names).

Use `src/features/posts/` as the reference implementation. Read it before writing anything.

1. Confirm with the user, unless already stated: the API endpoint(s) and response shape, and
   whether the feature is a tab or a pushed screen. Do not invent an endpoint.
2. Create `src/features/<name>/`:
   - `api.ts`: zod schema(s) and functions calling `request()` from `@/lib/api/client`, accepting
     an optional `AbortSignal`.
   - `queries.ts`: query key factory and TanStack Query hooks passing `signal`.
   - `<Name>Screen.tsx`: loading, error (with retry), empty and success states using
     `@/components`.
   - `__tests__/<Name>Screen.test.tsx`: success, error, and empty paths with mocked fetch.
3. Add the route under `src/app/` (thin file; parse params). For a tab, register it in
   `src/app/(tabs)/_layout.tsx`. For a pushed screen with a custom title, add it to the Stack in
   `src/app/_layout.tsx`.
4. Run `npm run check` and fix failures.
5. Summarize the files created and any decision you made that the user should confirm.

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.

View all in development →

Comments

Loading comments…

Newsletter

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