| name | SKILL-projectos |
| description | The pos CLI — scaffold, codegen, validate, and manage type-safe projectOS projects Use when: (1) running pos CLI commands, (2) calling its 14 API functions, (3) understanding its 1 type definitions, (4) user mentions "projectos", "pos", "cli", "scaffold", "codegen", (5) user mentions "projectos" or asks about its API.
|
projectos
The pos CLI — scaffold, codegen, validate, and manage type-safe projectOS projects
Quick Start
npm install -D projectos
npx pos --help
API
| Function | Description |
|---|
createFileWriter() | Create a FileWriter rooted at rootDir. |
capitalize() | |
entityName() | Derive singular entity name from a domain name (e.g., "thoughts" - "Thought"). |
schemaFileName() | Derive schema filename from domain (e.g., "thoughts" - "thought"). |
generateDomainSchema() | Generate a Zod schema file + barrel for a domain. Produces: domain/entity.schema.ts and domain/index.ts |
generateContractsIndex() | Generate the contracts barrel index that re-exports all domains. |
generatePackage() | Generate a workspace package (package.json + tsconfig.json). |
generateRouteFile() | Generate a Hono CRUD route file backed by Drizzle. |
generateApiEntry() | Generate the Hono API entry point. |
generateRootConfigs() | Generate all root config files (tsconfig, turbo, biome, gitignore, etc). |
generateAgentsMd() | Generate AGENTS.md with full project documentation. |
generateManifest() | Generate the LLM-readable project manifest. |
generateDatabasePackage() | Generate the full database package with Drizzle ORM + SQLite. |
generateFrontendPackage() | Generate a full SvelteKit 5 + DaisyUI frontend package. |
Key Types
FileWriter — Tracked file writer that creates parent dirs and records all written paths.
References