@farmslot/skills 0.1.0
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/CHANGELOG.md +7 -0
- package/README.md +74 -0
- package/bin/farmslot-skills.mjs +131 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/package.json +70 -0
- package/schemas/recipe-cook-learning.schema.json +31 -0
- package/schemas/recipe-cook-patch-metadata.schema.json +19 -0
- package/schemas/recipe-cook-run-ledger-entry.schema.json +37 -0
- package/schemas/recipe-cook-validator-manifest.schema.json +92 -0
- package/schemas/recipe-cook-version-ledger.schema.json +49 -0
- package/scripts/lib.cjs +356 -0
- package/scripts/prepare-cooking-run.cjs +310 -0
- package/scripts/record-validator-run.cjs +339 -0
- package/scripts/run-cooking-lane.cjs +1097 -0
- package/skills/project-adopt/SKILL.md +33 -0
- package/skills/recipe-cook/SKILL.md +147 -0
- package/skills/recipe-cook/TASK.md +114 -0
- package/skills/recipe-cook/references/TASK.md +176 -0
- package/skills/recipe-cook/references/VALIDATOR-LOOP.md +54 -0
- package/skills/recipe-cook/repos/example-browser.md +50 -0
- package/skills/recipe-cook/repos/example-mobile.md +61 -0
- package/skills/recipe-doctor/SKILL.md +39 -0
- package/skills/recipe-harness/SKILL.md +31 -0
- package/skills/recipe-quality/SKILL.md +45 -0
- package/templates/recipe-cook/scenarios.json +24 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: recipe-harness
|
|
3
|
+
description: Help run or install a local recipe runtime without assuming the full Farmslot OS
|
|
4
|
+
compatibility: Claude, Codex, Cursor, and Markdown skill runners with shell access
|
|
5
|
+
metadata:
|
|
6
|
+
package: '@farmslot/skills'
|
|
7
|
+
related_package: '@farmslot/recipe-harness'
|
|
8
|
+
allowed-tools: Read Bash(rg:*) Bash(node:*) Bash(npm:*) Bash(yarn:*) Bash(pnpm:*)
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Recipe Harness
|
|
12
|
+
|
|
13
|
+
Use the local recipe runtime when one exists, or recommend the smallest install path when it does not.
|
|
14
|
+
|
|
15
|
+
## Workflow
|
|
16
|
+
|
|
17
|
+
1. Find the project-owned recipe command first.
|
|
18
|
+
2. If no command exists, check for `@farmslot/recipe-harness` or an app-specific harness package.
|
|
19
|
+
3. Run dry-run or schema validation before live execution when available.
|
|
20
|
+
4. Record artifact paths and validation output.
|
|
21
|
+
5. If no runner exists, stop with a concrete install recommendation.
|
|
22
|
+
|
|
23
|
+
## Hard Rules
|
|
24
|
+
|
|
25
|
+
- Do not invent runner commands.
|
|
26
|
+
- Do not require Farmslot Gateway, pool files, slots, Command Center, or Companion for first use.
|
|
27
|
+
- Do not bypass project fixtures or user-flow validation by directly mutating app state.
|
|
28
|
+
|
|
29
|
+
## Output
|
|
30
|
+
|
|
31
|
+
Return the command run, exit status, artifacts written, and any next install step.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: recipe-quality
|
|
3
|
+
description: Review validation recipes and evidence quality without project-specific assumptions
|
|
4
|
+
compatibility: Claude, Codex, Cursor, and Markdown skill runners with read access to recipe artifacts
|
|
5
|
+
metadata:
|
|
6
|
+
package: '@farmslot/skills'
|
|
7
|
+
outputs: recipe-quality findings or artifacts/recipe-quality.json when the runner supports artifacts
|
|
8
|
+
allowed-tools: Read Bash(rg:*) Bash(node:*) Bash(git:*)
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Recipe Quality
|
|
12
|
+
|
|
13
|
+
Review whether a recipe proves the claims it says it proves.
|
|
14
|
+
|
|
15
|
+
## Use When
|
|
16
|
+
|
|
17
|
+
- A PR, ticket, or investigation includes a proposed validation recipe
|
|
18
|
+
- Evidence exists but the proof strength is unclear
|
|
19
|
+
- A reviewer needs to know whether the recipe fakes state, skips important assertions, or relies on screenshots when state proof is stronger
|
|
20
|
+
|
|
21
|
+
## Review Checklist
|
|
22
|
+
|
|
23
|
+
1. Identify the source claims and acceptance criteria.
|
|
24
|
+
2. Map each recipe node to the claim it proves.
|
|
25
|
+
3. Check that setup, actions, assertions, and teardown are explicit.
|
|
26
|
+
4. Verify that evidence is produced by the real user or system path, not injected state.
|
|
27
|
+
5. Flag unresolved claims instead of stretching the recipe to cover them.
|
|
28
|
+
6. Recommend the smallest recipe delta that would make weak proof reviewable.
|
|
29
|
+
|
|
30
|
+
## Hard Rules
|
|
31
|
+
|
|
32
|
+
- Do not accept hidden UI or store mutation as proof of a user flow.
|
|
33
|
+
- Do not mark visual claims as proven without visual evidence or an explicit non-visual contract.
|
|
34
|
+
- Do not mark state claims as proven by screenshots alone when structured state proof is available.
|
|
35
|
+
- Do not require Farmslot Gateway, Command Center, pool files, or slots for a first-pass quality review.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
Return:
|
|
40
|
+
|
|
41
|
+
- verdict: `pass`, `warn`, or `fail`
|
|
42
|
+
- strongest covered claims
|
|
43
|
+
- weak or missing claims
|
|
44
|
+
- evidence gaps
|
|
45
|
+
- concrete recipe delta
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"scenarios": [
|
|
4
|
+
{
|
|
5
|
+
"id": "review-explore-markets-live",
|
|
6
|
+
"lane": "review",
|
|
7
|
+
"label": "Explore markets live review",
|
|
8
|
+
"task_artifact_dir": "projects/example-browser-farm/tasks/review/41802-0416-1517/artifacts"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "fix-zero-balance-cta",
|
|
12
|
+
"lane": "fix",
|
|
13
|
+
"label": "Zero-balance CTA bug fix",
|
|
14
|
+
"task_artifact_dir": "projects/example-browser-farm/tasks/fix/41692-0413-2142/artifacts"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "investigation-probe-output",
|
|
18
|
+
"lane": "investigation",
|
|
19
|
+
"label": "Probe-output investigation lane",
|
|
20
|
+
"task_artifact_dir": "projects/example-browser-farm/tasks/review/41705-0414-1243/artifacts",
|
|
21
|
+
"probe_output_dir": "projects/example-browser-farm/tasks/review/41705-0414-1243/artifacts/probe-output"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|