Viniciustda/OiTenta / .agents/skills/config-project-fullstack
config-project-fullstack
UnverifiedDeterministically 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.
Config Project Fullstack
Use the script at scripts/create-project.js instead of replaying the scaffold steps manually.
Workflow
- Read
references/script-contract.mdif the request is about flags, safety guarantees, or namespace behavior. - Run:
node .agents/skills/config-project-fullstack/scripts/create-project.js [--namespace @scope] [--force-clean]
- Always run the script from the folder that should become the project root. The final project must be created in the current directory, not in a sibling or nested destination folder.
- Prefer
--namespace @scopewhen the user wants all workspace packages renamed to the same npm scope. - Prefer
--force-cleanonly when the current directory already contains a workspace created by this skill and the user clearly wants that generated structure recreated from zero. - After the script finishes, verify the resulting workspace paths in the current directory and report what was created.
Behavior
- Create the Turbo repo with npm.
- Use the current directory as the final workspace destination.
- Refuse to run again in a directory that already contains the generated fullstack workspace unless
--force-cleanis explicitly supplied. - Preserve pre-existing files and directories in the current directory when they do not conflict with generated project paths.
- Remove the default
apps/*created by Turbo. - Create
apps/frontendwithcreate-next-app. - Ensure Nest CLI exists, create
apps/backend, install@nestjs/config, and patch the backend bootstrap files. - Create
.env.exampleand.envfor frontend and backend. - Reinstall workspace dependencies at the root to refresh the lockfile after scaffolding and namespace updates.
- Rewrite package names and local package references when
--namespaceis provided.
Constraints
- Keep the workflow deterministic and do not change the scaffold order unless the script itself is being updated.
- Do not create the final project in another folder. The final workspace must land in the current directory only.
- Refuse conflicting project paths in the current directory unless
--force-cleanis explicitly supplied. - Do not move, delete, or rewrite unrelated non-conflicting files or directories that already exist in the current directory.
- Do not create extra documentation files beyond the skill resources already present.
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: 318k | Updated | Claude CodeCodex | Unverified | 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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |