agent-skillboard 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/CONTRIBUTING.md +83 -0
- package/LICENSE +21 -0
- package/README.md +645 -0
- package/bin/skillboard.mjs +4 -0
- package/docs/adapters.md +127 -0
- package/docs/capabilities.md +107 -0
- package/docs/install.md +346 -0
- package/docs/plans/20260625-080025-skillboard-mvp-review.md +189 -0
- package/docs/plans/README.md +20 -0
- package/docs/policy-model.md +251 -0
- package/docs/positioning.md +94 -0
- package/docs/profiles.md +166 -0
- package/docs/rollout-runbook.md +60 -0
- package/docs/user-flow.md +231 -0
- package/docs/versioning.md +201 -0
- package/examples/multi-source-skills/anthropic/docx/SKILL.md +8 -0
- package/examples/multi-source-skills/anthropic/skill-creator/SKILL.md +8 -0
- package/examples/multi-source-skills/matt/grill-me/SKILL.md +8 -0
- package/examples/multi-source-skills/matt/tdd/SKILL.md +8 -0
- package/examples/multi-source-skills/omo/review-work/SKILL.md +8 -0
- package/examples/multi-source-skills/omo/ulw-plan/SKILL.md +8 -0
- package/examples/multi-source-skills/private/tdd-work-continuity/SKILL.md +8 -0
- package/examples/multi-source-skills/private/workflow-router/SKILL.md +8 -0
- package/examples/multi-source-skills/wshobson/python-testing/SKILL.md +8 -0
- package/examples/multi-source-skills/wshobson/security-review/SKILL.md +8 -0
- package/examples/multi-source.config.yaml +271 -0
- package/examples/skillboard.config.yaml +194 -0
- package/examples/skills/grill-me/SKILL.md +9 -0
- package/examples/skills/grill-with-docs/SKILL.md +9 -0
- package/examples/skills/requirement-intake/SKILL.md +9 -0
- package/examples/skills/tdd/SKILL.md +8 -0
- package/package.json +58 -0
- package/profiles/anthropics-skills.yaml +17 -0
- package/profiles/mattpocock-skills.yaml +26 -0
- package/profiles/oh-my-openagent.yaml +32 -0
- package/profiles/voltagent-awesome-agent-skills.yaml +18 -0
- package/profiles/wshobson-agents.yaml +19 -0
- package/src/advisor/action-core.mjs +74 -0
- package/src/advisor/actions.mjs +256 -0
- package/src/advisor/application-commands.mjs +59 -0
- package/src/advisor/apply-action.mjs +183 -0
- package/src/advisor/schema.mjs +112 -0
- package/src/advisor/setup-actions.mjs +42 -0
- package/src/advisor/skills.mjs +191 -0
- package/src/advisor/sort.mjs +15 -0
- package/src/advisor/sources.mjs +160 -0
- package/src/advisor/trust-policy.mjs +65 -0
- package/src/advisor/workflow.mjs +41 -0
- package/src/advisor.mjs +134 -0
- package/src/agent-inventory-platforms.mjs +100 -0
- package/src/agent-inventory.mjs +804 -0
- package/src/brief-cli.mjs +40 -0
- package/src/brief-renderer.mjs +362 -0
- package/src/change-plan.mjs +169 -0
- package/src/cli.mjs +1171 -0
- package/src/config-helpers.mjs +72 -0
- package/src/control/can-use-guard.mjs +91 -0
- package/src/control/config-write.mjs +163 -0
- package/src/control/skill-crud.mjs +394 -0
- package/src/control/source-trust.mjs +161 -0
- package/src/control/workflow-crud.mjs +104 -0
- package/src/control.mjs +197 -0
- package/src/doctor.mjs +299 -0
- package/src/domain/constants.mjs +47 -0
- package/src/domain/indexes.mjs +29 -0
- package/src/domain/rules/capabilities.mjs +33 -0
- package/src/domain/rules/harnesses.mjs +16 -0
- package/src/domain/rules/install-units.mjs +95 -0
- package/src/domain/rules/skills.mjs +105 -0
- package/src/domain/rules/workflows.mjs +105 -0
- package/src/domain/skill-state-matrix.mjs +79 -0
- package/src/domain/source-classes.mjs +99 -0
- package/src/hook-plan.mjs +152 -0
- package/src/impact.mjs +41 -0
- package/src/index.mjs +82 -0
- package/src/init.mjs +136 -0
- package/src/install-output-detector.mjs +337 -0
- package/src/install-units.mjs +62 -0
- package/src/inventory-refresh.mjs +45 -0
- package/src/lifecycle-cli.mjs +166 -0
- package/src/lifecycle-content.mjs +87 -0
- package/src/policy.mjs +42 -0
- package/src/reconcile.mjs +111 -0
- package/src/report.mjs +151 -0
- package/src/review.mjs +88 -0
- package/src/rollout.mjs +453 -0
- package/src/skill-paths.mjs +17 -0
- package/src/source-cache.mjs +178 -0
- package/src/source-profile-loader.mjs +160 -0
- package/src/source-profiles.mjs +299 -0
- package/src/source-verification.mjs +252 -0
- package/src/uninstall.mjs +258 -0
- package/src/workspace.mjs +219 -0
- package/tsconfig.lsp.json +15 -0
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Contributing to SkillBoard
|
|
2
|
+
|
|
3
|
+
SkillBoard is the policy and visibility layer above agent skill installers and marketplaces. Contributions that keep the control plane reviewable, safe-by-default, and workflow-scoped are welcome.
|
|
4
|
+
|
|
5
|
+
## Development Environment
|
|
6
|
+
|
|
7
|
+
- Node.js **20 or newer**
|
|
8
|
+
- npm (comes with Node.js)
|
|
9
|
+
- One dependency: [`yaml`](https://www.npmjs.com/package/yaml)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
git clone https://github.com/NyXXiR/skillboard.git
|
|
13
|
+
cd skillboard
|
|
14
|
+
npm install
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Running Tests
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Syntax check + TypeScript diagnostics + full test suite
|
|
21
|
+
npm run check
|
|
22
|
+
|
|
23
|
+
# TypeScript diagnostics only
|
|
24
|
+
npm run diagnostics
|
|
25
|
+
|
|
26
|
+
# Node.js test runner only
|
|
27
|
+
node --test
|
|
28
|
+
|
|
29
|
+
# Focused test pattern
|
|
30
|
+
node --test --test-name-pattern "frontmatter" test/first-time-ux.test.mjs
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Cross-platform CI runs on Ubuntu, macOS, and Windows with Node 20 and 22.
|
|
34
|
+
|
|
35
|
+
## Project Layout
|
|
36
|
+
|
|
37
|
+
| Path | Purpose |
|
|
38
|
+
|------|---------|
|
|
39
|
+
| `bin/skillboard.mjs` | CLI entrypoint |
|
|
40
|
+
| `src/cli.mjs` | Command router and text/JSON renderers |
|
|
41
|
+
| `src/control.mjs` | Skill/workflow/harness CRUD, `can-use`, `guard`, source classification |
|
|
42
|
+
| `src/workspace.mjs` | Config parsing and `SKILL.md` discovery |
|
|
43
|
+
| `src/doctor.mjs` | `doctor`/`status` health report |
|
|
44
|
+
| `src/policy.mjs`, `src/domain/rules/*.mjs` | Policy engine |
|
|
45
|
+
| `src/agent-inventory.mjs` | Installed agent skill scanning |
|
|
46
|
+
| `src/brief-cli.mjs`, `src/brief-renderer.mjs`, `src/advisor.mjs` | AI/ user brief and action cards |
|
|
47
|
+
| `src/impact.mjs`, `src/reconcile.mjs` | Impact and reconcile analysis |
|
|
48
|
+
| `src/init.mjs`, `src/uninstall.mjs`, `src/lifecycle-cli.mjs`, `src/lifecycle-content.mjs` | Bootstrap and teardown |
|
|
49
|
+
| `src/source-profiles.mjs`, `profiles/*.yaml` | Source profile loader and built-in profiles |
|
|
50
|
+
| `docs/*.md` | User and contributor docs |
|
|
51
|
+
| `examples/` | Runnable fixtures |
|
|
52
|
+
| `test/` | Tests using Node.js built-in test runner |
|
|
53
|
+
|
|
54
|
+
## Adding a Built-In Source Profile
|
|
55
|
+
|
|
56
|
+
Source profiles keep SkillBoard data-driven instead of hardcoding repository layouts. See [docs/profiles.md](docs/profiles.md) for the full authoring guide.
|
|
57
|
+
|
|
58
|
+
Short version:
|
|
59
|
+
|
|
60
|
+
1. Create `profiles/<namespace>.<repo-name>.yaml`.
|
|
61
|
+
2. Add the profile id to `src/source-profiles.mjs` built-in list or load it explicitly.
|
|
62
|
+
3. Add a test fixture under `examples/` or `test/fixtures/`.
|
|
63
|
+
4. Add a test in `test/source-profiles.test.mjs` or `test/multi-source-integration.test.mjs`.
|
|
64
|
+
5. Run `npm run check`.
|
|
65
|
+
|
|
66
|
+
## Coding Conventions
|
|
67
|
+
|
|
68
|
+
- ESM only (`"type": "module"`).
|
|
69
|
+
- Prefer Node.js built-ins; keep dependencies minimal.
|
|
70
|
+
- Write targeted tests before changing behavior when feasible.
|
|
71
|
+
- Keep CLI errors actionable: suggest the next command or list available values.
|
|
72
|
+
- Preserve backward compatibility for public CLI arguments.
|
|
73
|
+
- Update docs when adding or changing commands.
|
|
74
|
+
|
|
75
|
+
## Before Submitting
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npm run check
|
|
79
|
+
git diff --check
|
|
80
|
+
npm pack --dry-run --json
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Ensure new docs are listed in `package.json` `files` if they should ship with the npm package.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
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.
|