skillcaddy 0.27.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 +497 -0
- package/CONTEXT.md +149 -0
- package/LICENSE +21 -0
- package/README.md +499 -0
- package/README_CN.md +482 -0
- package/collection-metadata/github/mattpocock.json +16 -0
- package/lib/canonicalJson.js +11 -0
- package/lib/claudeStore.js +135 -0
- package/lib/collectionEnablement.js +115 -0
- package/lib/collectionSetup.js +199 -0
- package/lib/enablePlan.js +116 -0
- package/lib/enablementScope.js +8 -0
- package/lib/hermesStore.js +21 -0
- package/lib/libraryImage.js +1785 -0
- package/lib/managerInstall.js +109 -0
- package/lib/managerSourceWorkflow.js +234 -0
- package/lib/projectActions.js +24 -0
- package/lib/projectPath.js +51 -0
- package/lib/roots.js +99 -0
- package/lib/skillLinkStore.js +68 -0
- package/lib/skillMetadata.js +191 -0
- package/lib/skillStore.js +541 -0
- package/lib/sourceAcquisition.js +475 -0
- package/lib/sourceAcquisitionAdapter.js +47 -0
- package/lib/sourceAcquisitionError.js +18 -0
- package/lib/sourceAcquisitionPolicy.js +139 -0
- package/lib/sourceArchive.js +363 -0
- package/lib/sourceArchiveWorkspace.js +36 -0
- package/lib/sourceGit.js +95 -0
- package/lib/sourceGitAcquisitionAdapter.js +145 -0
- package/lib/sourceGitBatchUpdate.js +168 -0
- package/lib/sourceGitRepair.js +227 -0
- package/lib/sourceGitStaging.js +139 -0
- package/lib/sourceGitUpgradeAdapter.js +583 -0
- package/lib/sourceGitUrl.js +170 -0
- package/lib/sourceHttp.js +302 -0
- package/lib/sourceLocal.js +200 -0
- package/lib/sourceLocalAcquisitionAdapter.js +107 -0
- package/lib/sourceManager.js +242 -0
- package/lib/sourceMigration.js +172 -0
- package/lib/sourceMigrationIssue.js +6 -0
- package/lib/sourcePath.js +6 -0
- package/lib/sourcePolicy.js +53 -0
- package/lib/sourceRecord.js +295 -0
- package/lib/sourceRegistry.js +155 -0
- package/lib/sourceRemoteArchiveAcquisitionAdapter.js +147 -0
- package/lib/sourceRemoteFileAcquisitionAdapter.js +95 -0
- package/lib/sourceRemoteFilePolicy.js +62 -0
- package/lib/sourceRemoteFileWorkspace.js +55 -0
- package/lib/sourceSkillDiscovery.js +117 -0
- package/lib/sourceTree.js +185 -0
- package/lib/sourceUpgrade.js +596 -0
- package/lib/sourceUpgradeAdapter.js +41 -0
- package/lib/sourceUpgradePolicy.js +170 -0
- package/lib/sourceUpgradeTransaction.js +202 -0
- package/lib/sourceValidation.js +120 -0
- package/lib/sourceWorkspace.js +37 -0
- package/lib/specGate.js +235 -0
- package/lib/tuiActions.js +169 -0
- package/lib/tuiInstall.js +133 -0
- package/lib/tuiLayout.js +94 -0
- package/lib/version.js +17 -0
- package/lib/webManager.js +370 -0
- package/package.json +74 -0
- package/public/agentsUi.js +138 -0
- package/public/app.js +1431 -0
- package/public/claude.css +2 -0
- package/public/claudeUi.js +119 -0
- package/public/emptyState.js +12 -0
- package/public/enabled.css +303 -0
- package/public/favicon.svg +5 -0
- package/public/index.html +199 -0
- package/public/skillcaddy_CN.png +0 -0
- package/public/skillcaddy_EN.png +0 -0
- package/public/styles.css +1611 -0
- package/scripts/cli.js +647 -0
- package/scripts/cron-sync-update-git.sh +128 -0
- package/scripts/pull-github.sh +22 -0
- package/scripts/source.js +638 -0
- package/scripts/tui.js +1058 -0
- package/server.js +196 -0
- package/skills/skillcaddy-manager/SKILL.md +93 -0
- package/skills/skillcaddy-manager/agents/openai.yaml +7 -0
- package/skills/skillcaddy-manager/references/METADATA.md +75 -0
- package/skills/skillcaddy-manager/references/OPERATIONS.md +315 -0
- package/skills/skillcaddy-manager/references/RECOMMENDATION_GUIDE.md +51 -0
- package/skills/skillcaddy-manager/references/featured-skills.json +564 -0
- package/skills/skillcaddy-manager/references/skill-platforms.json +48 -0
- package/skills/skillcaddy-manager/scripts/check-conflicts.cjs +117 -0
- package/skills/skillcaddy-manager/scripts/check-global-skills.cjs +169 -0
- package/skills/skillcaddy-manager/scripts/translate-skill-notes.cjs +297 -0
- package/skills/skillcaddy-manager/scripts/version-manager.cjs +146 -0
- package/skills/skillcaddy-manager/scripts/view-recommendations.cjs +279 -0
- package/skills/skillcaddy-manager/skillcaddy.json +9 -0
- package/skills/spec-pipeline/spec-direction-gate/SKILL.md +119 -0
- package/skills/spec-pipeline/spec-direction-gate/check-approval.py +110 -0
- package/skills/spec-pipeline/spec-draft-intake/SKILL.md +116 -0
- package/skills/spec-pipeline/spec-role-contract/SKILL.md +113 -0
- package/skills/spec-pipeline/spec-role-contract/check-roles.py +108 -0
package/CONTEXT.md
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Skillcaddy
|
|
2
|
+
|
|
3
|
+
Skillcaddy manages locally acquired skill sources and selectively enables their skills for individual projects or for the user's shared Agent environment.
|
|
4
|
+
|
|
5
|
+
## Language
|
|
6
|
+
|
|
7
|
+
**Skill source**:
|
|
8
|
+
An external acquisition unit that contains one or more skills and retains enough origin information to be managed after download.
|
|
9
|
+
_Avoid_: Download, plugin
|
|
10
|
+
|
|
11
|
+
**Source identity**:
|
|
12
|
+
A stable name that distinguishes a skill source across downloads and upgrades independently of its physical installation path. It uses the source name by default and adds a source namespace when that name would otherwise conflict.
|
|
13
|
+
_Avoid_: Folder name, download URL
|
|
14
|
+
|
|
15
|
+
**Source collision**:
|
|
16
|
+
A destination-name conflict where Skillcaddy cannot establish that the incoming content and installed content share the same source identity. A collision is not an upgrade and never authorizes replacement.
|
|
17
|
+
_Avoid_: Duplicate version, update
|
|
18
|
+
|
|
19
|
+
**Source namespace**:
|
|
20
|
+
A disambiguating provenance label used when two skill sources have the same name. Git sources use their repository owner; archive sources use the download URL's registrable domain unless explicitly overridden.
|
|
21
|
+
_Avoid_: Author, hostname
|
|
22
|
+
|
|
23
|
+
**Source bucket**:
|
|
24
|
+
A top-level provenance classification for an acquired source. Hosted Git repositories belong to `github`, upstream archives and remote files to `official`, user-supplied local content to `personal`, and retired content to `archived`; callers do not select the bucket independently of provenance.
|
|
25
|
+
_Avoid_: File type, install status
|
|
26
|
+
|
|
27
|
+
**Source registry**:
|
|
28
|
+
Skillcaddy-owned sidecar records that preserve source identity, sanitized provenance, integrity information, and discovered skill paths without modifying acquired source content.
|
|
29
|
+
_Avoid_: Source manifest, package metadata
|
|
30
|
+
|
|
31
|
+
**Source integrity baseline**:
|
|
32
|
+
The registered SHA-256 of the accepted installed content of a non-Git skill source. It detects unadopted local drift but does not change the source's identity or provenance.
|
|
33
|
+
_Avoid_: Current version, upstream checksum
|
|
34
|
+
|
|
35
|
+
**Source registry repair**:
|
|
36
|
+
An explicit adoption of a registered skill source's current validated state into its sidecar record without modifying the source content or its enablement links. Git repair adopts an externally advanced commit; non-Git repair adopts the current integrity baseline and discovered skill paths.
|
|
37
|
+
_Avoid_: Source update, migration, content repair
|
|
38
|
+
|
|
39
|
+
**Git source**:
|
|
40
|
+
A skill source acquired as a complete Git repository from a hosted Git URL. A URL pointing into a repository may identify a source focus, but does not change the repository-sized acquisition unit.
|
|
41
|
+
_Avoid_: GitHub skill, cloned skill
|
|
42
|
+
|
|
43
|
+
**Source focus**:
|
|
44
|
+
An optional path supplied with a hosted repository link that identifies the skills relevant to the current request without narrowing the acquired source.
|
|
45
|
+
_Avoid_: Sparse checkout, partial source
|
|
46
|
+
|
|
47
|
+
**Source credentials**:
|
|
48
|
+
Access credentials managed by the user's existing Git or download environment rather than stored by Skillcaddy. Persisted source provenance never contains secrets or sensitive URL parameters.
|
|
49
|
+
_Avoid_: Skillcaddy token, embedded password
|
|
50
|
+
|
|
51
|
+
**Stable source URL**:
|
|
52
|
+
A direct HTTP(S) origin that remains fetchable when stored without credentials, query parameters, or fragments, allowing the source registry to reuse it for later updates.
|
|
53
|
+
_Avoid_: Signed URL, temporary download link
|
|
54
|
+
|
|
55
|
+
**Archive source**:
|
|
56
|
+
A versioned archive acquired from a direct download URL and unpacked into the central library. It may contain one skill or a collection of related skills, and only its latest installed version is retained.
|
|
57
|
+
_Avoid_: ZIP skill, skill folder
|
|
58
|
+
|
|
59
|
+
**Remote file source**:
|
|
60
|
+
A skill source acquired from a direct HTTP(S) URL whose acquisition unit is one `SKILL.md`. Its origin and installed-content integrity remain registered so later downloads update the same source identity.
|
|
61
|
+
_Avoid_: Repository path source, unmanaged download
|
|
62
|
+
|
|
63
|
+
**Local source**:
|
|
64
|
+
A skill source imported from a local archive or directory and copied into the central library so it does not depend on the original filesystem location.
|
|
65
|
+
_Avoid_: Linked folder, working copy
|
|
66
|
+
|
|
67
|
+
**Source acquisition**:
|
|
68
|
+
The download, validation, and installation of a skill source into the central library without executing source-provided code or configuring a project.
|
|
69
|
+
_Avoid_: Setup, enablement
|
|
70
|
+
|
|
71
|
+
**Source validation**:
|
|
72
|
+
Safety and discoverability checks applied before acquisition changes the central library. Safety failures reject the source, while non-security skill-format issues are reported as quality warnings.
|
|
73
|
+
_Avoid_: Runtime preflight, setup check
|
|
74
|
+
|
|
75
|
+
**Recognized skill layout**:
|
|
76
|
+
A source-relative Skill location at the source root, within four directory levels under `skills/` or `skill/`, in a direct child `<name>/`, or within four directory levels under an immediate child collection's `<collection>/skills/`. Directory segments named `docs`, `references`, or `tests` are support content and are excluded. A populated root `skills/` layout is authoritative; otherwise, populated immediate child collections are authoritative, and unrelated deeper `SKILL.md` files outside the recognized collection roots are not discovered.
|
|
77
|
+
_Avoid_: Recursive skill search, any SKILL.md
|
|
78
|
+
|
|
79
|
+
**Source upgrade**:
|
|
80
|
+
Replacement of an installed skill source with another valid package for the same source identity. Archive upgrades do not require Skillcaddy to infer or compare versions, and the replaced package is not retained as an active or historical copy.
|
|
81
|
+
_Avoid_: Side-by-side install, version copy
|
|
82
|
+
|
|
83
|
+
**Breaking source replacement**:
|
|
84
|
+
A source upgrade that removes or relocates a previously discovered skill path and may therefore break a project or global link. It is distinct from version comparison and requires explicit authorization when an affected link is known.
|
|
85
|
+
_Avoid_: New version, content update
|
|
86
|
+
|
|
87
|
+
**Setup readiness**:
|
|
88
|
+
The known state of prerequisites required before an enabled skill can work in a specific scope. Acquisition alone never establishes setup readiness, and readiness never controls whether the skill can be enabled.
|
|
89
|
+
_Avoid_: Installed, downloaded
|
|
90
|
+
|
|
91
|
+
**Unknown setup readiness**:
|
|
92
|
+
The absence of a declared setup contract for a skill source. It does not imply that setup is required and does not prevent normal skill enablement.
|
|
93
|
+
_Avoid_: Missing setup, incomplete setup
|
|
94
|
+
|
|
95
|
+
**Setup reminder**:
|
|
96
|
+
Non-blocking guidance shown for a skill whose source declares unmet setup prerequisites. Its type controls whether and how prominently Skillcaddy reminds the user, never whether the skill may be enabled.
|
|
97
|
+
_Avoid_: Setup gate, enablement requirement
|
|
98
|
+
|
|
99
|
+
**Runtime preflight**:
|
|
100
|
+
A source-provided check performed when a skill is used to detect missing credentials, dependencies, or other runtime prerequisites and guide the user through them. It is outside source acquisition and enablement.
|
|
101
|
+
_Avoid_: Source validation, Skillcaddy setup reminder
|
|
102
|
+
|
|
103
|
+
**Enablement**:
|
|
104
|
+
The creation of a scope-specific link to a skill already present in the central library. Source acquisition never implies enablement; both occur in one workflow only when the user expresses both intents.
|
|
105
|
+
_Avoid_: Download, installation
|
|
106
|
+
|
|
107
|
+
**Enablement scope**:
|
|
108
|
+
The boundary that owns an enabled skill: one project, the user's shared Agent environment, or the user's Hermes environment.
|
|
109
|
+
_Avoid_: Target path, install mode
|
|
110
|
+
|
|
111
|
+
**Project enablement**:
|
|
112
|
+
Enablement owned by one project and available through that project's Agent skill configuration. It can take precedence over a same-named global skill without changing the global enablement; Claude Code synchronization remains a separate project action.
|
|
113
|
+
_Avoid_: Local installation, repository skill
|
|
114
|
+
|
|
115
|
+
**Global enablement**:
|
|
116
|
+
Enablement owned by the user and available to projects through the shared Agent environment. It is explicit, independent of any one project, and does not establish project setup readiness.
|
|
117
|
+
_Avoid_: System installation, global package
|
|
118
|
+
|
|
119
|
+
**Hermes enablement**:
|
|
120
|
+
Enablement owned by the user and available through Hermes's fixed user skill directory. It is explicit and independent of project enablement, global Agent enablement, and project Claude Code synchronization.
|
|
121
|
+
_Avoid_: Hermes mirror, global mirror
|
|
122
|
+
|
|
123
|
+
**Hermes-eligible source**:
|
|
124
|
+
An acquired `official`, `github`, or `personal` source that may be explicitly enabled into Hermes. Bundled repository skills and `archived` sources are outside Hermes enablement.
|
|
125
|
+
_Avoid_: Third-party mirror, every source
|
|
126
|
+
|
|
127
|
+
**Collection enablement**:
|
|
128
|
+
A scoped operation that applies enablement to every eligible skill in one collection and classifies each candidate as enabled, unchanged, skipped, or failed. Project setup readiness remains project-scoped, and Collection enablement never establishes it; Hermes enablement still applies its source-eligibility boundary.
|
|
129
|
+
_Avoid_: Bulk installation, collection setup
|
|
130
|
+
|
|
131
|
+
**Skill**:
|
|
132
|
+
An Agent-facing capability rooted at a directory containing `SKILL.md`, discovered within a skill source and enabled independently by enablement scope.
|
|
133
|
+
_Avoid_: Library, repository
|
|
134
|
+
|
|
135
|
+
**Library image**:
|
|
136
|
+
A self-contained, relocatable snapshot of the central library that carries the library state needed to reconstruct an equivalent library on another machine: every source's installed bytes (including nested `.git`), the registry records, and the user-level enablement triples. It is the input to library image import and the output of library image export.
|
|
137
|
+
_Avoid_: Archive, bundle, backup, snapshot, image
|
|
138
|
+
|
|
139
|
+
**Upstream-less source**:
|
|
140
|
+
A registered skill source whose provenance cannot be re-fetched: its bytes exist only on the machine that produced the library image, and any future update must keep the source's current type, origin, and bytes rather than adopt a new upstream. The library image preserves them as-is; it does not upgrade them.
|
|
141
|
+
_Avoid_: Orphan source, broken source, untracked source
|
|
142
|
+
|
|
143
|
+
**Code root**:
|
|
144
|
+
The directory that holds the running Skillcaddy code together with the artifacts that ship with that code: `package.json`, `server.js`, the bundled `skills/` bucket, and the collection setup contracts. It is whatever directory the executable was launched from — a clone, an npm package directory, or a package manager's install prefix. The code root is never a place to keep acquired content.
|
|
145
|
+
_Avoid_: Install directory, root directory, working directory
|
|
146
|
+
|
|
147
|
+
**Library root**:
|
|
148
|
+
The directory that holds the central library: the source buckets, the source registry, and the skill metadata sidecars. It is independent of the code root, so the same library is reachable from a clone, from an `npx` one-shot run, and from a package manager install. A git checkout keeps the library root at the checkout itself for backward compatibility; every other distribution form uses the user-level library directory unless the library root is set explicitly.
|
|
149
|
+
_Avoid_: Root directory, data directory, working directory
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 chenweil
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|