{"skill":{"slug":"project-scaffold","displayName":"Project Scaffold","summary":"Generate new projects with standardized structure, tooling, and configuration for web, API, mobile, CLI, or browser extension apps.","description":"# project-scaffold\n\nScaffold new projects with best-practice structure, tooling, and configuration.\n\n## Usage\n\nWhen Colt (or you) needs to start a new project, use this skill to generate the full boilerplate.\n\n## Decision Tree\n\nAsk or infer the project type:\n\n### Web App (React / Next.js)\n```\nmy-app/\n├── src/\n│   ├── app/              # Next.js app router\n│   ├── components/       # Reusable UI components\n│   ├── lib/              # Utilities, helpers, API clients\n│   ├── styles/           # Global styles, Tailwind config\n│   └── types/            # TypeScript type definitions\n├── public/               # Static assets\n├── tests/                # Test files\n├── .gitignore\n├── .eslintrc.json\n├── tailwind.config.ts\n├── tsconfig.json\n├── package.json\n└── README.md\n```\n\n**Init commands:**\n```bash\nnpx create-next-app@latest my-app --typescript --tailwind --eslint --app --src-dir\ncd my-app && npm install\n```\n\n### API / Backend (FastAPI)\n```\nmy-api/\n├── app/\n│   ├── __init__.py\n│   ├── main.py           # FastAPI app entry\n│   ├── routers/          # Route modules\n│   ├── models/           # Pydantic models / DB models\n│   ├── services/         # Business logic\n│   └── config.py         # Settings / env vars\n├── tests/\n├── .gitignore\n├── pyproject.toml\n├── requirements.txt\n└── README.md\n```\n\n**Init commands:**\n```bash\nmkdir my-api && cd my-api\nuv init && uv pip install fastapi uvicorn\n```\n\n### Mobile App (SwiftUI)\n```\nMyApp/\n├── MyApp/\n│   ├── App.swift\n│   ├── ContentView.swift\n│   ├── Models/\n│   ├── Views/\n│   ├── ViewModels/\n│   └── Services/\n├── MyAppTests/\n├── MyAppUITests/\n└── README.md\n```\n\n**Init:** Use Xcode or `swift package init --type executable`\n\n### CLI Tool (Node / Python)\n```\nmy-cli/\n├── src/\n│   └── index.ts          # Entry point\n├── bin/\n│   └── my-cli            # Executable wrapper\n├── tests/\n├── .gitignore\n├── tsconfig.json\n├── package.json\n└── README.md\n```\n\n### Browser Extension\n```\nmy-extension/\n├── src/\n│   ├── background.ts\n│   ├── content.ts\n│   ├── popup/\n│   │   ├── popup.html\n│   │   ├── popup.ts\n│   │   └── popup.css\n│   └── options/\n├── icons/\n├── manifest.json\n├── .gitignore\n├── tsconfig.json\n├── package.json\n└── README.md\n```\n\n## Post-Scaffold Checklist\n\nAfter generating structure:\n1. `git init && git add -A && git commit -m \"Initial scaffold\"`\n2. Create `.gitignore` appropriate to the project type\n3. Set up linting config (ESLint / Ruff)\n4. Add a basic README with project name and setup instructions\n5. Add a basic test file to verify the test runner works\n\n## Asset Templates\n\n### .gitignore (universal base)\n```\nnode_modules/\n__pycache__/\n.env\n.env.local\ndist/\nbuild/\n.next/\n*.pyc\n.DS_Store\n*.log\ncoverage/\n```\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":2681,"installsAllTime":101,"installsCurrent":10,"stars":2,"versions":1},"createdAt":1769625015605,"updatedAt":1778485863829},"latestVersion":{"version":"1.0.0","createdAt":1769625015605,"changelog":"Initial release of project-scaffold.\n\n- Provides boilerplate project structures for web apps (React/Next.js), APIs (FastAPI), mobile apps (SwiftUI), CLI tools, and browser extensions.\n- Includes recommended file/folder organization and relevant initialization commands for each project type.\n- Offers a universal .gitignore template and a post-scaffold checklist for next steps.\n- Guides users to ask or infer project type and then generates appropriate scaffolding.","license":null},"metadata":null,"owner":{"handle":"cmanfre7","userId":"s174nsk1wz65vv291vehv20gjh885wn8","displayName":"cmanfre7","image":"https://avatars.githubusercontent.com/u/232135881?v=4"},"moderation":null}