project-scaffold
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Unified project scaffolder that works across all platforms. Scaffold .agent folders, backend (NestJS), frontend (NextJS), mobile (Expo), and browser extensions (Plasmo) with interactive prompts. Supports both monorepo and separate repository structures, and can add components to existing projects.
28installs
Sourceshipshitdev/library
Added on
NPX Install
npx skill4agent add shipshitdev/library project-scaffoldTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Project Scaffold
Unified project scaffolder for creating new projects or adding components to existing ones.
Purpose
This skill provides a unified way to scaffold:
- folder structure for AI-first development
.agents/ - Backend (NestJS) with MongoDB, Swagger, and best practices
- Frontend (NextJS) with Tailwind and @agenticindiedev/ui
- Mobile (Expo) with React Native and Expo Router
- Browser Extension (Plasmo) with React and Tailwind
When to Use
Use this skill when:
- Starting a new project from scratch
- Adding components to an existing project
- Setting up a monorepo or separate repositories
- Need a unified scaffolding experience across Claude, Codex, and Cursor
Usage
Interactive Mode (Recommended)
bash
python3 ~/.claude/skills/project-scaffold/scripts/scaffold.pyThe script will ask you:
- Project name
- Project root path
- Repository structure (monorepo vs separate)
- Components to scaffold (all optional):
- .agent folder
- Backend (NestJS)
- Frontend (NextJS)
- Mobile (Expo)
- Extension (Plasmo)
- Organization name (for monorepo packages)
From Claude
When user requests scaffolding, activate this skill and run:
bash
python3 ~/.claude/skills/project-scaffold/scripts/scaffold.pyThe script handles all interactive prompts.
Features
Flexible Structure
- Monorepo: All components in one repository with workspace configuration
- Separate repos: Each component in its own directory/repository
- Existing projects: Can add components to existing projects
Component Options
All components are optional - scaffold only what you need:
- folder with full AI documentation structure
.agents/ - Backend with NestJS, MongoDB, Swagger
- Frontend with NextJS 15, Tailwind, @agenticindiedev/ui
- Mobile with Expo Router, React Native
- Extension with Plasmo, React, Tailwind
Cross-Platform
Works from:
- Claude Code
- Codex
- Cursor
Generated Structure
Monorepo Example
myproject/
├── .agents/ # AI documentation
├── package.json # Workspace root
├── api/ # NestJS backend
│ ├── .agents/
│ ├── apps/api/src/
│ └── package.json
├── frontend/ # NextJS apps
│ ├── .agents/
│ ├── apps/dashboard/
│ └── package.json
├── mobile/ # Expo app
│ ├── .agents/
│ ├── app/
│ └── package.json
└── extension/ # Plasmo extension
├── .agents/
├── src/
└── package.jsonSeparate Repos Example
myproject-api/ # Backend only
├── .agents/
├── apps/api/src/
└── package.json
myproject-frontend/ # Frontend only
├── .agents/
├── apps/dashboard/
└── package.jsonKey Patterns Included
Backend (NestJS)
- Soft deletes:
isDeleted: boolean - Multi-tenancy: Always filter by
organization - Collection pattern: controllers → services → schemas
- Swagger documentation
- Dockerfile included
Frontend (NextJS)
- Path aliases: ,
@components/,@services/@hooks/ - Tailwind CSS with @agenticindiedev/ui
- TypeScript strict mode
- App Router structure
Mobile (Expo)
- Expo Router for navigation
- TypeScript configuration
- Platform-specific configurations
Extension (Plasmo)
- React + TypeScript
- Tailwind CSS with @agenticindiedev/ui
- Manifest configuration
- Popup component
Next Steps After Scaffolding
-
Install dependencies:bash
cd [project-root] bun install -
Start development:bash
# Monorepo bun run dev:api bun run dev:frontend # Separate repos cd api && bun run start:dev cd frontend && bun run dev -
Customize:
- Update with your coding standards
.agents/SYSTEM/RULES.md - Configure environment variables
- Add your first features
- Update
Integration with Existing Skills
This skill integrates with:
- : Uses its script for .agent folder scaffolding
agent-folder-init - : Reuses component templates and patterns
fullstack-workspace-init
Troubleshooting
Script not found: Ensure the skill is installed in
~/.claude/skills/project-scaffold/Permission denied: Make script executable:
chmod +x ~/.claude/skills/project-scaffold/scripts/scaffold.pyPython not found: Ensure Python 3 is installed and in PATH
Agent folder not created: The script tries to use skill. If not found, it will skip .agent folder creation.
agent-folder-init