@pikku/skills 0.12.58 → 0.12.60

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.
Files changed (73) hide show
  1. package/dist/skills.gen.js +2 -2
  2. package/package.json +10 -7
  3. package/skills/pikku-a11y/SKILL.md +5 -3
  4. package/skills/pikku-addon/SKILL.md +8 -9
  5. package/skills/pikku-addon/references/addon-package-manifest.md +53 -0
  6. package/skills/pikku-agent/SKILL.md +16 -13
  7. package/skills/pikku-agent/references/runner-vercel.md +1 -1
  8. package/skills/pikku-architect/SKILL.md +7 -10
  9. package/skills/pikku-auth/SKILL.md +16 -20
  10. package/skills/pikku-auth/references/better-auth.md +74 -37
  11. package/skills/pikku-auth/references/sessions.md +8 -0
  12. package/skills/pikku-build/SKILL.md +36 -68
  13. package/skills/pikku-build/references/app.md +27 -828
  14. package/skills/pikku-build/references/feature.md +3 -5
  15. package/skills/pikku-build/references/phase-1-what-it-is.md +167 -0
  16. package/skills/pikku-build/references/phase-2-people-and-apps.md +133 -0
  17. package/skills/pikku-build/references/phase-3-plan.md +62 -0
  18. package/skills/pikku-build/references/phase-4-build.md +253 -0
  19. package/skills/pikku-build/references/phase-5-prove-and-ship.md +148 -0
  20. package/skills/pikku-build/references/platform.md +5 -6
  21. package/skills/pikku-build/references/quick.md +2 -2
  22. package/skills/pikku-build/references/ship.md +11 -5
  23. package/skills/pikku-changes/SKILL.md +13 -7
  24. package/skills/pikku-concepts/SKILL.md +26 -258
  25. package/skills/pikku-concepts/references/cli.md +63 -0
  26. package/skills/pikku-concepts/references/functions.md +117 -0
  27. package/skills/pikku-concepts/references/language.md +5 -5
  28. package/skills/pikku-concepts/references/packages.md +6 -4
  29. package/skills/pikku-concepts/references/testing.md +14 -0
  30. package/skills/pikku-convert-screen/SKILL.md +7 -1
  31. package/skills/pikku-deploy/SKILL.md +29 -30
  32. package/skills/pikku-deploy/references/ws.md +1 -1
  33. package/skills/pikku-emails/SKILL.md +7 -3
  34. package/skills/pikku-guide/SKILL.md +7 -10
  35. package/skills/pikku-i18n/SKILL.md +18 -19
  36. package/skills/pikku-i18n/references/messages.md +6 -8
  37. package/skills/pikku-knowledge/SKILL.md +42 -45
  38. package/skills/pikku-kysely/SKILL.md +50 -13
  39. package/skills/pikku-list-query/SKILL.md +27 -14
  40. package/skills/pikku-meta/SKILL.md +13 -16
  41. package/skills/pikku-meta/references/audit.md +1 -45
  42. package/skills/pikku-meta/references/versioning.md +1 -1
  43. package/skills/pikku-middleware/SKILL.md +23 -13
  44. package/skills/pikku-middleware/references/middleware-patterns.md +2 -2
  45. package/skills/pikku-n8n-import/SKILL.md +7 -8
  46. package/skills/pikku-permissions/SKILL.md +14 -8
  47. package/skills/pikku-react/SKILL.md +7 -6
  48. package/skills/pikku-realtime/SKILL.md +16 -11
  49. package/skills/pikku-report/SKILL.md +8 -10
  50. package/skills/pikku-scenario/SKILL.md +8 -12
  51. package/skills/pikku-scenario/references/steps.md +3 -4
  52. package/skills/pikku-scenario/references/virtual-users.md +1 -1
  53. package/skills/pikku-seo/SKILL.md +16 -8
  54. package/skills/pikku-service-backends/SKILL.md +26 -28
  55. package/skills/pikku-services/SKILL.md +8 -9
  56. package/skills/pikku-services/references/services.md +1 -1
  57. package/skills/pikku-software-archaeology/README.md +12 -1
  58. package/skills/pikku-software-archaeology/SKILL.md +9 -2
  59. package/skills/pikku-software-archaeology/references/pikku-mapping.md +1 -1
  60. package/skills/pikku-software-archaeology/references/sources/express.md +75 -0
  61. package/skills/pikku-software-archaeology/references/sources/laravel.md +77 -0
  62. package/skills/pikku-software-archaeology/references/sources/nestjs.md +73 -0
  63. package/skills/pikku-software-archaeology/references/sources/rails.md +72 -0
  64. package/skills/pikku-software-archaeology/references/tests-to-scenarios.md +72 -0
  65. package/skills/pikku-tailwind/SKILL.md +15 -16
  66. package/skills/pikku-theme/SKILL.md +15 -17
  67. package/skills/pikku-ui/SKILL.md +4 -3
  68. package/skills/pikku-webhook/SKILL.md +10 -11
  69. package/skills/pikku-wiring/SKILL.md +45 -47
  70. package/skills/pikku-wiring/references/channel.md +1 -1
  71. package/skills/pikku-wiring/references/scheduler.md +1 -1
  72. package/skills/pikku-wiring/references/trigger.md +24 -1
  73. package/skills/pikku-workflow/SKILL.md +7 -8
@@ -1,17 +1,14 @@
1
1
  ---
2
2
  name: pikku-build
3
3
  description: >-
4
- Use to build on Pikku — turning a fresh scaffold into a working app (quick spike, real product,
5
- or a showcase that exercises every surface), adding a feature to an app that already exists, and
6
- the one-off cleanup right after a template is cloned. Covers the knowledge base, virtual users and
7
- roles, filing the work as changes, the scenario that proves each one, theming, multi-app
8
- layouts and deploying. TRIGGER when: the user asks for an app to be built on
9
- Pikku, a freshly scaffolded project needs turning into a product, the user asks to add a feature
10
- or wire up a new endpoint in a working app, or a template was just cloned or scaffolded. DO NOT
11
- TRIGGER when: the user asks for a one-off edit to an existing function, asks about Pikku concepts
12
- (use pikku-concepts), wants one specific surface explained rather than built (use that surface's
13
- skill), only needs the technical plan for one claimed changeset (use pikku-architect), or is
14
- working items off a deployed stage's changes queue (use pikku-changes).
4
+ Owns app-level work on Pikku (new app, feature, conversion); load pikku-concepts first. Turn a fresh scaffold into a working app (spike, real product or showcase), add a
5
+ feature or endpoint to an existing app, and the cleanup after a template is cloned. Covers
6
+ knowledge base, virtual users, changes, proving scenarios, theming, multi-app layouts, deploying.
7
+ TRIGGER when: asked to build an app on Pikku, a scaffold/template was just created or cloned, or
8
+ asked to add a feature or wire a new endpoint in a working app. DO NOT TRIGGER for one-off
9
+ function edits, Pikku concepts (use pikku-concepts), explaining one surface (use that surface's
10
+ skill), planning one claimed changeset (use pikku-architect) or working a stage's changes queue
11
+ (use pikku-changes).
15
12
  allowed-tools: Bash(yarn pikku meta *), Bash(yarn pikku all *), Bash(yarn tsc), Bash(git status *), Bash(git diff *), Bash(git switch *), Bash(git checkout *), Bash(git checkout -b *), Bash(git add *), Bash(git commit *), Bash(git rm *), Bash(git mv *), Bash(git log *), Bash(git branch *), Bash(yarn pikku cloud report *), Bash(npx --no pikku cloud report *)
16
13
  argument-hint: '[feature description]'
17
14
  installGroups: [core]
@@ -32,29 +29,30 @@ agent:
32
29
 
33
30
  ## Which mode
34
31
 
35
- | The situation | Read |
36
- | ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
37
- | A template was just cloned or scaffolded, and the tree still looks like one | `references/post-clone.md` first, then come back |
38
- | A real product, meant to be picked up by someone else | `references/app.md` — the default |
39
- | A spike, a throwaway demo, an idea nobody has committed to | `references/quick.md` |
40
- | A showcase meant to exercise every Pikku surface | `references/platform.md`, read together with `references/app.md` |
41
- | A feature added to an app that already has its knowledge base | `references/feature.md` |
42
- | Writing or fixing the scenarios that prove a changeset (app §7, §7a) | `references/scenarios.md` |
43
- | Before the first screen is built: a picture of the screens, a design direction | `references/design.md` |
44
- | Authoring or changing the theme (app §8a) | `references/theming.md` |
45
- | A screen needs data no function returns yet | `references/mocks.md` |
46
- | Adding a second frontend (app §4), at the changeset that needs it | `references/multi-app.md` |
47
- | Shipping an app as a desktop or Android app | `references/native-app.md` |
48
- | Deploying, and the deploy-readiness contract (app §9) | `references/ship.md` |
49
- | The request is built on an OpenAPI spec (auth mode, sign-in or connect screen) | `references/openapi.md` |
32
+ | The situation | Read |
33
+ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
34
+ | A template was just cloned or scaffolded, and the tree still looks like one | `references/post-clone.md` first, then come back |
35
+ | A real product, meant to be picked up by someone else | `references/app.md` (index), then the phase file it names for the phase you are in — the default |
36
+ | A spike, a throwaway demo, an idea nobody has committed to | `references/quick.md` |
37
+ | A showcase meant to exercise every Pikku surface | `references/platform.md`, read together with `references/app.md` |
38
+ | A feature added to an app that already has its knowledge base | `references/feature.md` |
39
+ | Writing or fixing the scenarios that prove a changeset (app §7, §7a) | `references/scenarios.md` |
40
+ | Before the first screen is built: a picture of the screens, a design direction | `references/design.md` |
41
+ | Authoring or changing the theme (app §8a) | `references/theming.md` |
42
+ | A screen needs data no function returns yet | `references/mocks.md` |
43
+ | Adding a second frontend (app §4), at the changeset that needs it | `references/multi-app.md` |
44
+ | Shipping an app as a desktop or Android app | `references/native-app.md` |
45
+ | Deploying, and the deploy-readiness contract (app §9) | `references/ship.md` |
46
+ | The request is built on an OpenAPI spec (auth mode, sign-in or connect screen) | `references/openapi.md` |
50
47
 
51
48
  **App is the default.** A small or toy-sounding app does not make it Quick;
52
49
  only an explicit signal of speed or throwaway-ness does. Platform is not "App
53
50
  plus more effort" — it is App plus a deliberate surface checklist: read both
54
51
  files, follow the base in full, and do not blend the two into one plan.
55
52
 
56
- Each reference names the topics it leans on but never tells you to open
57
- another file; this table is the only routing. Open a reference when its row
53
+ Apart from `app.md`, which indexes its own phase files, each reference names
54
+ the topics it leans on but never tells you to open another file; this table is
55
+ the only routing. Open a reference when its row
58
56
  matches, not up front.
59
57
 
60
58
  ## Bootstrap before anything else
@@ -109,7 +107,7 @@ generated functions through `ref()`.
109
107
  calls for a scheduled task and `capabilities.scheduler` is `false`, check
110
108
  `pikku doc` for the door before concluding you cannot build it.
111
109
  - **`metaLocale` in `pikku.config.json` is the language of authored meta** —
112
- every `description`, `title` and step `template` the console renders.
110
+ every `description`, `title` and step `template` authored in meta.
113
111
  Identifiers stay English whatever it says, and the product's own language
114
112
  lives in `messages/*.json`.
115
113
  - **`pikku all` is the gate.** Run it after touching functions, wirings or
@@ -146,8 +144,6 @@ generated functions through `ref()`.
146
144
  - **App** — the frontend's URL (`http://localhost:7104` in the template; each
147
145
  frontend in `frontends` in `pikku.config.json` has its own port)
148
146
  - **API** — `http://localhost:3000`
149
- - **Console** — `http://localhost:3000/console`, plus a deep link to each
150
- page that shows what this turn produced (the paths are below)
151
147
 
152
148
  A person who has to go hunting for the port assumes the app did not start.
153
149
 
@@ -166,46 +162,18 @@ again with `--consent <answer>`. If it says reporting is off, do not ask.
166
162
  ## Who you are talking to
167
163
 
168
164
  The prompt asks first how technical the person is: **not technical**,
169
- **technical, no code**, or **developer** (the default when unsaid). Whenever the
170
- build makes or changes something the console can show, give the
171
- `http://localhost:<port>/console/...` link instead of describing it.
165
+ **technical, no code**, or **developer** (the default when unsaid). Report in
166
+ plain words at that level, and give the links `bun run dev` printed (the app
167
+ and the API). No per-feature deep links.
172
168
 
173
- Until the app is deployed that is the local open-source console, on the port
174
- `pikku dev` printed. Once it is deployed, link the hosted console for the stage
175
- you are talking about instead.
176
-
177
- | Level | Links | Code in the conversation |
178
- | ------------------ | --------------------------- | ------------------------ |
179
- | Not technical | Product pages only | Never |
180
- | Technical, no code | Product and technical pages | Never |
181
- | Developer | Product and technical pages | As normal |
169
+ | Level | Code in the conversation |
170
+ | ------------------ | ------------------------ |
171
+ | Not technical | Never |
172
+ | Technical, no code | Never |
173
+ | Developer | As normal |
182
174
 
183
175
  "Never" includes snippets and command lines; say what changed in the person's
184
- words and link to where they can see it.
185
-
186
- **Product pages** — the only ones a non-technical person gets:
187
-
188
- | Shows | Path |
189
- | --------------------- | -------------------------------------------------------------------------- |
190
- | Knowledge, plans | `/console/knowledge`, `/console/knowledge?id=<note path>` |
191
- | Virtual users | `/console/virtual-users`, `/console/virtual-users?virtual user=<id>` |
192
- | Roles and permissions | `/console/roles`, `/console/scopes` (only with `@pikku/addon-admin` wired) |
193
- | Scenarios and runs | `/console/scenarios?id=<id>`, `/console/scenarios?view=runs&run=<run id>` |
194
- | Workflows | `/console/workflow?id=<id>` |
195
- | Agents | `/console/agents`, `/console/agents/playground?id=<agent id>` |
196
-
197
- **Technical pages** — never for a non-technical person: `/console/overview`,
198
- `/console/functions`, `/console/surface`, `/console/database`,
199
- `/console/changes`, `/console/wires/http`, `/console/wires/channel`,
200
- `/console/wires/mcp`, `/console/wires/cli`, `/console/wires/gateway`,
201
- `/console/async/scheduler`, `/console/async/queue`, `/console/async/trigger`,
202
- `/console/runtime`, `/console/emails`, `/console/webhooks`, `/console/secrets`,
203
- `/console/variables`, `/console/security`, `/console/auth-providers`,
204
- `/console/addons`, `/console/analytics`, `/console/credentials`,
205
- `/console/users`, `/console/audit`, `/console/flags`, `/console/scorers`.
206
-
207
- These come from `packages/console/src/App.tsx`; do not link a path that is not
208
- listed here.
176
+ words and point at the running app.
209
177
 
210
178
  ## What NOT to do
211
179