skilld-harness 3.6.7 → 3.6.8
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/dist/skills/generate-package-skill/SKILL.md +4 -0
- package/dist/skills/skilld/SKILL.md +23 -0
- package/dist/skills/skilld-maintained-skills.json +2 -1
- package/dist/skills/skilld-tui-design/SKILL.md +100 -0
- package/dist/skills/skilld-tui-design/references/source-review.md +54 -0
- package/package.json +1 -1
|
@@ -144,6 +144,10 @@ Report to the user:
|
|
|
144
144
|
Give each item expected, observed, a minimal repro with its output, and a source link at the release tag. File it only if asked.
|
|
145
145
|
- The source path or documentation URL behind each version-specific rule.
|
|
146
146
|
- If the Skill sits inside the published package directory, add its directory to `files` in `package.json`. After one build, list packed files with `npm pack --dry-run --ignore-scripts`; `pnpm pack` rejects that flag.
|
|
147
|
+
- For npm packages, use `skills/<name>/SKILL.md` beside the package's `package.json`. Include linked files in the tarball.
|
|
148
|
+
[pnpm 12.11 and newer](https://pnpm.io/agent-skills) link Skills from approved direct dependencies.
|
|
149
|
+
Document `pnpm approve` for developers who want these links. Approval covers every Skill and later version of the package.
|
|
150
|
+
Never approve a package for the user without their request. pnpm owns its links, dependency updates, and removal.
|
|
147
151
|
- Edit the README beside the Skill's `package.json`. If it already links the skilld.dev page, keep that link. Else add the badge below after the others.
|
|
148
152
|
Replace a `skilld add` tip that names this package in place with the tip below. Else add the tip after the install command.
|
|
149
153
|
Replace `OWNER`, `REPOSITORY`, and `PACKAGE`. Count every `SKILL.md` in the Repository, hidden Agent folders included; the skilld.dev indexer skips test and fixture folders.
|
|
@@ -16,6 +16,7 @@ Use `--json` with `search`, `run`, and `update --check`.
|
|
|
16
16
|
Use `--json` with `view` of a registry ref, and with every registry and account command below.
|
|
17
17
|
Their `data` is the skilld.dev answer. A command whose answer has no body returns `data: null`.
|
|
18
18
|
Use `--json` with `sync` and `sync --check` for declared Skills.
|
|
19
|
+
Use `doctor --json` for read-only Skill discovery and cleanup findings.
|
|
19
20
|
The remaining commands do not support JSON output.
|
|
20
21
|
Use `--plain` when another command needs stable text.
|
|
21
22
|
|
|
@@ -421,6 +422,28 @@ Use `outdated` for stale, unverified, local, and unmanaged Skill reports.
|
|
|
421
422
|
Read every proposed command before using it.
|
|
422
423
|
Never delete an unmanaged Skill unless the user names it for removal.
|
|
423
424
|
|
|
425
|
+
## Review Skill files across projects
|
|
426
|
+
|
|
427
|
+
Run `skilld doctor --json` to scan the user's home directory.
|
|
428
|
+
Pass explicit roots to narrow the scan or inspect files outside home.
|
|
429
|
+
The default scan excludes dependencies, caches, generated files, backups, and Git worktrees.
|
|
430
|
+
Use `--exclude GLOB` to prune more paths.
|
|
431
|
+
Use `--include-excluded` or `--include-worktrees` only when those files matter to the task.
|
|
432
|
+
|
|
433
|
+
Read owner labels, duplicate paths, source matches, and scan problems separately.
|
|
434
|
+
The `pnpm` owner names Skills linked from npm dependencies. Update these through pnpm, not skilld.
|
|
435
|
+
Doctor never migrates or removes pnpm-owned links. `outdated --all` excludes them from replacement suggestions.
|
|
436
|
+
Exit code `1` with success data means some files could not be checked.
|
|
437
|
+
Use `--check-sources` for up to 20 source candidates through skilld.dev.
|
|
438
|
+
A name match alone never establishes provenance.
|
|
439
|
+
|
|
440
|
+
The interactive `skilld doctor` separates skills.sh installs with Tab.
|
|
441
|
+
The user can review migration with `m` or removal with `d`.
|
|
442
|
+
Each action shows affected paths and requires confirmation.
|
|
443
|
+
Backups include original files, lock metadata, and recovery instructions.
|
|
444
|
+
Use the existing update workflow for skilld installs.
|
|
445
|
+
Historical commit searches and project-to-global deduplication are outside Doctor's current actions.
|
|
446
|
+
|
|
424
447
|
## Manage account authentication
|
|
425
448
|
|
|
426
449
|
Check account authentication before starting login:
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skilld-tui-design
|
|
3
|
+
description: Designs and verifies skilld CLI output, terminal pickers, and full-screen flows. Use for terminal colours, loading feedback, keyboard controls, layout, errors, or end-to-end CLI UX reviews.
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Design skilld CLI interactions
|
|
8
|
+
|
|
9
|
+
Build the user's whole command journey, including failure, cancellation, and the return to their shell.
|
|
10
|
+
Read [source decisions](references/source-review.md) for the two reviewed Skills and their exact revisions.
|
|
11
|
+
|
|
12
|
+
## Establish the contract
|
|
13
|
+
|
|
14
|
+
Read the project's `GLOSSARY.md`, `COPY.md`, and `VISION.md` when present.
|
|
15
|
+
Keep canonical nouns and strings. Use short sentences with one idea each.
|
|
16
|
+
Inspect the command parser, output renderer, and terminal lifecycle before changing behavior.
|
|
17
|
+
Classify each affected surface as static output, a picker, a prompt, or a full-screen view.
|
|
18
|
+
Include command help, parser errors, startup notices, and progress indicators in the inventory.
|
|
19
|
+
List its starting state, successful outcome, expected failures, and cancellation behavior.
|
|
20
|
+
Keep the existing JSON envelope, streams, and exit codes unless the task changes that contract.
|
|
21
|
+
|
|
22
|
+
Use the existing shared renderer and semantic palette.
|
|
23
|
+
Avoid adding a second framework or per-screen theme.
|
|
24
|
+
Start with `crates/skilld-ui`, `crates/skilld-command/src/output.rs`, and `crates/skilld-native/src`.
|
|
25
|
+
Inspect command help and routing in `crates/skilld-command/src/lib.rs`.
|
|
26
|
+
|
|
27
|
+
## Put the decision first
|
|
28
|
+
|
|
29
|
+
Static output starts with the requested result or the failed action.
|
|
30
|
+
Group repeated records consistently. Place supporting metadata below each record.
|
|
31
|
+
Use spacing and headings before adding boxes.
|
|
32
|
+
Keep commands copyable. Preserve whitespace inside quoted arguments.
|
|
33
|
+
Wrap prose and paths by terminal cells. Preserve the original value in machine output.
|
|
34
|
+
Give empty results a useful next action based on available commands.
|
|
35
|
+
|
|
36
|
+
Pickers show the question, query, matching count, selected item, and valid keys.
|
|
37
|
+
Full-screen views keep scope and current state visible.
|
|
38
|
+
For large inventories, start with recommendations and counts. Open projects or folders before listing individual Skills.
|
|
39
|
+
Use words for findings. Label identical copies as duplicates and show their paths; separate symlinks from directory copies.
|
|
40
|
+
State when a filter changes only the view. An action review must still list every affected target.
|
|
41
|
+
Spend rows on the user's decision. Do not reserve space for decorative panels.
|
|
42
|
+
If a pane cannot show complete content, provide reachable scrolling or a detail view.
|
|
43
|
+
At smaller sizes, simplify the layout before hiding required information.
|
|
44
|
+
If the screen is unusable, block hidden actions and show the required size.
|
|
45
|
+
|
|
46
|
+
## Use colour with independent cues
|
|
47
|
+
|
|
48
|
+
Inherit the terminal's foreground and background for body text.
|
|
49
|
+
Share roles for brand, action, secondary information, success, warning, error, focus, and selection.
|
|
50
|
+
Use one action accent across screens. Reserve status colours for actual status.
|
|
51
|
+
Show ownership as a label, without implying safety or success.
|
|
52
|
+
Pair colour with words, markers, bold text, or inverse selection.
|
|
53
|
+
Make pane focus visible when colour is disabled.
|
|
54
|
+
Honor `NO_COLOR`, `TERM=dumb`, and existing output capability detection.
|
|
55
|
+
Never claim contrast across unknown terminal themes from one screenshot.
|
|
56
|
+
|
|
57
|
+
## Make state and input agree
|
|
58
|
+
|
|
59
|
+
Use explicit states for loading, browsing, editing, review, applying, completion, and failure.
|
|
60
|
+
Prefer tagged states carrying their required data over overlapping pending flags.
|
|
61
|
+
Keep filesystem and network work outside the input loop.
|
|
62
|
+
If operations can overlap, identify their results so stale work cannot replace the current view.
|
|
63
|
+
Derive available actions and footer hints from the same state rules.
|
|
64
|
+
Keep query editing separate from global shortcuts. Typing `q` in a query must remain possible.
|
|
65
|
+
Make Escape predictable: cancel editing or review before leaving the whole screen.
|
|
66
|
+
Preserve selection by stable identity when refreshing data.
|
|
67
|
+
Bound scrolling and expose position when the remaining content is otherwise unclear.
|
|
68
|
+
Provide discoverable help when the current footer cannot explain all controls.
|
|
69
|
+
|
|
70
|
+
## Explain waiting and outcomes
|
|
71
|
+
|
|
72
|
+
Show the operation, scope, elapsed time, and available cancellation action.
|
|
73
|
+
When the total is unknown, show activity and observed counts without a percentage.
|
|
74
|
+
When the total is known, show completed and total work.
|
|
75
|
+
Keep previous results readable during refresh when they remain relevant. Label them as previous results if refresh fails.
|
|
76
|
+
Keep errors visible until the user changes state or dismisses them.
|
|
77
|
+
Do not replace an error with a filter label or a generic loading message.
|
|
78
|
+
Describe partial completion explicitly. Preserve recovery and backup paths.
|
|
79
|
+
|
|
80
|
+
Before a destructive change, show the exact action, item, paths, and content replacement.
|
|
81
|
+
Require deliberate confirmation of that specific plan.
|
|
82
|
+
Discard stale activation keys before entering consent states. Preserve cancellation requests.
|
|
83
|
+
If writes cannot stop safely, defer exit and say so. Never display a cancellation key that does nothing.
|
|
84
|
+
Restore the terminal on success, failure, and cancellation.
|
|
85
|
+
After leaving the alternate screen, print a durable summary of completed changes and recovery paths.
|
|
86
|
+
Provenance describes source evidence. It never proves that instructions are safe.
|
|
87
|
+
|
|
88
|
+
## Verify the whole journey
|
|
89
|
+
|
|
90
|
+
Run focused behavior tests for changed transitions and regressions.
|
|
91
|
+
Use the real renderer for layout tests. Do not test source text or private implementation shape.
|
|
92
|
+
Inspect actual terminal captures, including colour and monochrome.
|
|
93
|
+
Cover normal and narrow sizes, short screens, Unicode names, long paths, and resize during confirmation.
|
|
94
|
+
Exercise loading, empty results, errors, filtering, review, cancellation, completion, and return to the shell.
|
|
95
|
+
Use disposable fixtures for migration, removal, and restoration.
|
|
96
|
+
Check plain and JSON output separately for escape sequences, stream changes, and exit codes.
|
|
97
|
+
Run the repository's required checks after integration.
|
|
98
|
+
|
|
99
|
+
Report what changed and what was exercised. Identify any live path that remains untested.
|
|
100
|
+
Do not treat passing snapshots as proof of keyboard behavior or terminal restoration.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Source decisions
|
|
2
|
+
|
|
3
|
+
This Skill contains original guidance for skilld CLI work.
|
|
4
|
+
Two upstream Skills informed the design. Their application scaffolds and scripts were not incorporated.
|
|
5
|
+
|
|
6
|
+
## tui-design
|
|
7
|
+
|
|
8
|
+
Author: Diego Marino.
|
|
9
|
+
Repository: `diegomarino/tui-design`.
|
|
10
|
+
Revision: `57c199f22dbf04f057c279431d45346cc1fd5dcd`.
|
|
11
|
+
[Reviewed SKILL.md](https://github.com/diegomarino/tui-design/blob/57c199f22dbf04f057c279431d45346cc1fd5dcd/skills/tui-design/SKILL.md).
|
|
12
|
+
License: MIT, declared in the reviewed Skill frontmatter.
|
|
13
|
+
|
|
14
|
+
Adopted ideas:
|
|
15
|
+
|
|
16
|
+
- Classify static output, pickers, and full-screen interactions separately.
|
|
17
|
+
- Use semantic colours with independent selection and status cues.
|
|
18
|
+
- Design around terminal cells and inspect actual rendered evidence.
|
|
19
|
+
- Preserve selection and distinguish unknown totals from measured progress.
|
|
20
|
+
- Treat plain output and terminal restoration as product behavior.
|
|
21
|
+
|
|
22
|
+
Excluded prescriptions:
|
|
23
|
+
|
|
24
|
+
- Mandatory concept counts, large token schemas, and subjective craft scores.
|
|
25
|
+
- Python mock tooling and copied starter applications.
|
|
26
|
+
- Forced dark themes or universal shortcut sets.
|
|
27
|
+
- Mandatory NDJSON, additive-only schemas, and errors-last ordering.
|
|
28
|
+
|
|
29
|
+
These prescriptions conflict with skilld's existing contracts or add work without improving the user's decision.
|
|
30
|
+
|
|
31
|
+
## tui-development
|
|
32
|
+
|
|
33
|
+
Author: NVIDIA.
|
|
34
|
+
Repository: `NVIDIA/OpenShell`.
|
|
35
|
+
Revision: `fb8f6c0885127fe4ca29993739131a3bdbaed477`.
|
|
36
|
+
[Reviewed SKILL.md](https://github.com/NVIDIA/OpenShell/blob/fb8f6c0885127fe4ca29993739131a3bdbaed477/.agents/skills/tui-development/SKILL.md).
|
|
37
|
+
License: [Apache-2.0 at the reviewed revision](https://github.com/NVIDIA/OpenShell/blob/fb8f6c0885127fe4ca29993739131a3bdbaed477/LICENSE).
|
|
38
|
+
|
|
39
|
+
Adopted ideas:
|
|
40
|
+
|
|
41
|
+
- Keep long operations outside the input loop.
|
|
42
|
+
- Represent lifecycle states explicitly and route background results through events.
|
|
43
|
+
- Make focus, valid actions, scope, and outcomes visible.
|
|
44
|
+
- Review file changes before applying them.
|
|
45
|
+
|
|
46
|
+
Excluded prescriptions:
|
|
47
|
+
|
|
48
|
+
- OpenShell branding, topology, deployment commands, and splash screens.
|
|
49
|
+
- Mandatory Tokio, unbounded channels, and fixed network timeouts.
|
|
50
|
+
- Independent pending flags and forced interruption during writes.
|
|
51
|
+
|
|
52
|
+
The synthesis uses skilld's current host boundaries, shared rendering, and terminal lifecycle.
|
|
53
|
+
It adds durable shell summaries and actual terminal journey verification beyond the upstream build guidance.
|
|
54
|
+
It introduces no deployment, privilege, or installation requirements.
|