.claude/skills/add-page/SKILL.md
Scaffold a new agent platform page with the project's standard layout, RTL Arabic, react-query data fetch, skeleton, and sidebar entry. Use when the user asks to "add a page", "create a new page", or "build a screen for X".
npx skillsauth add malhajri07/real-estate-CRM-project add-pageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scaffold a new platform page that matches the existing patterns. The page must look like every other page in the app — same wrapper, same header, same skeleton, same RTL handling.
Before scaffolding, ask (or infer) :
commissions)العمولات) — required/home/platform/commissions)useQuery an existing API? If not, run /add-api-route firstapps/web/src/components/layout/sidebar.tsx does the link go?apps/web/src/pages/platform/leads/index.tsx (already follows the post-E2 conventions: tight tables, RTL, PageHeader, soft skeletons).apps/web/src/pages/platform/{name}/index.tsx. It must:
PageHeader from @/components/ui/page-section-headerPAGE_WRAPPER constant from @/config/platform-themeuseQuery({ queryKey: ['/api/...'] }) from @tanstack/react-query<Skeleton> block from @/components/skeletons/... while loadingms-/me-/ps-/pe-/text-start/text-end (never ml-/mr-)bg-card, text-foreground, etc.) — never hexapps/web/src/App.tsx (or wherever the wouter <Switch> lives).apps/web/src/components/layout/sidebar.tsx under the right group./typecheck to confirm zero TS errors.Aqarkom_Knowledge/Features/. Otherwise just note it in the next session retro.ml-/mr-/pl-/pr-/text-left/text-right in JSX/typecheck passesleads/index.tsx<CardContent> padding on tables; use <CardContent className="p-0">testing
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.
tools
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.
data-ai
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
tools
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.