@uinaf/skillcheck 1.7.6 → 1.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uinaf/skillcheck",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "description": "Lint and eval harness for agent skills",
5
5
  "homepage": "https://github.com/uinaf/skillcheck#readme",
6
6
  "bugs": {
@@ -34,16 +34,17 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@anthropic-ai/claude-agent-sdk": "^0.3.281",
37
- "@openai/codex-sdk": "^0.160.0",
37
+ "@openai/codex-sdk": "^0.172.0",
38
38
  "@types/node": "^26.6.2",
39
- "promptfoo": "^0.124.0",
39
+ "@uinaf/oxlint-config": "1.0.5",
40
+ "promptfoo": "^0.126.0",
40
41
  "vite": "catalog:",
41
42
  "vite-plus": "catalog:"
42
43
  },
43
44
  "peerDependencies": {
44
45
  "@anthropic-ai/claude-agent-sdk": "^0.3.281",
45
- "@openai/codex-sdk": "^0.156.1 || ^0.157.0 || ^0.160.0",
46
- "promptfoo": "^0.123.1"
46
+ "@openai/codex-sdk": "^0.156.1 || ^0.157.0 || ^0.160.0 || ^0.161.0 || ^0.163.0 || ^0.164.0 || ^0.165.0 || ^0.166.0 || ^0.167.0 || ^0.169.0 || ^0.170.0 || ^0.171.0 || ^0.172.0",
47
+ "promptfoo": "^0.123.1 || ^0.124.0 || ^0.125.0 || ^0.126.0"
47
48
  },
48
49
  "peerDependenciesMeta": {
49
50
  "@anthropic-ai/claude-agent-sdk": {
@@ -66,5 +67,5 @@
66
67
  "engines": {
67
68
  "node": ">=24"
68
69
  },
69
- "packageManager": "pnpm@12.10.1"
70
+ "packageManager": "pnpm@12.25.1"
70
71
  }
package/docs/authoring.md DELETED
@@ -1,70 +0,0 @@
1
- # Authoring and auditing skills
2
-
3
- What `lint` and evals cannot judge: whether a skill is worth routing to and
4
- cheap to load. Use this when writing a skill or auditing one. Evidence beats
5
- stylistic preference; run `skillcheck lint` first and let this cover the rest.
6
-
7
- ## Metadata and discovery
8
-
9
- - `name` is concrete and easy to say out loud. `helper`, `tools`, `utils` are
10
- discovery smells.
11
- - `description` is third person and says both what the skill does and when to
12
- use it. It is an always-loaded retrieval pointer: front-load the concrete
13
- action or domain that should activate it.
14
- - One trigger per materially distinct request branch. Collapse synonyms that
15
- rename the same branch.
16
- - State the main overlap boundary without naming another skill.
17
-
18
- ## Body shape
19
-
20
- - Keep `SKILL.md` on workflow, principles, boundaries, and routing. Lead with
21
- the task, not a bibliography.
22
- - Assume the model is smart; spend tokens on repo-specific judgment. Delete any
23
- instruction that would not change a capable model's behavior.
24
- - Match freedom to risk: high for contextual judgment, medium when a preferred
25
- pattern exists, low for fragile operations.
26
- - Say what evidence to gather and what a complete result includes. End each
27
- step with an observable completion condition, not "understood" or "handled".
28
-
29
- ## Progressive disclosure
30
-
31
- - Durable detail, rubrics, and long examples go in `references/`, one hop from
32
- `SKILL.md`, each with a task-shaped retrieval job. Material every path needs
33
- stays inline.
34
- - For repeated deterministic work, route to the target's existing framework,
35
- schema, task graph, or library; otherwise add a tested module in the
36
- project's primary language, not ad-hoc shell rendered as prose.
37
- - When executable code belongs to another maintained project, link the exact
38
- public artifact and state the contract it demonstrates; do not fork it into
39
- prose.
40
- - A package stays independently usable: state prerequisites and out-of-scope
41
- next steps locally. Never invoke, import, or assume a sibling skill.
42
-
43
- ## Audit
44
-
45
- Grade each dimension strong, mixed, or weak:
46
-
47
- | Dimension | Question |
48
- | ---------------------- | --------------------------------------------------------------------- |
49
- | Discovery | Does metadata alone route a realistic request here |
50
- | Workflow | Does the body say how to begin, what evidence to gather, when to stop |
51
- | Progressive disclosure | Is detail in the right file |
52
- | Repo fit | Are links, commands, and conventions current |
53
- | Verification | Is the strongest mechanical check named, plus a real evidence loop |
54
- | Boundaries | Are limits and next steps stated without leaning on a sibling skill |
55
-
56
- Blockers, must-fix: invalid frontmatter; a description that fails discovery;
57
- stale commands, paths, or links; a workflow with no start, evidence loop, or
58
- completion; conflicts with the repo's guidance; sibling-skill dependencies.
59
-
60
- Major findings: vague name; synonym-stuffed description; bloated `SKILL.md`;
61
- missing or muddy boundaries; prose re-inventing a deterministic tool; abstract
62
- examples.
63
-
64
- ## Improve
65
-
66
- Fix blockers first, then the highest-leverage majors. Prefer the smallest
67
- change that improves activation, decision quality, or proof. When pruning,
68
- measure common-path context for representative requests; line count alone does
69
- not reveal retrieval cost. After edits, rerun `skillcheck lint` and the repo's
70
- gate, and rerun evals when behavior was the thing changed.
package/docs/releasing.md DELETED
@@ -1,88 +0,0 @@
1
- # Releasing
2
-
3
- ## Pipeline
4
-
5
- A push to `main` runs one workflow, `.github/workflows/release.yml`:
6
-
7
- ```text
8
- verify ──> release npm publish, OIDC + uinaf-ci (release environment)
9
- ```
10
-
11
- `verify` is the one gate, called from `verify.yml`; its last step runs the
12
- shared push-time scan from `uinaf/.github` over the pushed range. Keep it that
13
- way: a second copy of the gate on a push-to-`main` workflow races this one over
14
- the same commit.
15
-
16
- The file name `release.yml` is load-bearing. See below.
17
-
18
- ## npm
19
-
20
- `@uinaf/skillcheck` publishes from `.github/workflows/release.yml` via npm
21
- Trusted Publishing (OIDC) and the `uinaf-ci` GitHub App. There is no npm
22
- token in this repository, in its environments, or in the organization.
23
-
24
- Required on the `release` GitHub Environment:
25
-
26
- | Name | Kind | Purpose |
27
- | -------------------------- | ------ | ------------------------------------------- |
28
- | `UINAF_CI_APP_CLIENT_ID` | var | GitHub App client id for the releaser bot |
29
- | `UINAF_CI_APP_PRIVATE_KEY` | secret | GitHub App private key for the releaser bot |
30
-
31
- The trusted publisher on npmjs.com is registered by **file path**, so
32
- `.github/workflows/release.yml` cannot be renamed or moved without editing that
33
- registration first. A rename fails the publish with an identity mismatch, and
34
- nothing earlier in the run reports it. The `release` environment name is bound
35
- the same way.
36
-
37
- Deleting the `release` environment deletes both rows above with it, and there is
38
- no repo-level fallback: `create-github-app-token` then runs with empty inputs
39
- and the job fails at that step. The private key cannot be read back from
40
- GitHub; recreating it means generating a new one in the App settings.
41
- The App private key lives on the `release` Environment; the shared release-npm job binds that Environment, so GitHub substitutes the Environment value for the secret named in `release.yml`.
42
-
43
- ## Version history
44
-
45
- The version and the tag are owned by semantic-release. `tagFormat` is `v${version}` and
46
- history continues from `v0.1.3`; `v0.1.0`–`v0.1.3` are the legacy git-install
47
- tags and are never deleted or moved.
48
-
49
- During preparation, `@semantic-release/npm` stages the released `package.json`
50
- version and `scripts/release-commit.ts` commits it through GitHub's signed
51
- `createCommitOnBranch` API as the authenticated App. The checkout and expected
52
- branch head are the verified workflow event SHA. GitHub atomically rejects the
53
- write if `main` has advanced; a successful response is fetched by its immutable
54
- commit SHA. The plugin checks its parent, unchanged source, and exact prepared
55
- manifest before semantic-release tags it. Only the package version may change. The `[skip ci]` marker on that commit is what stops a release
56
- from releasing itself.
57
-
58
- If GitHub accepts the commit but fetching or validating it fails, preparation
59
- stops before tagging or publishing. Inspect that commit's parent, tree, version
60
- and verified signature, plus existing tags, npm versions and GitHub Releases,
61
- before recovery. Reconcile only missing publication steps from the validated
62
- commit; do not create another version or move an existing tag to hide failure.
63
-
64
- Check what the next version would be without publishing anything:
65
-
66
- ```sh
67
- pnpm dlx semantic-release --dry-run --no-ci
68
- ```
69
-
70
- ## The artifact
71
-
72
- `dist/` is generated and untracked. `prepublishOnly` runs `pnpm run verify:full`,
73
- which builds it, so the tarball is always packed from a tree that just passed
74
- the gate. `files` is `dist`, `docs`, `README.md`, `LICENSE`.
75
-
76
- Manual publish is emergency recovery only:
77
-
78
- ```sh
79
- pnpm run verify
80
- npm publish --access public
81
- ```
82
-
83
- ## The old install path
84
-
85
- Before `@uinaf/skillcheck` existed, consumers installed
86
- `github:uinaf/skillcheck#v0.1.3`. Those tags still resolve and still carry a
87
- committed `dist/`, so anything pinned to them keeps working untouched. New
88
- consumers use npm.