Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

studio-new-project

БесплатноБез исполняемых скриптовНе проверен

Scaffolds a new @jterrazz project with all conventions: studio.config.ts, package.json, the derived editor files, the Makefile's six gestures, CI workflows…

jterrazzот jterrazz★ 15 звёзд на GitHub

Об этом скилле

Create a new @jterrazz project

A project is born declared: one studio.config.ts, the derived editor files, a Makefile answering the six gestures. How each is written (the steps, the files whole, the first make check) is @jterrazz/typescript's Getting started, and where a test lives is @jterrazz/test's Set up a project. Follow them; this skill holds only what the estate adds.

For a new library (package-{name})

mkdir package-{name} && cd package-{name}
git init
npm init -y

The identity package.json carries beside what Getting started writes:

{
    "name": "@jterrazz/{name}",
    "version": "0.1.0",
    "author": "Jane Doe <[email protected]>",
    "type": "module",
    "files": ["dist"],
    "publishConfig": { "registry": "https://registry.npmjs.org/" },
    "repository": { "type": "git", "url": "https://github.com/jterrazz/package-{name}" }
}

studio.config.ts declares kind: 'library', the platform it runs on, and presets: [test()].

For a new application ({product}-{role})

"private": true, no exports or publishConfig; studio.config.ts declares the application's kind (api, cli, website or mobile) and its platform.

The composition root. An application is hexagonal (typescript: { architecture: { hexagonal: true } } in studio.config.ts) and is built in one place, src/composition/compose.ts: compose(config, overrides?: Partial<Ports>) calls the constructors and returns the typed graph with its [Symbol.asyncDispose]. No DI container library. Only the entry and the spec runners import it:

// src/index.ts
import { compose } from './composition/compose.js';

await using app = compose();
await app.server.start(app.configuration.http);

The law and its why are @jterrazz/typescript's The composition root; how a spec runner builds the app is @jterrazz/test's API specs.

CI workflows

.github/workflows/check.yaml:

name: Check
on:
    push:
        branches: [main]
    pull_request:
        branches: [main]
jobs:
    check:
        name: Check
        uses: jterrazz/studio-actions/.github/workflows/check.yaml@main

For libraries, also add .github/workflows/publish.yaml:

name: Publish
on:
    release:
        types: [created]
permissions:
    contents: read
    id-token: write
jobs:
    publish:
        name: Publish
        uses: jterrazz/studio-actions/.github/workflows/publish-npm.yaml@main

npm's trusted publishing is configured on npmjs.com against that file name, publish.yaml.

Repo structure, born structured

A new project starts with the corpus + injection layout, not just code. Do not author layout advice here; follow the studio-repo-structure skill, whose canonical page is studio-station docs/concepts/repo-structure.md:

  • README.md: the vitrine (what it is, install, a pointer into docs/), not a manual.
  • CLAUDE.md: the agent brief (mental model + routing table into docs/), a regular file; no AGENTS.md (the toolchain's docs/no-agents-brief refuses one).
  • docs/: the manual, cut by mood into start/, guides/, concepts/, reference/ and decisions/, with concepts/architecture.md, guides/develop.md and guides/test.md from day one.

Never

  • Never use pnpm or yarn
  • Never skip the Makefile
  • Never put business logic in src/index.ts: a library's only exports, an application's only composes and serves
  • Never author repo-layout advice in a skill; route to studio-repo-structure
Полный SKILL.md на GitHub

Установить studio-new-project в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл studio-new-project?

Scaffolds a new @jterrazz project with all conventions: studio.config.ts, package.json, the derived editor files, the Makefile's six gestures, CI workflows. Use when creating a new app or library from scratch.

Как установить скилл studio-new-project?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл studio-new-project запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить studio-new-project с