Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/check-skill-packaging.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
// The `prisma-composer` skill must arrive in the `@prisma/composer` tarball,
// The `prisma-composer-core-concepts` skill must arrive in the `@prisma/composer` tarball,
// carrying the version of the tarball it arrived in.
//
// That claim is only worth as much as the artifact that proves it. The
Expand Down
2 changes: 1 addition & 1 deletion scripts/set-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ for (const pkg of workspacePackages) {
updatedCount++;
}

// The `prisma-composer` skill ships inside the `@prisma/composer` tarball, so
// The `prisma-composer-core-concepts` skill ships inside the `@prisma/composer` tarball, so
// its `library_version` is part of the same lockstep stamp as the manifests:
// the version a reader of the skill sees is the version they installed.
const skillsDir = path.join(rootDir, 'skills');
Expand Down
5 changes: 4 additions & 1 deletion scripts/skill-frontmatter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ describe('the shipped skill', () => {
const rootVersion = JSON.parse(
await readFile(path.join(repoRoot, 'package.json'), 'utf-8'),
).version;
const source = await readFile(path.join(repoRoot, 'skills/prisma-composer/SKILL.md'), 'utf-8');
const source = await readFile(
path.join(repoRoot, 'skills/prisma-composer-core-concepts/SKILL.md'),
'utf-8',
);

assert.deepEqual(readSkillFrontmatter(source), {
library: '@prisma/composer',
Expand Down
5 changes: 3 additions & 2 deletions skills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ App without re-deriving the API from documentation each time.

## What's in the box

One skill, `prisma-composer`, covering the whole story: the mental model
One skill, `prisma-composer-core-concepts`, covering the whole story: the mental model
(Modules, `compute()`, `service.load()`), RPC contracts, databases, reusable
modules (cron/storage/streams), config params, secrets, testing
(`mockService`/`bootstrapService`), deploying (`prisma-composer deploy`,
Expand Down Expand Up @@ -71,7 +71,8 @@ surface change lands in both. For anyone editing the skill:
nothing, the surface doesn't ship — name it under *What Composer doesn't do
yet* instead of extrapolating.
- **The skill must be self-contained.** It gets installed into other repos, so
no link may resolve outside `skills/prisma-composer/`. Repo docs may be
no link may resolve outside `skills/prisma-composer-core-concepts/`. Repo
docs may be
named in prose ("`docs/design/10-domains/testing.md` in the prisma/composer
repo"), never linked relatively.
- **Teach concepts, not procedures.** Name the moving parts and the command
Expand Down
Loading
Loading