@keystrokehq/skills 0.0.1
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/AGENTS-blurb.md +123 -0
- package/LICENSE +21 -0
- package/README.md +63 -0
- package/keystroke-agent-authoring/SKILL.md +225 -0
- package/keystroke-agent-authoring/evals/evals.json +29 -0
- package/keystroke-agent-authoring/references/messaging-gateways.md +242 -0
- package/keystroke-agent-authoring/references/patterns.md +417 -0
- package/keystroke-agent-authoring/references/prebuilt-integrations.md +879 -0
- package/keystroke-agent-authoring/references/sandbox-and-mcp.md +214 -0
- package/keystroke-agent-authoring/references/source-map.md +182 -0
- package/keystroke-agent-authoring/references/testing.md +85 -0
- package/keystroke-cli-workspace/SKILL.md +93 -0
- package/keystroke-cli-workspace/evals/evals.json +23 -0
- package/keystroke-cli-workspace/references/command-map.md +50 -0
- package/keystroke-cli-workspace/references/credentials-and-connect.md +79 -0
- package/keystroke-cli-workspace/references/project-lifecycle.md +85 -0
- package/keystroke-credential-binding/SKILL.md +509 -0
- package/keystroke-credential-binding/evals/evals.json +29 -0
- package/keystroke-credential-binding/references/cli.md +85 -0
- package/keystroke-credential-binding/references/patterns.md +878 -0
- package/keystroke-credential-binding/references/source-map.md +69 -0
- package/keystroke-data-toolkit/SKILL.md +59 -0
- package/keystroke-data-toolkit/evals/evals.json +23 -0
- package/keystroke-data-toolkit/references/usage.md +79 -0
- package/keystroke-task-authoring/SKILL.md +124 -0
- package/keystroke-task-authoring/evals/evals.json +23 -0
- package/keystroke-task-authoring/references/patterns.md +132 -0
- package/keystroke-task-authoring/references/source-map.md +61 -0
- package/keystroke-trigger-authoring/SKILL.md +189 -0
- package/keystroke-trigger-authoring/evals/evals.json +29 -0
- package/keystroke-trigger-authoring/references/patterns.md +265 -0
- package/keystroke-trigger-authoring/references/source-map.md +128 -0
- package/keystroke-trigger-authoring/references/testing.md +148 -0
- package/keystroke-workflow-as-tool-debugging/SKILL.md +52 -0
- package/keystroke-workflow-as-tool-debugging/evals/evals.json +23 -0
- package/keystroke-workflow-as-tool-debugging/references/playbook.md +77 -0
- package/keystroke-workflow-authoring/SKILL.md +234 -0
- package/keystroke-workflow-authoring/evals/evals.json +29 -0
- package/keystroke-workflow-authoring/references/patterns.md +265 -0
- package/keystroke-workflow-authoring/references/prebuilt-integrations.md +811 -0
- package/keystroke-workflow-authoring/references/runtime-helpers.md +264 -0
- package/keystroke-workflow-authoring/references/source-map.md +108 -0
- package/keystroke-workflow-authoring/references/testing.md +108 -0
- package/package.json +26 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "keystroke-credential-binding",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "I need to add a credential set for a new API integration in Keystroke. Can you show me how to define the CredentialSet and how a step would read it safely?",
|
|
7
|
+
"expected_output": "Explains CredentialSet authoring, typed schemas, and step context access through ctx.credentials.",
|
|
8
|
+
"files": []
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": 2,
|
|
12
|
+
"prompt": "Before I deploy these workflows, how do I figure out which credentials are required and upload them from env vars with the Keystroke CLI?",
|
|
13
|
+
"expected_output": "Uses the tested credential requirements and upload flows, including the KEYSTROKE_<KEY> convention.",
|
|
14
|
+
"files": []
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": 3,
|
|
18
|
+
"prompt": "Does the same credential model work for steps, tools, agents, and triggers, or are there important differences I need to know?",
|
|
19
|
+
"expected_output": "Explains the shared CredentialSet model and the differences in where credentials are attached and consumed across primitives.",
|
|
20
|
+
"files": []
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": 4,
|
|
24
|
+
"prompt": "How do I upload official GitHub credentials with the current Keystroke CLI? Please use the real command surface, not an outdated one.",
|
|
25
|
+
"expected_output": "Uses the current credentials upload syntax, including --integration and the KEYSTROKE_<KEY> convention, and avoids stale flags such as --from-workflows or --no-verify.",
|
|
26
|
+
"files": []
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Credential CLI Cookbook
|
|
2
|
+
|
|
3
|
+
Read this file when the user asks how to inspect or upload credentials through the Keystroke CLI.
|
|
4
|
+
|
|
5
|
+
## List existing credentials
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
keystroke credentials --json
|
|
9
|
+
keystroke credentials list --json
|
|
10
|
+
keystroke credentials list --scope organization --json
|
|
11
|
+
keystroke credentials list --scope user --json
|
|
12
|
+
keystroke credentials list --credential-set-id <credential-set-id> --json
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use these when the user wants to see what has already been uploaded and at which scope.
|
|
16
|
+
|
|
17
|
+
## Inspect workflow credential requirements
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
keystroke credentials requirements --path <workflow-directory> --json
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Use this before upload when the user wants to know which credential sets and keys are required.
|
|
24
|
+
|
|
25
|
+
## Upload an official integration
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
keystroke credentials upload --integration <public-id> --path <workflow-directory> --json
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Use this when the credential set belongs to an official Keystroke integration such as Slack, GitHub, or Linear and the values are already available as `KEYSTROKE_*` env vars.
|
|
32
|
+
|
|
33
|
+
Useful variants from the current surface:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
keystroke credentials upload --integration slack --path <workflow-directory> --dry-run --json
|
|
37
|
+
keystroke credentials upload --integration github --path <workflow-directory> --update --json
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Upload an explicit credential set
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
keystroke credentials upload --credential-set <credential-set-id> --keys KEY_ONE,KEY_TWO --scope user --json
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
With env:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
KEYSTROKE_KEY_ONE=first-value KEYSTROKE_KEY_TWO=second-value \
|
|
50
|
+
keystroke credentials upload --credential-set <credential-set-id> --keys KEY_ONE,KEY_TWO --scope user --json
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Use this path when:
|
|
54
|
+
|
|
55
|
+
- the user already knows the credential set id
|
|
56
|
+
- the user wants to upload one credential set directly
|
|
57
|
+
- the workflow path is not the best entry point
|
|
58
|
+
|
|
59
|
+
## How the env mapping works
|
|
60
|
+
|
|
61
|
+
If the CLI expects keys such as:
|
|
62
|
+
|
|
63
|
+
- `API_KEY`
|
|
64
|
+
- `ACCOUNT_ID`
|
|
65
|
+
|
|
66
|
+
then the env vars should be:
|
|
67
|
+
|
|
68
|
+
- `KEYSTROKE_API_KEY`
|
|
69
|
+
- `KEYSTROKE_ACCOUNT_ID`
|
|
70
|
+
|
|
71
|
+
Example:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
KEYSTROKE_API_KEY=secret KEYSTROKE_ACCOUNT_ID=acct_123 \
|
|
75
|
+
keystroke credentials upload --credential-set billingApi --keys API_KEY,ACCOUNT_ID --scope organization --json
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Gotchas
|
|
79
|
+
|
|
80
|
+
- Use the tested command names above. Do not invent a separate `credentials add` flow.
|
|
81
|
+
- `--credential-set` requires `--keys`.
|
|
82
|
+
- `--integration` is the preferred path for official Keystroke integrations.
|
|
83
|
+
- Uploading depends on discoverable built manifests when the CLI needs workflow requirements from the project path.
|
|
84
|
+
- For env-backed uploads, match the required key names with `KEYSTROKE_<KEY>`.
|
|
85
|
+
- Do not teach stale flags such as `--from-workflows` or `--no-verify`.
|