@pikku/skills 0.12.13 → 0.12.15

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 (49) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/skills.gen.js +1 -1
  3. package/package.json +1 -1
  4. package/skills/pikku-ai-vercel/SKILL.md +1 -1
  5. package/skills/pikku-ai-voice/SKILL.md +1 -0
  6. package/skills/pikku-audit/SKILL.md +0 -1
  7. package/skills/pikku-better-auth/SKILL.md +1 -1
  8. package/skills/pikku-build-app/SKILL.md +0 -1
  9. package/skills/pikku-build-platform/SKILL.md +3 -4
  10. package/skills/pikku-build-quick/SKILL.md +0 -1
  11. package/skills/pikku-cli/SKILL.md +1 -1
  12. package/skills/pikku-concepts/SKILL.md +58 -16
  13. package/skills/pikku-concepts/references/concept-mapping.md +1 -1
  14. package/skills/pikku-deploy-cloudflare/SKILL.md +0 -1
  15. package/skills/pikku-deps/SKILL.md +0 -1
  16. package/skills/pikku-emails/SKILL.md +1 -1
  17. package/skills/pikku-fabric/SKILL.md +55 -4
  18. package/skills/pikku-feature/SKILL.md +0 -1
  19. package/skills/pikku-gateway-slack/SKILL.md +1 -0
  20. package/skills/pikku-i18n/SKILL.md +1 -1
  21. package/skills/pikku-jose/SKILL.md +1 -0
  22. package/skills/pikku-knowledge/SKILL.md +0 -1
  23. package/skills/pikku-kysely/SKILL.md +1 -1
  24. package/skills/pikku-machine-auth/SKILL.md +1 -0
  25. package/skills/pikku-meta/SKILL.md +139 -0
  26. package/skills/pikku-n8n-import/SKILL.md +1 -0
  27. package/skills/pikku-paraglide/SKILL.md +1 -1
  28. package/skills/pikku-product-second-opinion/SKILL.md +0 -1
  29. package/skills/pikku-queue/SKILL.md +1 -1
  30. package/skills/pikku-react/SKILL.md +1 -1
  31. package/skills/pikku-react-query/SKILL.md +1 -1
  32. package/skills/pikku-realtime/SKILL.md +0 -1
  33. package/skills/pikku-rpc/SKILL.md +1 -1
  34. package/skills/pikku-rtl/SKILL.md +1 -1
  35. package/skills/pikku-scenario/SKILL.md +29 -2
  36. package/skills/pikku-schedule/SKILL.md +178 -50
  37. package/skills/pikku-schema-ajv/SKILL.md +0 -1
  38. package/skills/pikku-schema-cfworker/SKILL.md +0 -1
  39. package/skills/pikku-security/SKILL.md +2 -2
  40. package/skills/pikku-software-archaeology/SKILL.md +0 -1
  41. package/skills/pikku-template-clone/SKILL.md +0 -1
  42. package/skills/pikku-trigger/SKILL.md +1 -1
  43. package/skills/pikku-versioning/SKILL.md +0 -1
  44. package/skills/pikku-workflow/SKILL.md +1 -1
  45. package/skills/pikku-workflows-client/SKILL.md +1 -1
  46. package/skills/pikku-ws/SKILL.md +1 -0
  47. package/skills/pikku-cron/SKILL.md +0 -221
  48. package/skills/pikku-info/SKILL.md +0 -110
  49. package/skills/pikku-tag-middleware/SKILL.md +0 -14
@@ -1,110 +0,0 @@
1
- ---
2
- name: pikku-info
3
- description: >-
4
- Discover what exists in a Pikku project — functions (with their transport, middleware and
5
- permissions), tags, middleware and permission definitions. Use when you need to understand the
6
- project structure, find existing functions, or check what middleware and permissions are
7
- defined. TRIGGER when: user asks "what functions exist?", "show me the project structure", "list
8
- routes/middleware/permissions", or needs to understand an existing Pikku codebase. DO NOT
9
- TRIGGER when: user is writing new code (use the specific wiring skill) or asking about Pikku
10
- concepts (use pikku-concepts).
11
- installGroups: [core]
12
- allowed-tools: Bash(yarn pikku info *)
13
- argument-hint: '[functions|tags|middleware|permissions] [--verbose] [--limit N]'
14
- ---
15
-
16
- # Pikku Project Discovery
17
-
18
- ## Agent Operating Procedure
19
-
20
- Use this skill as an execution checklist, not reference material.
21
-
22
- 1. Discover before editing. Run the relevant `pikku meta ... --json` command and inspect only the focused output you need.
23
- 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.
24
- 3. Make the smallest source change that satisfies the task. Keep generated files generated, and avoid hand-editing SDKs, schema output, or typegen.
25
- 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.
26
- 5. If validation fails, fix the source cause and rerun validation. Do not paper over generated errors by editing generated files.
27
-
28
- Use the `pikku info` CLI commands to inspect this Pikku project. Run the commands below and present the results to the user in a clear summary.
29
-
30
- There are exactly four subcommands — `functions`, `tags`, `middleware`,
31
- `permissions`. Routes, channels, schedulers and queues are not separate
32
- subcommands; they show up as the _transport_ column of `info functions --verbose`.
33
-
34
- ## Available Commands
35
-
36
- `--silent` suppresses the banner and the inspector's diagnostics, which is what
37
- you want when parsing the table. It is read by the CLI but not declared as an
38
- option, so every run also prints `Warning: Unknown option: --silent (ignored)` —
39
- the warning is wrong, the flag works. Ignore that one line.
40
-
41
- For anything you intend to parse rather than read, prefer `--json` (alias
42
- `-j`, or `--output json`), which emits NDJSON instead of a formatted table.
43
-
44
- ### Functions
45
-
46
- List all registered pikku functions:
47
-
48
- ```bash
49
- yarn pikku info functions --silent
50
- ```
51
-
52
- For full details including transport type (http/channel/scheduler/queue/workflow/mcp/cli/trigger), middleware, permissions, and source file:
53
-
54
- ```bash
55
- yarn pikku info functions --verbose --silent
56
- ```
57
-
58
- ### Tags
59
-
60
- List all tags with counts of associated functions and middleware:
61
-
62
- ```bash
63
- yarn pikku info tags --silent
64
- ```
65
-
66
- For full names instead of counts:
67
-
68
- ```bash
69
- yarn pikku info tags --verbose --silent
70
- ```
71
-
72
- ### Middleware
73
-
74
- List all middleware definitions:
75
-
76
- ```bash
77
- yarn pikku info middleware --silent
78
- ```
79
-
80
- For full details including source file, required services, and description:
81
-
82
- ```bash
83
- yarn pikku info middleware --verbose --silent
84
- ```
85
-
86
- ### Permissions
87
-
88
- List all permission definitions:
89
-
90
- ```bash
91
- yarn pikku info permissions --silent
92
- ```
93
-
94
- For full details including source file, required services, and description:
95
-
96
- ```bash
97
- yarn pikku info permissions --verbose --silent
98
- ```
99
-
100
- ## Instructions
101
-
102
- 1. If the user specifies a subcommand (e.g., `/pikku-info functions`), run only that command.
103
- 2. If no subcommand is specified, run all four commands to give a complete project overview.
104
- 3. Always use `--silent` to suppress the Pikku banner and inspector logs, and disregard the spurious "Unknown option" warning it prints.
105
- 4. Use `--verbose` when the user asks for details, file paths, or "more info". On `tags` it swaps counts for names; elsewhere it adds columns.
106
- 5. Use `--limit N` to control output size (default is 50 rows) — the footer tells you how many were withheld.
107
- 6. After running the commands, summarize the findings concisely:
108
- - Total count of functions, tags, middleware, and permissions
109
- - Notable patterns (e.g., which transport types are in use, which tags group the most functions)
110
- - Any functions without tags or transport types (potential issues)
@@ -1,14 +0,0 @@
1
- ---
2
- name: pikku-tag-middleware
3
- description: 'Deprecated — use pikku-middleware instead. Tag middleware (addTagMiddleware) is now documented as a section within the pikku-middleware skill, alongside global HTTP middleware, execution order, and the service-to-service bearer auth pattern.'
4
- ---
5
-
6
- # Deprecated: use `pikku-middleware`
7
-
8
- Tag middleware is covered in the **`pikku-middleware`** skill, which also covers:
9
-
10
- - `addHTTPMiddleware` (global / prefix-based)
11
- - `addTagMiddleware` (tag-scoped)
12
- - Middleware execution order and priority
13
- - Service-to-service bearer auth pattern
14
- - Session-setting middleware pattern