@danieljvdm/dev-kit 0.2.2 → 0.2.3
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/README.md +12 -4
- package/package.json +2 -2
- package/schema/dev-kit.schema.json +1 -1
- package/schema/skill-sources.schema.json +1 -1
- package/skills/dev-kit/SKILL.md +26 -12
package/README.md
CHANGED
|
@@ -28,10 +28,18 @@ bun x dev-kit list --all
|
|
|
28
28
|
bun x dev-kit add dev-kit effect
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Before adding external skills,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
Before adding external skills, have the agent inspect repository instructions,
|
|
32
|
+
workspace dependencies, framework and tool configuration, representative
|
|
33
|
+
source boundaries, and CI workflows. It should compare that concrete capability
|
|
34
|
+
inventory with catalog descriptions and select the narrowest useful set. Broad
|
|
35
|
+
umbrella skills and source families belong only when their full breadth is
|
|
36
|
+
intentional; explicit creative or advisory requests remain valid even without a
|
|
37
|
+
mechanical dependency signal. Treat lazy reference folders inside one skill as
|
|
38
|
+
progressive-disclosure content, not as separately triggered skills; a repository
|
|
39
|
+
using several covered products may reasonably select that umbrella while still
|
|
40
|
+
excluding unrelated top-level skills.
|
|
41
|
+
|
|
42
|
+
Search and inspect candidates, then add the matching skills individually:
|
|
35
43
|
|
|
36
44
|
```bash
|
|
37
45
|
bun x dev-kit search cloudflare
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danieljvdm/dev-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Declarative project development toolkit with portable agent skills.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/danieljvdm/
|
|
9
|
+
"url": "git+https://github.com/danieljvdm/dev-kit.git"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"bin": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://raw.githubusercontent.com/danieljvdm/
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/danieljvdm/dev-kit/main/schema/dev-kit.schema.json",
|
|
4
4
|
"title": "Dev Kit Manifest",
|
|
5
5
|
"description": "Project-local desired state for portable skills and explicit dev-kit setup tasks.",
|
|
6
6
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://raw.githubusercontent.com/danieljvdm/
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/danieljvdm/dev-kit/main/schema/skill-sources.schema.json",
|
|
4
4
|
"title": "External Agent Skill Sources",
|
|
5
5
|
"description": "Repository-level sources approved for the skill catalog.",
|
|
6
6
|
"type": "object",
|
package/skills/dev-kit/SKILL.md
CHANGED
|
@@ -21,23 +21,37 @@ stores explicit skill names and exact commit/content digests.
|
|
|
21
21
|
|
|
22
22
|
## Apply loop
|
|
23
23
|
|
|
24
|
-
1. Establish the Git root. Read project agent instructions,
|
|
25
|
-
|
|
26
|
-
configuration,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
1. Establish the Git root. Read project agent instructions, the current
|
|
25
|
+
manifest and lock, package and workspace manifests, framework and tool
|
|
26
|
+
configuration, representative source boundaries, and CI workflows. Build a
|
|
27
|
+
concrete inventory of the platforms, frameworks, tools, and workflows the
|
|
28
|
+
repository actually uses; do not infer capabilities from a product or
|
|
29
|
+
company name alone.
|
|
30
|
+
2. Run `dev-kit list --all`, then use `dev-kit search <terms>` and `dev-kit info
|
|
31
|
+
<skill>` for each capability in the inventory. Compare every candidate's
|
|
32
|
+
trigger description with concrete repository evidence. Keep explicitly
|
|
33
|
+
requested creative or advisory skills even when they have no mechanical
|
|
34
|
+
dependency signal.
|
|
35
|
+
3. Choose the narrowest useful set. Prefer focused external skills over a
|
|
36
|
+
generic umbrella when they cover the repository's work. Select an umbrella
|
|
37
|
+
or external source family only when its full breadth is intentionally useful;
|
|
38
|
+
never select one merely because one member or product matches. Explain any
|
|
39
|
+
uncertain inclusion before applying it. Distinguish separately triggered
|
|
40
|
+
skills from lazy `references/` bundled inside one skill: unused reference
|
|
41
|
+
folders cost repository space but are not loaded into agent context unless
|
|
42
|
+
the skill routes to them. A multi-product repository can therefore justify
|
|
43
|
+
an umbrella while still excluding unrelated top-level skills.
|
|
44
|
+
4. Update `dev-kit.jsonc`. Preserve JSONC comments and validate against the
|
|
45
|
+
package schema. Finish with each desired resource represented once and every
|
|
46
|
+
external selection supported by repository evidence or an explicit request.
|
|
47
|
+
5. Run `dev-kit plan`. Use `--manifest`, `--project-dir`, or `--lockfile` when
|
|
34
48
|
the project overrides their defaults. Planning is read-only; inspect every
|
|
35
49
|
create, update, remove, adoption, and conflict before proceeding. Finish
|
|
36
50
|
when the plan contains only intended actions and understood conflicts.
|
|
37
|
-
|
|
51
|
+
6. Resolve conflicts, then run `dev-kit apply`. Commit the manifest and
|
|
38
52
|
regenerated `dev-kit.lock.json`; keep `.dev-kit/` local. Finish when a second
|
|
39
53
|
plan reports only unchanged resources and setup tasks.
|
|
40
|
-
|
|
54
|
+
7. Use `dev-kit apply --locked` in CI and the package lifecycle. Finish when a
|
|
41
55
|
clean install converges from the committed manifest and lock.
|
|
42
56
|
|
|
43
57
|
## Manifest
|