Viniciustda/OiTenta / .agents/skills/config-project-fullstack
config-project-fullstack
VerifiedDeterministically create a new Turbo monorepo from zero in the current directory with an apps/frontend Next.js app on port 3000 and an apps/backend NestJS app on port 4000, including CORS, @nestjs/config, .env.example and .env files, optional workspace package namespace rewriting, and a guard against rerunning inside an already-created workspace.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.7 KB |
| agents/openai.yaml | config | 278 B |
| references/script-contract.md | markdown | 1.4 KB |
| scripts/create-project.js | script | 19.7 KB |
references/script-contract.md
View on GitHub# Script Contract
Use `scripts/create-project.js` for all project creation work.
## Command
```bash
node .agents/skills/config-project-fullstack/scripts/create-project.js [--namespace @scope] [--force-clean] [--dry-run]
```
## Guarantees
- Create the workspace in the current directory as the final destination.
- Scaffold a Turbo workspace with npm using the exact sequence requested by the user.
- Produce `apps/frontend` on port `3000`.
- Produce `apps/backend` on port `4000` with `ConfigModule.forRoot({ isGlobal: true })` and `app.enableCors()`.
- Create both `.env.example` and `.env` in frontend and backend.
- Refresh dependencies at the root after the workspace is patched.
## Safety
- Refuse to use the filesystem root as the target directory.
- Refuse to rerun in a directory that already contains the managed fullstack workspace unless `--force-clean` is present.
- Preserve existing files and directories that do not conflict with the generated project paths.
- Refuse to overwrite conflicting paths in the current directory unless `--force-clean` is present.
- Reject invalid namespaces that are not valid npm scopes such as `@acme`.
## Namespace Rules
- Rename the root package and every workspace package to the provided scope.
- Preserve the package slug when an existing package already has a scoped name.
- Rename local dependency keys across `dependencies`, `devDependencies`, `peerDependencies`, and `optionalDependencies`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |