File tree Expand file tree Collapse file tree
plugins/tla-workbenches/.claude-plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 },
66 "metadata" : {
77 "description" : " Portable TLA+ agent skills for Claude Code and other Agent Skills clients." ,
8- "version" : " 0.1.0 "
8+ "version" : " 0.1.2 "
99 },
1010 "plugins" : [
1111 {
1212 "name" : " tla-workbenches" ,
13- "description" : " TLA+ workbench skills for TLC model checking and TLAPS proofs." ,
14- "version" : " 0.1.0 " ,
13+ "description" : " TLA+ skills for checking specs and writing proofs." ,
14+ "version" : " 0.1.2 " ,
1515 "author" : {
1616 "name" : " younes-io"
1717 },
Original file line number Diff line number Diff line change 11{
22 "name" : " tla-workbenches" ,
3- "version" : " 0.1.0 " ,
4- "description" : " TLA+ workbench skills for TLC model checking and TLAPS proofs." ,
3+ "version" : " 0.1.2 " ,
4+ "description" : " TLA+ skills for checking specs and writing proofs." ,
55 "author" : {
66 "name" : " younes-io"
7- }
7+ },
8+ "repository" : " https://github.com/younes-io/agent-skills" ,
9+ "homepage" : " https://github.com/younes-io/agent-skills/tree/main/plugins/tla-workbenches" ,
10+ "skills" : " ./skills/"
811}
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ expected_marketplace = {
3232 "owner_name": "younes-io",
3333 "plugin_name": "tla-workbenches",
3434 "plugin_source": "./plugins/tla-workbenches",
35+ "plugin_version": "0.1.2",
36+ "skills": "./skills/",
3537}
3638
3739if marketplace.get("name") != expected_marketplace["name"]:
@@ -51,11 +53,20 @@ if entry.get("name") != expected_marketplace["plugin_name"]:
5153if entry.get("source") != expected_marketplace["plugin_source"]:
5254 raise SystemExit("Unexpected plugin source path in marketplace")
5355
56+ if entry.get("version") != expected_marketplace["plugin_version"]:
57+ raise SystemExit("Unexpected plugin version in marketplace")
58+
5459if plugin.get("name") != expected_marketplace["plugin_name"]:
5560 raise SystemExit("Unexpected plugin manifest name")
5661
5762if plugin.get("author", {}).get("name") != expected_marketplace["owner_name"]:
5863 raise SystemExit("Unexpected plugin manifest author")
64+
65+ if plugin.get("version") != expected_marketplace["plugin_version"]:
66+ raise SystemExit("Unexpected plugin manifest version")
67+
68+ if plugin.get("skills") != expected_marketplace["skills"]:
69+ raise SystemExit("Plugin manifest must register the ./skills/ directory")
5970PY
6071
6172if find " $generated_skills " -type l | grep -q . ; then
You can’t perform that action at this time.
0 commit comments