بنقرة واحدة
repo-init-node
Scaffold a new Node.js/pnpm project with TypeScript, ESLint, Prettier, .gitignore, and CLAUDE.md.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new Node.js/pnpm project with TypeScript, ESLint, Prettier, .gitignore, and CLAUDE.md.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guide developers through creating and updating ChatGPT and MCP apps. Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/views, debugging, running dev servers, deploying and connecting apps to ChatGPT. Use when a user wants to create or update a ChatGPT app, MCP app, MCP server or use the Skybridge framework.
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
Add and use PostHog in Next.js (App Router) applications. Use when needing to (1) integrate PostHog analytics, (2) set up LLM analytics for AI SDK / Anthropic generations, (3) add error tracking, or (4) implement feature flags. Covers SDK setup, user identification, event capture, exception tracking, source maps, and server/client flag evaluation. Curated for a Next.js + Vercel AI SDK stack.
Create a GitHub repo (if needed) and set up Dependabot, CI workflow, auto-merge workflow, and GitHub branch ruleset.
Bootstrap a Next.js project with Prisma (PostgreSQL), tRPC, React Query, optional Clerk auth, next-themes, sonner, shadcn/ui config, and a clean folder structure. Use when the user says "set up this project", "scaffold with Prisma and tRPC", "/repo-init-next-js", "add Prisma and tRPC to this Next.js app", or wants to initialize a fresh Next.js project with the full stack.
| name | repo-init-node |
| description | Scaffold a new Node.js/pnpm project with TypeScript, ESLint, Prettier, .gitignore, and CLAUDE.md. |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Bash(pnpm *), Bash(git *), Bash(mkdir *) |
Scaffold a new TypeScript + pnpm project with opinionated defaults.
Before creating any files, ask the user for:
package.json description and CLAUDE.md project section.20.Create the following files. Replace {{DESCRIPTION}} with the user's project description and {{NODE_VERSION}} with the chosen Node.js version.
package.json{
"name": "{{DIRECTORY_NAME}}",
"version": "1.0.0",
"description": "{{DESCRIPTION}}",
"main": "index.js",
"scripts": {
"dev": "tsx src/index.ts",
"build": "tsc",
"lint": "eslint src/",
"format": "prettier --write src/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.15.0"
}
Use the current directory name for {{DIRECTORY_NAME}}.
tsconfig.json{
"compilerOptions": {
"target": "ES2022",
"module": "Node16",
"moduleResolution": "Node16",
"outDir": "dist",
"rootDir": "src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
.prettierrc{
"tabWidth": 2,
"semi": true,
"quoteProps": "as-needed",
"arrowParens": "always",
"embeddedLanguageFormatting": "auto",
"importOrder": ["<THIRD_PARTY_MODULES>", "", "^@/(.*)$", "", "^[./]"],
"importOrderSeparation": false,
"importOrderSortSpecifiers": true,
"importOrderBuiltinModulesToTop": true,
"importOrderParserPlugins": ["typescript", "decorators-legacy"],
"importOrderMergeDuplicateImports": true,
"importOrderCombineTypeAndValueImports": true,
"plugins": ["@ianvs/prettier-plugin-sort-imports"]
}
Apply any Prettier overrides the user requested on top of this config.
eslint.config.mjsimport eslint from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import tseslint from "typescript-eslint";
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
eslintConfigPrettier,
{
ignores: ["node_modules/", "dist/"],
},
);
Add any extra ESLint rules the user requested.
.gitignorenode_modules/
dist/
.env
.env.*
!.env.example
*.tsbuildinfo
CLAUDE.md# CLAUDE.md
## Project
{{DESCRIPTION}}
## Tech Stack
- **Language:** TypeScript 5.9 (strict mode, ES2022 target, Node16 modules)
- **Runtime:** Node.js {{NODE_VERSION}}
- **Package Manager:** pnpm 10
## Commands
- `pnpm dev` — run with tsx (hot reload)
- `pnpm build` — compile TypeScript to `dist/`
- `pnpm start` — run compiled output
- `pnpm lint` — ESLint check
- `pnpm format` — Prettier format
## Project Structure
\`\`\`
src/ → application source code
dist/ → compiled output (gitignored)
\`\`\`
## Code Style
- ESLint 9 flat config with TypeScript support
- Prettier: semicolons, 2-space indent, trailing commas
- Import sorting via `@ianvs/prettier-plugin-sort-imports`
## Commit Convention
Use **Conventional Commits** format.
\`\`\`
<type>(<scope>): <subject>
\`\`\`
Types: `feat`, `fix`, `refactor`, `docs`, `style`, `perf`, `test`, `chore`, `ci`
src/index.tsconsole.log("Hello, world!");
Run:
pnpm add @ianvs/prettier-plugin-sort-imports
pnpm add -D typescript tsx @eslint/js eslint eslint-config-prettier prettier typescript-eslint globals
If the directory is not already a git repo, run:
git init
Tell the user the project is ready and list the created files.