Skip to content
Back to skills

Frontend Blocks

ASecurity

Copies finished React + Tailwind parts into a project - charts, dashboard, kanban, sortable list, calendar, CSV import, infinite list, login, register, OTP and reset pages, profile, settings, dark mode, languages and RTL, autosave, unsaved-changes warning, notifications, realtime, idle logout. Use before writing any of these.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
developmentgoreactnodeapifrontendsecurityperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Pandi2352/frontend-skills --skill frontend-blocks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Blocks?

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

Security grade badge for Frontend Blocks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pandi2352-frontend-blocks/badge)](https://www.skillsdirectory.com/skills/pandi2352-frontend-blocks)

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: frontend-blocks
description: Copies finished React + Tailwind parts into a project - charts, dashboard, kanban, sortable list, calendar, CSV import, infinite list, login, register, OTP and reset pages, profile, settings, dark mode, languages and RTL, autosave, unsaved-changes warning, notifications, realtime, idle logout. Use before writing any of these.
---

# Frontend blocks

Copy with the script; do not open or retype `assets/`. Add a block only when the
project needs it.

A project with `docs/steps.json`: use `steps.mjs <project> build <part>` of `frontend-core`
(it brings everything the part needs and connects it). Other projects:

```
node <skill>/scripts/add.mjs --list
node <skill>/scripts/add.mjs <project> charts kanban
```

It also copies the blocks these need, adds paths to `config/routes.ts`, and prints
the packages and the next steps. It never overwrites a file and stops when
`frontend-core`, `frontend-api` or `frontend-performance` code is missing; add that
first, or ask if the project has its own components.

| Block | For |
| --- | --- |
| `charts` | change over time, comparison, shares, ranking |
| `dashboard` | numbers, charts and recent rows with one period filter |
| `drag-sort`, `kanban` | order by hand; cards in columns |
| `calendar` | events by day |
| `csv-import` | many records from a file |
| `infinite-list` | endless feed or log |
| `auth-pages` | login, register, code, forgot, reset, change password |
| `account-pages` | profile, settings |
| `dark-mode`, `i18n` | themes, languages and direction |
| `unsaved-changes`, `autosave` | forms that must not lose work |
| `notifications`, `realtime` | bell and page; live updates |
| `idle-logout` | sign out after inactivity |

List, details, create and edit pages of your own data are written by the generator
of `frontend-core`: `scripts/generate.mjs feature orders --fields "…"`.

## Steps

1. Pick the block. If two fit, ask.
2. Add it, install the printed packages with `resolve-versions.mjs`, follow the
   printed next steps.
3. Adapt only services (`*.service.ts`), texts (`…Text` objects) and config. If the
   real API differs, translate in the service, not in the pages.
4. Read the part you need: `references/page-recipes.md` (list, detail, form, wizard,
   settings, report, inbox, approval queue), `references/data.md` (charts, kanban, calendar, import,
   lists) or `references/features.md` (everything else).
5. `node scripts/verify.mjs`. Say which endpoints are assumed.

## Rules

- Never leave sample numbers in a page. No data yet: the empty state.
- Charts follow the rules in `data.md`; never two y-axes.
- Optimistic moves and switches must undo when saving fails.
- Hiding a page is not security. The server checks every request.
- Password, code and session rules belong to the server; the pages only help.

Files in this skill

  • SKILL.md2.8 KB
  • assets/blocks.json3.3 KB
  • assets/blocks/account-pages/src/features/account/account.test.tsx3.8 KB
  • assets/blocks/account-pages/src/features/account/hooks/useProfile.ts2 KB
  • assets/blocks/account-pages/src/features/account/pages/ProfilePage.tsx2.8 KB
  • assets/blocks/account-pages/src/features/account/pages/SettingsPage.tsx3.6 KB
  • assets/blocks/account-pages/src/features/account/services/profile.service.ts1 KB
  • assets/blocks/auth-pages/src/features/auth/auth-pages.test.tsx5.2 KB
  • assets/blocks/auth-pages/src/features/auth/components/AuthPage.tsx1.1 KB
  • assets/blocks/auth-pages/src/features/auth/components/ChangePasswordForm.tsx1.5 KB
  • assets/blocks/auth-pages/src/features/auth/pages/ForgotPasswordPage.tsx1.5 KB
  • assets/blocks/auth-pages/src/features/auth/pages/LoginPage.tsx2.1 KB
  • assets/blocks/auth-pages/src/features/auth/pages/RegisterPage.tsx2.1 KB
  • assets/blocks/auth-pages/src/features/auth/pages/ResetPasswordPage.tsx2.1 KB
  • assets/blocks/auth-pages/src/features/auth/pages/VerifyEmailPage.tsx2.5 KB
  • assets/blocks/auth-pages/src/features/auth/services/account.service.ts978 B
  • assets/blocks/auth-pages/src/features/auth/utils/auth-rules.ts1 KB
  • assets/blocks/autosave/src/components/shared/autosave/AutosaveStatus.tsx1.6 KB
  • assets/blocks/autosave/src/components/shared/autosave/index.ts34 B
  • assets/blocks/autosave/src/hooks/useAutosave.test.ts2.4 KB

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.