@pikku/skills 0.12.1 → 0.12.2
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/dist/skills.gen.js +1 -1
- package/package.json +1 -1
- package/skills/pikku-addon/SKILL.md +1 -1
- package/skills/pikku-ai-agent/SKILL.md +1 -1
- package/skills/pikku-ai-vercel/SKILL.md +1 -1
- package/skills/pikku-ai-voice/SKILL.md +1 -1
- package/skills/pikku-aws/SKILL.md +1 -1
- package/skills/pikku-backblaze/SKILL.md +1 -1
- package/skills/pikku-cli/SKILL.md +1 -1
- package/skills/pikku-concepts/SKILL.md +1 -1
- package/skills/pikku-config/SKILL.md +1 -1
- package/skills/pikku-cron/SKILL.md +1 -1
- package/skills/pikku-deploy-azure/SKILL.md +1 -1
- package/skills/pikku-deploy-cloudflare/SKILL.md +1 -1
- package/skills/pikku-deploy-express/SKILL.md +1 -1
- package/skills/pikku-deploy-fastify/SKILL.md +1 -1
- package/skills/pikku-deploy-lambda/SKILL.md +1 -1
- package/skills/pikku-deploy-nextjs/SKILL.md +1 -1
- package/skills/pikku-deploy-uws/SKILL.md +1 -1
- package/skills/pikku-fabric/SKILL.md +3 -3
- package/skills/pikku-feature/SKILL.md +1 -1
- package/skills/pikku-gateway-slack/SKILL.md +1 -1
- package/skills/pikku-http/SKILL.md +1 -1
- package/skills/pikku-info/SKILL.md +1 -1
- package/skills/pikku-jose/SKILL.md +1 -1
- package/skills/pikku-knowledge/SKILL.md +207 -0
- package/skills/pikku-kysely/SKILL.md +1 -1
- package/skills/pikku-mcp/SKILL.md +1 -1
- package/skills/pikku-mongodb/SKILL.md +1 -1
- package/skills/pikku-pino/SKILL.md +1 -1
- package/skills/pikku-queue/SKILL.md +1 -1
- package/skills/pikku-react/SKILL.md +1 -1
- package/skills/pikku-react-query/SKILL.md +1 -1
- package/skills/pikku-realtime/SKILL.md +1 -1
- package/skills/pikku-redis/SKILL.md +1 -1
- package/skills/pikku-rpc/SKILL.md +1 -1
- package/skills/pikku-scenario/SKILL.md +4 -4
- package/skills/pikku-schedule/SKILL.md +1 -1
- package/skills/pikku-schema-ajv/SKILL.md +1 -1
- package/skills/pikku-schema-cfworker/SKILL.md +1 -1
- package/skills/pikku-services/SKILL.md +1 -1
- package/skills/pikku-trigger/SKILL.md +1 -1
- package/skills/pikku-versioning/SKILL.md +1 -1
- package/skills/pikku-websocket/SKILL.md +1 -1
- package/skills/pikku-workflows-client/SKILL.md +1 -1
- package/skills/pikku-ws/SKILL.md +1 -1
|
@@ -300,13 +300,13 @@ Output is `PASS <name> (<ms>) → <output>` / `FAIL <name> (<ms>): <error>`, the
|
|
|
300
300
|
|
|
301
301
|
Coverage is attributed by running scenarios against a server that is collecting it. It is **not** derived from unit tests.
|
|
302
302
|
|
|
303
|
-
|
|
303
|
+
Prerequisite in `pikku.config.json`:
|
|
304
304
|
|
|
305
305
|
```json
|
|
306
|
-
{ "scaffold": { "scenarios": "auth" }
|
|
306
|
+
{ "scaffold": { "scenarios": "auth" } }
|
|
307
307
|
```
|
|
308
308
|
|
|
309
|
-
`scaffold.scenarios` generates the coverage and stub RPCs into your project (`pikkuScenarioTakeLiveCoverage`, `pikkuScenarioResetLiveCoverage`, `pikkuScenarioResetStubs`, `pikkuScenarioGetStubCalls`), so scenario runs work against any server. `
|
|
309
|
+
`scaffold.scenarios` generates the coverage and stub RPCs into your project (`pikkuScenarioTakeLiveCoverage`, `pikkuScenarioResetLiveCoverage`, `pikkuScenarioResetStubs`, `pikkuScenarioGetStubCalls`), so scenario runs work against any server. The coverage RPC reads `<outDir>/function/pikku-functions-meta-verbose.gen.json` off disk at request time — codegen always writes it, but it has to be deployed alongside the app or the RPC returns `null`.
|
|
310
310
|
|
|
311
311
|
```bash
|
|
312
312
|
pikku dev --coverage # V8 precise coverage, in-process
|
|
@@ -375,7 +375,7 @@ Services are plain objects — a Pikku function is pure business logic, so a moc
|
|
|
375
375
|
| Assuming a clean database | There is no state reset — it may be a staging server. Scope what you create. |
|
|
376
376
|
| `sleep()` before asserting | Use `expectEventually`. |
|
|
377
377
|
| `expectEventually` in a `pikkuWorkflowFunc` | `PKU675` — scenario-only. |
|
|
378
|
-
| Coverage silently 0 | Server not run with `--coverage`,
|
|
378
|
+
| Coverage silently 0 | Server not run with `--coverage`, verbose functions meta not deployed, `scaffold.scenarios` unset, or no actors configured. |
|
|
379
379
|
|
|
380
380
|
`@pikku/cucumber` is a **browser/e2e** harness (`Actor`, `BrowserWorld`, `PersonaData`, `DbUtils`) — out of scope here.
|
|
381
381
|
|
|
@@ -15,7 +15,7 @@ installGroups: [core]
|
|
|
15
15
|
|
|
16
16
|
Use this skill as an execution checklist, not reference material.
|
|
17
17
|
|
|
18
|
-
1. Discover before editing.
|
|
18
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
19
19
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
20
20
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
21
21
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -14,7 +14,7 @@ installGroups: [core]
|
|
|
14
14
|
|
|
15
15
|
Use this skill as an execution checklist, not reference material.
|
|
16
16
|
|
|
17
|
-
1. Discover before editing.
|
|
17
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
18
18
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
19
19
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
20
20
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -15,7 +15,7 @@ installGroups: [core, fabric]
|
|
|
15
15
|
|
|
16
16
|
Use this skill as an execution checklist, not reference material.
|
|
17
17
|
|
|
18
|
-
1. Discover before editing.
|
|
18
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
19
19
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
20
20
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
21
21
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -16,7 +16,7 @@ installGroups: [core]
|
|
|
16
16
|
|
|
17
17
|
Use this skill as an execution checklist, not reference material.
|
|
18
18
|
|
|
19
|
-
1. Discover before editing.
|
|
19
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
20
20
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
21
21
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
22
22
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -16,7 +16,7 @@ installGroups: [core]
|
|
|
16
16
|
|
|
17
17
|
Use this skill as an execution checklist, not reference material.
|
|
18
18
|
|
|
19
|
-
1. Discover before editing.
|
|
19
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
20
20
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
21
21
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
22
22
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -16,7 +16,7 @@ installGroups: [core]
|
|
|
16
16
|
|
|
17
17
|
Use this skill as an execution checklist, not reference material.
|
|
18
18
|
|
|
19
|
-
1. Discover before editing.
|
|
19
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
20
20
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
21
21
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
22
22
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -15,7 +15,7 @@ description: >-
|
|
|
15
15
|
|
|
16
16
|
Use this skill as an execution checklist, not reference material.
|
|
17
17
|
|
|
18
|
-
1. Discover before editing.
|
|
18
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
19
19
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
20
20
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
21
21
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
|
@@ -10,7 +10,7 @@ installGroups: [core]
|
|
|
10
10
|
|
|
11
11
|
Use this skill as an execution checklist, not reference material.
|
|
12
12
|
|
|
13
|
-
1. Discover before editing.
|
|
13
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
14
14
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
15
15
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
16
16
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|
package/skills/pikku-ws/SKILL.md
CHANGED
|
@@ -13,7 +13,7 @@ description: >-
|
|
|
13
13
|
|
|
14
14
|
Use this skill as an execution checklist, not reference material.
|
|
15
15
|
|
|
16
|
-
1. Discover before editing.
|
|
16
|
+
1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
|
|
17
17
|
2. Identify the source files that own the behavior. Do not start by reading generated output, `.pikku`, `node_modules`, vendored packages, or broad build artifacts.
|
|
18
18
|
3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
|
|
19
19
|
4. Validate with the narrowest relevant command first, then run `pikku-verify` or `pikku all` when functions, wirings, schemas, or generated clients may have changed.
|