creek 0.4.16 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/skills/README.md +4 -5
- package/skills/creek/SKILL.md +58 -54
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "creek",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "The Creek deployment platform — CLI and runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"directory": "packages/creek"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@solcreek/cli": "^0.4.
|
|
54
|
+
"@solcreek/cli": "^0.4.17",
|
|
55
55
|
"@solcreek/runtime": "^0.4.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {}
|
package/skills/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Agent Skills for Creek
|
|
2
2
|
|
|
3
3
|
[Agent Skills](https://agentskills.io/) for [Creek](https://creek.dev) —
|
|
4
|
-
the deployment platform that
|
|
5
|
-
|
|
4
|
+
the deployment platform that ships full-stack apps to the edge with a
|
|
5
|
+
single command and a single semantic resource model.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -50,9 +50,8 @@ guidance. They drive:
|
|
|
50
50
|
Claude Code / Cursor / Codex / OpenCode.
|
|
51
51
|
2. **MCP resources** — `mcp.creek.dev` exposes each reference file
|
|
52
52
|
as `creek://skill/<name>` via `resources/list` + `resources/read`.
|
|
53
|
-
Bundled into the MCP worker at deploy time
|
|
54
|
-
|
|
55
|
-
load filesystem skills.
|
|
53
|
+
Bundled into the MCP worker at deploy time. Serves claude.ai users
|
|
54
|
+
+ API agents that can't load filesystem skills.
|
|
56
55
|
|
|
57
56
|
Edit the `.md` file once — both surfaces update on next deploy.
|
|
58
57
|
|
package/skills/creek/SKILL.md
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: creek
|
|
3
3
|
description: |
|
|
4
|
-
Deploy and manage apps
|
|
5
|
-
|
|
6
|
-
manage team-owned databases (creek db),
|
|
7
|
-
queues, GitHub push deploys, and local
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
Deploy and manage full-stack apps to the edge with Creek — one
|
|
5
|
+
command from local code to a live URL. Ship, diagnose failed deploys,
|
|
6
|
+
read runtime + build logs, manage team-owned databases (creek db),
|
|
7
|
+
handle custom domains, cron, queues, GitHub push deploys, and local
|
|
8
|
+
dev. Skill covers Creek's conventions (semantic resource keys,
|
|
9
|
+
shared schema + split boot pattern, unified sandbox/production code
|
|
10
|
+
path) plus CK-error code fix hints.
|
|
11
11
|
when_to_use: |
|
|
12
12
|
Use when the user mentions creek, creek.dev, creek.toml, creek deploy,
|
|
13
|
-
creek db, creek logs, creek doctor, `npx creek`,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/ "
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
wrangler.jsonc, or code that imports from @solcreek/*.
|
|
13
|
+
creek db, creek logs, creek doctor, `npx creek`, or "deploy to the
|
|
14
|
+
edge". Also use when a user says "my deploy failed" / "deploy to creek
|
|
15
|
+
didn't work" / "add a database to my creek project" / "why isn't my
|
|
16
|
+
push deploying" / "can I share a database across projects" / "is my
|
|
17
|
+
cron running". Pre-emptively load when editing creek.toml or code
|
|
18
|
+
that imports from @solcreek/*.
|
|
20
19
|
license: Apache-2.0
|
|
21
20
|
compatibility: Requires Creek CLI (npm install -g creek)
|
|
22
21
|
paths:
|
|
23
22
|
- "**/creek.toml"
|
|
24
|
-
- "**/wrangler.{json,jsonc,toml}"
|
|
25
23
|
- "**/examples/vite-react-drizzle/**"
|
|
26
24
|
- "**/server/{local,worker,routes,schema}.ts"
|
|
27
25
|
metadata:
|
|
@@ -32,49 +30,55 @@ metadata:
|
|
|
32
30
|
|
|
33
31
|
# Creek CLI — Agent Skill
|
|
34
32
|
|
|
35
|
-
Creek deploys web apps to
|
|
33
|
+
Creek deploys full-stack web apps to the edge with a single command.
|
|
36
34
|
Auto-detects framework, determines render mode (SPA/SSR/Worker),
|
|
37
35
|
provisions infrastructure.
|
|
38
36
|
|
|
39
37
|
## Mental Model
|
|
40
38
|
|
|
41
|
-
Creek
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- **
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
`
|
|
39
|
+
Creek manages the deploy target, bindings, and runtime for you. You
|
|
40
|
+
work with semantic concepts — `database`, `cache`, `storage`, `ai` —
|
|
41
|
+
not infrastructure primitives. The CLI and `@solcreek/runtime` cover
|
|
42
|
+
the concerns you'd normally write glue code for.
|
|
43
|
+
|
|
44
|
+
Rule of thumb: if you're about to write platform-level glue (editing
|
|
45
|
+
generated config, manually provisioning infra, swapping drivers across
|
|
46
|
+
local/production), check whether `creek` or `@solcreek/runtime` already
|
|
47
|
+
handles it. It almost always does.
|
|
48
|
+
|
|
49
|
+
## Conventions that matter on first pass
|
|
50
|
+
|
|
51
|
+
Creek deviates from common deployment heuristics in a few specific
|
|
52
|
+
ways. Getting these right up front avoids dead-end rewrites.
|
|
53
|
+
|
|
54
|
+
- **Semantic resource keys.** In `creek.toml [resources]`, use
|
|
55
|
+
`database`, `cache`, `storage`, `ai`. These map to infrastructure
|
|
56
|
+
automatically. Other names are silently dropped — `creek doctor`
|
|
57
|
+
flags this with `CK-RESOURCES-KEYS`.
|
|
58
|
+
|
|
59
|
+
- **Provision via `creek db create <name>`, not platform-specific
|
|
60
|
+
tooling.** Creates a team-owned resource with a stable UUID that
|
|
61
|
+
can be renamed, shared across projects, and detached without
|
|
62
|
+
dropping data. Provisioning outside Creek creates orphaned
|
|
63
|
+
infrastructure the platform can't track.
|
|
64
|
+
|
|
65
|
+
- **One code path for sandbox and production.** Env var behavior is
|
|
66
|
+
identical. Sandbox just runs without user-set secrets. Gate on
|
|
67
|
+
`env.MY_KEY` being present; don't fork code paths.
|
|
68
|
+
|
|
69
|
+
- **Shared schema + split boot files for portable DB code.** The
|
|
70
|
+
recommended shape: one `schema.ts` + one `routes.ts` (driver-agnostic)
|
|
71
|
+
+ thin boot files (`server/local.ts` for local dev, `server/worker.ts`
|
|
72
|
+
for production) that differ only in driver setup. Never duplicate
|
|
73
|
+
the schema across local and production files — `creek doctor` flags
|
|
74
|
+
this with `CK-DB-DUAL-DRIVER-SPLIT`. See `references/resources.md`
|
|
75
|
+
and `examples/vite-react-drizzle`.
|
|
76
|
+
|
|
77
|
+
- **`creek.toml` is the source of truth for config.** Creek generates
|
|
78
|
+
its deploy-target config at build time. Hand-edits to generated
|
|
79
|
+
files get reverted on next deploy. If an existing project has a
|
|
80
|
+
legacy config file from another tool, `creek doctor` flags it with
|
|
81
|
+
`CK-CONFIG-OVERLAP` and guides the reconciliation.
|
|
78
82
|
|
|
79
83
|
## Quick Triage
|
|
80
84
|
|
|
@@ -99,7 +103,7 @@ If the phrasing doesn't match any row, default to `creek doctor --json`
|
|
|
99
103
|
|
|
100
104
|
## Sandbox with DB (no account, 60 min preview)
|
|
101
105
|
|
|
102
|
-
Sandbox mode auto-provisions a
|
|
106
|
+
Sandbox mode auto-provisions a database when `creek.toml` declares
|
|
103
107
|
`[resources] database = true` — no `creek login`, no `creek db create`
|
|
104
108
|
required. The binding name is `DB`. This makes it safe to build a
|
|
105
109
|
DB-backed CRUD demo (e.g. TODO list) and ship a live URL in one step.
|