skilldrop-cli 1.7.0 → 1.8.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.
Files changed (40) hide show
  1. package/README.md +1 -0
  2. package/catalogue.json +8 -1
  3. package/model-routing.json +4 -0
  4. package/package.json +1 -1
  5. package/packs/event-planner/skills/run-of-show/SKILL.md +6 -3
  6. package/packs/event-planner/skills/run-of-show/manifest.json +1 -1
  7. package/packs/event-planner/skills/seating-plan/SKILL.md +6 -3
  8. package/packs/event-planner/skills/seating-plan/evals/evals.json +30 -0
  9. package/packs/event-planner/skills/seating-plan/evals/files/10/hall_notes.txt +13 -0
  10. package/packs/event-planner/skills/seating-plan/evals/files/10/quiz_night_registrations.csv +67 -0
  11. package/packs/event-planner/skills/seating-plan/evals/files/11/notes_for_the_plan.txt +21 -0
  12. package/packs/event-planner/skills/seating-plan/evals/files/11/rsvp_list.csv +77 -0
  13. package/packs/event-planner/skills/seating-plan/evals/files/11/table_plan_draft.csv +78 -0
  14. package/packs/event-planner/skills/seating-plan/manifest.json +1 -1
  15. package/packs/interior-designer/pack.json +60 -0
  16. package/packs/interior-designer/skills/furniture-layout/SKILL.md +182 -0
  17. package/packs/interior-designer/skills/furniture-layout/evals/eval_queries.json +11 -0
  18. package/packs/interior-designer/skills/furniture-layout/evals/evals.json +133 -0
  19. package/packs/interior-designer/skills/furniture-layout/evals/files/2/living-room-notes.md +24 -0
  20. package/packs/interior-designer/skills/furniture-layout/evals/files/3/office-brief.md +18 -0
  21. package/packs/interior-designer/skills/furniture-layout/evals/files/4/furniture_schedule.csv +15 -0
  22. package/packs/interior-designer/skills/furniture-layout/evals/files/4/site_survey.txt +22 -0
  23. package/packs/interior-designer/skills/furniture-layout/evals/files/5/layout_v2.csv +14 -0
  24. package/packs/interior-designer/skills/furniture-layout/evals/files/5/measurements.txt +16 -0
  25. package/packs/interior-designer/skills/furniture-layout/evals/files/6/access_consultant_email.txt +19 -0
  26. package/packs/interior-designer/skills/furniture-layout/evals/files/6/furniture_stock.csv +5 -0
  27. package/packs/interior-designer/skills/furniture-layout/evals/files/6/site_measurements.txt +14 -0
  28. package/packs/interior-designer/skills/furniture-layout/evals/files/7/room_214_layout.csv +11 -0
  29. package/packs/interior-designer/skills/furniture-layout/evals/files/7/room_and_brand_standard.txt +20 -0
  30. package/packs/interior-designer/skills/furniture-layout/evals/files/8/email_from_practice_manager.txt +44 -0
  31. package/packs/interior-designer/skills/furniture-layout/evals/files/8/furniture_we_are_keeping.csv +10 -0
  32. package/packs/interior-designer/skills/furniture-layout/evals/files/9/reading_room_schedule.csv +15 -0
  33. package/packs/interior-designer/skills/furniture-layout/evals/files/9/room_notes.txt +23 -0
  34. package/packs/interior-designer/skills/furniture-layout/examples/king-bed-bedroom.md +121 -0
  35. package/packs/interior-designer/skills/furniture-layout/examples/king-bed-bedroom.svg +57 -0
  36. package/packs/interior-designer/skills/furniture-layout/manifest.json +44 -0
  37. package/packs/interior-designer/skills/furniture-layout/scripts/layout_check.py +1130 -0
  38. package/packs/interior-designer/skills/furniture-layout/templates/layout.json +26 -0
  39. package/packs/operations-manager/skills/shift-roster/SKILL.md +6 -3
  40. package/packs/operations-manager/skills/shift-roster/manifest.json +1 -1
@@ -0,0 +1,26 @@
1
+ {
2
+ "title": "Living room, 5.0 × 4.2 m",
3
+ "units": "m",
4
+ "size": [5.0, 4.2],
5
+ "north": 0,
6
+ "min_walkway": 0.9,
7
+ "accessible": false,
8
+ "max_coverage": 0.5,
9
+ "doors": [
10
+ {"name": "Hall door", "at": [0.8, 0], "width": 0.9, "hinge": "left", "swing": "in", "entrance": true}
11
+ ],
12
+ "windows": [
13
+ {"at": [2.5, 4.2], "width": 1.8, "sill": 0.9}
14
+ ],
15
+ "obstacles": [
16
+ {"name": "Radiator", "type": "radiator", "rect": [1.8, 4.1, 1.4, 0.1]}
17
+ ],
18
+ "furniture": [
19
+ {"name": "Sofa", "type": "sofa", "width": 2.2, "depth": 0.9, "at": [0, 1.6], "facing": "E"},
20
+ {"name": "Coffee table", "type": "coffee_table", "width": 1.2, "depth": 0.6, "at": [1.3, 2.1], "facing": "E"},
21
+ {"name": "Armchair", "type": "armchair", "width": 0.85, "depth": 0.85, "at": [3.4, 3.2], "facing": "S"},
22
+ {"name": "TV unit", "type": "tv_unit", "width": 1.6, "depth": 0.45, "at": [4.55, 1.8], "facing": "W"},
23
+ {"name": "Bookcase", "type": "bookcase", "width": 1.0, "depth": 0.35, "at": [3.6, 0], "facing": "N"},
24
+ {"name": "Rug", "type": "rug", "width": 2.0, "depth": 1.6, "at": [1.0, 1.9]}
25
+ ]
26
+ }
@@ -32,7 +32,7 @@ the team.
32
32
  days and change you write is read from the check's per-person summary and its comparison
33
33
  with their original, run on the final rota. Never from memory of an earlier draft.
34
34
  - **Working files stay out of sight.** The check's input and any intermediate file go in a
35
- temporary folder outside the working directory, or are deleted before you reply. Draw the
35
+ private temporary folder made for this run alone (`mktemp -d`, never a fixed path such as `/tmp/roster`, which another session can read or overwrite), and are deleted before you reply. Never overwrite a file the person gave you: write the corrected copy beside it under a plain name (`rota-fixed.csv`), and leave theirs as it was. Draw the
36
36
  week grid only when a drawing is asked for, or as the one extra file named in one line.
37
37
  Never leave anything running in the background; wait for it.
38
38
  - **Carry every field through.** Every column or note the person gave about a person or a
@@ -70,10 +70,11 @@ the team.
70
70
  4. **Check it, and fix every failure before showing anything.**
71
71
 
72
72
  ```bash
73
+ work=$(mktemp -d 2>/dev/null || mktemp -d ./.work.XXXXXX) # a private folder for this run only
73
74
  # Claude Code
74
- python3 "${CLAUDE_SKILL_DIR}/scripts/roster_check.py" "$TMPDIR/roster.json"
75
+ python3 "${CLAUDE_SKILL_DIR}/scripts/roster_check.py" "$work/roster.json"
75
76
  # Other IDEs (from the skill folder); add --svg only when a drawing is wanted
76
- python3 scripts/roster_check.py /tmp/rota/roster.json --svg rota-week-of-2026-11-09.svg
77
+ python3 scripts/roster_check.py "$work/roster.json" --svg rota-week-of-2026-11-09.svg
77
78
  ```
78
79
 
79
80
  Exit 0 means no failures, 1 means a failure, and 2 means the input can't be read. Fix only
@@ -162,5 +163,7 @@ flagged in the reply. With no staff or no shifts at all, emit
162
163
  - ❌ **Searching every arrangement by hand.** Build one, check, fix what fails, five rounds at most.
163
164
  - ❌ **Reshuffling their rota** to fix three problems. Fix the three, and list them.
164
165
  - ❌ **Ignoring "don't put her on more than she needs".** A note is a rule.
166
+ - ❌ **A fixed temporary path.** Two sessions at once share it, and one plan leaks into the other.
167
+ - ❌ **Overwriting the person's own file.** They lose the version they sent.
165
168
  - ❌ **A JSON file and a drawing nobody asked for** left beside their files.
166
169
  - ❌ **"The script says…"** The manager wants the rota and what's wrong with it, not how it was checked.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shift-roster",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Build a staff rota for a week or a fortnight from who is available, what each shift needs and the working-time rules, and check it with a script before anyone sees it — every shift covered with the right skills, nobody double-booked, over their hours, short of rest between shifts or past the consecutive-day limit — drawn as a week grid. Use when a manager asks to \"make the rota\", \"build next week's schedule\", \"who should work which shift\", \"check this rota\", \"fill these shifts\", or has staff availability and shift needs for a shop, restaurant, clinic, warehouse or call centre.",
5
5
  "entrypoint": "SKILL.md",
6
6
  "deps": {