Skip to content

Viniciustda/OiTenta / .agents/skills/config-project-fullstack

config-project-fullstack

Verified

Deterministically 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.

FileKindSize
SKILL.mdskill md2.7 KB
agents/openai.yamlconfig278 B
references/script-contract.mdmarkdown1.4 KB
scripts/create-project.jsscript19.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`.
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: 321kUpdated Claude CodeCodexVerifiedInstall
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: 197kUpdated Claude CodeCodexVerifiedInstall
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: 197kUpdated Claude CodeCodexVerifiedInstall
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: 197kUpdated Claude CodeCodexVerifiedInstall