skills-layer 0.1.7 → 0.1.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/.github/dependabot.yml +7 -0
- package/.github/workflows/ci.yml +22 -0
- package/.github/workflows/publish.yml +24 -0
- package/CODE_OF_CONDUCT.md +18 -0
- package/CONTRIBUTING.md +24 -0
- package/SECURITY.md +18 -0
- package/package.json +6 -1
- package/public/skills-layer-public.mjs +87 -82
- package/tests/public-cli-package.test.mjs +96 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: CLI package CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
verify:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v6
|
|
17
|
+
- uses: actions/setup-node@v6
|
|
18
|
+
with:
|
|
19
|
+
node-version: "24"
|
|
20
|
+
package-manager-cache: false
|
|
21
|
+
- run: npm run typecheck
|
|
22
|
+
- run: npm run test:coverage
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Publish skills-layer to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
id-token: write
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
publish:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v6
|
|
17
|
+
- uses: actions/setup-node@v6
|
|
18
|
+
with:
|
|
19
|
+
node-version: "24"
|
|
20
|
+
registry-url: "https://registry.npmjs.org"
|
|
21
|
+
package-manager-cache: false
|
|
22
|
+
- run: npm run typecheck
|
|
23
|
+
- run: npm run test:coverage
|
|
24
|
+
- run: npm publish --access public --provenance
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Code Of Conduct
|
|
2
|
+
|
|
3
|
+
We want Skills Layer CLI to be a respectful, practical, and welcoming project for users and contributors.
|
|
4
|
+
|
|
5
|
+
## Expected Behavior
|
|
6
|
+
|
|
7
|
+
- Be respectful and constructive.
|
|
8
|
+
- Assume good intent while being precise about risks and tradeoffs.
|
|
9
|
+
- Keep security reports private until they are resolved or responsibly disclosed.
|
|
10
|
+
- Avoid harassment, insults, discrimination, or repeated disruptive behavior.
|
|
11
|
+
|
|
12
|
+
## Scope
|
|
13
|
+
|
|
14
|
+
This applies to repository issues, pull requests, discussions, and related project communication.
|
|
15
|
+
|
|
16
|
+
## Enforcement
|
|
17
|
+
|
|
18
|
+
Maintainers may edit, hide, or remove content and may restrict participation when behavior harms users, contributors, or project safety.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for helping improve Skills Layer CLI.
|
|
4
|
+
|
|
5
|
+
This public repository is intentionally limited to the CLI, MCP setup, local agent integration, packaging, docs, and package-level tests. Do not submit backend service code, Cloud admin tooling, Guardian scoring internals, credentials, or private release material here.
|
|
6
|
+
|
|
7
|
+
## Local Checks
|
|
8
|
+
|
|
9
|
+
Run these from the repository root before opening a pull request:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm run typecheck
|
|
13
|
+
npm run test:coverage
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The package has no runtime dependencies and no npm lifecycle scripts. Please keep it that way unless a public CLI feature has a clear need.
|
|
17
|
+
|
|
18
|
+
## Pull Request Checklist
|
|
19
|
+
|
|
20
|
+
- Keep user-facing CLI output readable and agent-friendly.
|
|
21
|
+
- Preserve predictable `--json` behavior for agent workflows.
|
|
22
|
+
- Avoid leaking internal service details or private operational commands.
|
|
23
|
+
- Update README/help text when behavior changes.
|
|
24
|
+
- Add focused tests for changed behavior.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
This repository contains the open-source Skills Layer CLI and local integration surface only. Skills Layer Cloud, marketplace services, Guardian scoring internals, and hosted backend code are not part of this repository.
|
|
4
|
+
|
|
5
|
+
## Reporting A Vulnerability
|
|
6
|
+
|
|
7
|
+
Please do not open public issues for active vulnerabilities.
|
|
8
|
+
|
|
9
|
+
Use GitHub private vulnerability reporting for this repository when available, or email `hello@skills-layer.com` with a short non-sensitive summary and a way to contact you securely.
|
|
10
|
+
|
|
11
|
+
Include:
|
|
12
|
+
|
|
13
|
+
- affected package version
|
|
14
|
+
- operating system and Node.js version
|
|
15
|
+
- steps to reproduce
|
|
16
|
+
- impact and any suggested mitigation
|
|
17
|
+
|
|
18
|
+
We prioritize issues that could expose credentials, bypass Guardian checks, corrupt local installs, or mislead users about the source of a package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skills-layer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Open-source CLI and local agent integration layer for Skills Layer Cloud.",
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
"skills-layer": "bin/skills-layer.js"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
+
"CODE_OF_CONDUCT.md",
|
|
22
|
+
"CONTRIBUTING.md",
|
|
23
|
+
"SECURITY.md",
|
|
24
|
+
".github/dependabot.yml",
|
|
25
|
+
".github/workflows/*.yml",
|
|
21
26
|
"bin/skills-layer.js",
|
|
22
27
|
"public/skills-layer-public.mjs",
|
|
23
28
|
"scripts/skills-layer.mjs",
|