@uinaf/agent-plugin-stuff 0.0.0-stage → 2.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/LICENSE +21 -0
- package/README.md +62 -2
- package/dist/cli.js +734 -0
- package/dist/grok-provider.js +189 -0
- package/dist/lint.js +107 -0
- package/dist/plugin.js +158 -0
- package/dist/plugincheck.js +38 -0
- package/dist/rulecheck.js +38 -0
- package/dist/rules.js +214 -0
- package/dist/scenario.js +484 -0
- package/dist/skill-evidence.js +70 -0
- package/dist/transform.js +75 -0
- package/docs/adoption.md +51 -0
- package/docs/scenarios.md +124 -0
- package/docs/usage.md +210 -0
- package/package.json +71 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 undefined is not a function LLC
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
|
1
|
-
#
|
|
1
|
+
# uinaf/agent-plugin-stuff
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Linters and eval harness for agent plugins, skills, and rules: keyless
|
|
4
|
+
structural linters (`plugincheck`, `rulecheck`, `skillcheck lint`) any repo can
|
|
5
|
+
run in CI, and a promptfoo-driven eval loop (`skillcheck`) that grades what a
|
|
6
|
+
skill makes an agent do.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
pnpm add -D @uinaf/agent-plugin-stuff
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Node 24 or newer. The lint-only install has no regular dependencies and runs
|
|
15
|
+
no install scripts. Evals need optional peers ([adoption](docs/adoption.md)).
|
|
16
|
+
|
|
17
|
+
## Use
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
plugincheck # skills + rules + manifests + MCP parity
|
|
21
|
+
rulecheck # rules/*.md <-> *.mdc parity + Cursor manifest
|
|
22
|
+
skillcheck lint # skills + eval scenarios only
|
|
23
|
+
skillcheck run skills/wat/evals/basic # one scenario, graded end to end
|
|
24
|
+
skillcheck sweep --trials 3 # every scenario, three trials each
|
|
25
|
+
skillcheck summarize # per-scenario and per-skill scorecard
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`run` and `sweep` need model auth ([usage](docs/usage.md#auth)).
|
|
29
|
+
|
|
30
|
+
## Layout contract
|
|
31
|
+
|
|
32
|
+
Fixed, with no config file. Every command reads one root: `--root <dir>`, or
|
|
33
|
+
the current directory.
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
<root>/plugin.json manifest checked by plugincheck
|
|
37
|
+
<root>/.cursor-plugin/plugin.json manifest + rules registration
|
|
38
|
+
<root>/.claude-plugin/plugin.json manifest name/description parity
|
|
39
|
+
<root>/mcp.json, .mcp.json, mcp_config.json MCP server parity
|
|
40
|
+
<root>/rules/<rule>.md, <rule>.mdc rule parity + frontmatter
|
|
41
|
+
<root>/skills/<skill>/SKILL.md linted
|
|
42
|
+
<root>/skills/<skill>/evals/<scenario>/task.md the problem + input files
|
|
43
|
+
<root>/skills/<skill>/evals/<scenario>/criteria.json the weighted checklist
|
|
44
|
+
<root>/.skillcheck/ results, scorecards
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`cli/*/skills/<skill>/` is scanned too, for repos that keep a skill next to the
|
|
48
|
+
CLI it documents.
|
|
49
|
+
|
|
50
|
+
## Docs
|
|
51
|
+
|
|
52
|
+
| Doc | When |
|
|
53
|
+
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------- |
|
|
54
|
+
| [Usage](docs/usage.md) | Every subcommand, flag, and auth path |
|
|
55
|
+
| [Scenarios](docs/scenarios.md) | Writing an eval scenario |
|
|
56
|
+
| [Adoption](docs/adoption.md) | Wiring the lint into another repo |
|
|
57
|
+
| [Contributing](CONTRIBUTING.md) | Local setup, the verify gate, and the npm pipeline |
|
|
58
|
+
| [Skill quality](https://github.com/uinaf/ffss/blob/main/skills/slopaudit/references/skills.md) | Writing and auditing the skill itself |
|
|
59
|
+
| [Security](https://github.com/uinaf/agent-plugin-stuff/security/policy) | Reporting a vulnerability |
|
|
60
|
+
|
|
61
|
+
## License
|
|
62
|
+
|
|
63
|
+
MIT · undefined is not a function LLC
|