specweave 0.17.11 → 0.17.12
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/CLAUDE.md +7 -21
- package/package.json +1 -1
- package/plugins/specweave/.claude-plugin/plugin.json +1 -2
- package/plugins/specweave-ado/.claude-plugin/plugin.json +1 -2
- package/plugins/specweave-github/.claude-plugin/plugin.json +1 -2
- package/plugins/specweave-jira/.claude-plugin/plugin.json +1 -2
- package/plugins/specweave-release/.claude-plugin/plugin.json +1 -2
package/CLAUDE.md
CHANGED
|
@@ -2863,8 +2863,7 @@ plugins/specweave-{name}/
|
|
|
2863
2863
|
"repository": "https://github.com/owner/repo",
|
|
2864
2864
|
"homepage": "https://example.com",
|
|
2865
2865
|
"license": "MIT",
|
|
2866
|
-
"keywords": ["keyword1", "keyword2"]
|
|
2867
|
-
"hooks": "./hooks/hooks.json"
|
|
2866
|
+
"keywords": ["keyword1", "keyword2"]
|
|
2868
2867
|
}
|
|
2869
2868
|
```
|
|
2870
2869
|
|
|
@@ -2877,22 +2876,12 @@ plugins/specweave-{name}/
|
|
|
2877
2876
|
| **version** | string | Required, semver format | `"1.0.0"` |
|
|
2878
2877
|
| **author** | object | Required, with name field | `{"name": "Team"}` |
|
|
2879
2878
|
| **repository** | string | Must be string, NOT object | `"https://github.com/..."` ✅ |
|
|
2880
|
-
| **hooks** | string | Must start with "./" | `"./hooks/hooks.json"` ✅ |
|
|
2881
2879
|
| **keywords** | array | Optional, array of strings | `["github", "sync"]` |
|
|
2882
2880
|
| **homepage** | string | Optional, URL | `"https://spec-weave.com"` |
|
|
2883
2881
|
| **license** | string | Optional, SPDX identifier | `"MIT"` |
|
|
2884
2882
|
|
|
2885
2883
|
#### Common Validation Errors
|
|
2886
2884
|
|
|
2887
|
-
**❌ hooks: Invalid input: must start with "./"**
|
|
2888
|
-
```json
|
|
2889
|
-
// WRONG
|
|
2890
|
-
"hooks": "hooks/hooks.json"
|
|
2891
|
-
|
|
2892
|
-
// CORRECT
|
|
2893
|
-
"hooks": "./hooks/hooks.json"
|
|
2894
|
-
```
|
|
2895
|
-
|
|
2896
2885
|
**❌ repository: Expected string, received object**
|
|
2897
2886
|
```json
|
|
2898
2887
|
// WRONG
|
|
@@ -2932,7 +2921,7 @@ plugins/specweave-{name}/
|
|
|
2932
2921
|
- `skills/` directory → auto-discovered (no plugin.json field needed)
|
|
2933
2922
|
- `agents/` directory → auto-discovered (no plugin.json field needed)
|
|
2934
2923
|
- `commands/` directory → auto-discovered (no plugin.json field needed)
|
|
2935
|
-
- `hooks/hooks.json` →
|
|
2924
|
+
- `hooks/hooks.json` → auto-discovered (no plugin.json field needed)
|
|
2936
2925
|
|
|
2937
2926
|
**Example: Working plugin.json**
|
|
2938
2927
|
```json
|
|
@@ -2943,8 +2932,7 @@ plugins/specweave-{name}/
|
|
|
2943
2932
|
"author": {"name": "SpecWeave Team"},
|
|
2944
2933
|
"repository": "https://github.com/anton-abyzov/specweave",
|
|
2945
2934
|
"license": "MIT",
|
|
2946
|
-
"keywords": ["github", "sync"]
|
|
2947
|
-
"hooks": "./hooks/hooks.json"
|
|
2935
|
+
"keywords": ["github", "sync"]
|
|
2948
2936
|
}
|
|
2949
2937
|
```
|
|
2950
2938
|
|
|
@@ -2952,7 +2940,7 @@ plugins/specweave-{name}/
|
|
|
2952
2940
|
```
|
|
2953
2941
|
plugins/specweave-github/
|
|
2954
2942
|
├── .claude-plugin/
|
|
2955
|
-
│ └── plugin.json ←
|
|
2943
|
+
│ └── plugin.json ← Plugin metadata only
|
|
2956
2944
|
├── skills/ ← Auto-discovered
|
|
2957
2945
|
│ └── github-sync/
|
|
2958
2946
|
├── agents/ ← Auto-discovered
|
|
@@ -2960,17 +2948,16 @@ plugins/specweave-github/
|
|
|
2960
2948
|
├── commands/ ← Auto-discovered
|
|
2961
2949
|
│ └── github-sync.md
|
|
2962
2950
|
└── hooks/
|
|
2963
|
-
├── hooks.json ←
|
|
2951
|
+
├── hooks.json ← Auto-discovered
|
|
2964
2952
|
└── post-task-completion.sh
|
|
2965
2953
|
```
|
|
2966
2954
|
|
|
2967
2955
|
#### Quick Validation Checklist
|
|
2968
2956
|
|
|
2969
2957
|
Before committing a new plugin:
|
|
2970
|
-
- [ ] All paths start with "./" (hooks, any explicit file references)
|
|
2971
2958
|
- [ ] repository is a string, not an object
|
|
2972
2959
|
- [ ] No NPM-specific fields (engines, dependencies)
|
|
2973
|
-
- [ ] No directory references in plugin.json (skills, agents, commands)
|
|
2960
|
+
- [ ] No directory references in plugin.json (skills, agents, commands, hooks)
|
|
2974
2961
|
- [ ] Valid JSON syntax (use `jq . < plugin.json` to validate)
|
|
2975
2962
|
- [ ] Test with: `/plugin marketplace add ./.claude-plugin && /plugin install plugin-name`
|
|
2976
2963
|
|
|
@@ -2991,8 +2978,7 @@ cat > plugins/specweave-myplugin/.claude-plugin/plugin.json << 'EOF'
|
|
|
2991
2978
|
"repository": "https://github.com/anton-abyzov/specweave",
|
|
2992
2979
|
"homepage": "https://spec-weave.com",
|
|
2993
2980
|
"license": "MIT",
|
|
2994
|
-
"keywords": ["specweave", "plugin"]
|
|
2995
|
-
"hooks": "./hooks/hooks.json"
|
|
2981
|
+
"keywords": ["specweave", "plugin"]
|
|
2996
2982
|
}
|
|
2997
2983
|
EOF
|
|
2998
2984
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specweave",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.12",
|
|
4
4
|
"description": "Spec-driven development framework for Claude Code. AI-native workflow with living documentation, intelligent agents, and multilingual support (9 languages). Enterprise-grade traceability with permanent specs and temporary increments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|