opencode-skills-collection 1.0.147 → 1.0.148
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.
|
@@ -47,6 +47,8 @@ name: my-skill-name
|
|
|
47
47
|
description: "Brief description of what this skill does"
|
|
48
48
|
risk: safe
|
|
49
49
|
source: community
|
|
50
|
+
source_repo: owner/repo
|
|
51
|
+
source_type: community
|
|
50
52
|
---
|
|
51
53
|
```
|
|
52
54
|
|
|
@@ -81,6 +83,18 @@ source: community
|
|
|
81
83
|
- **Examples:** `source: community`, `source: "https://example.com/original"`
|
|
82
84
|
- **Use `"self"`** if you are the original author
|
|
83
85
|
|
|
86
|
+
#### `source_repo`
|
|
87
|
+
- **What it is:** Canonical GitHub repository identifier for external upstream material
|
|
88
|
+
- **Format:** `OWNER/REPO`
|
|
89
|
+
- **Example:** `source_repo: Dimillian/Skills`
|
|
90
|
+
- **When required:** Use it when the skill adapts or imports material from an external GitHub repository
|
|
91
|
+
|
|
92
|
+
#### `source_type`
|
|
93
|
+
- **What it is:** Which README credits bucket the upstream repo belongs to
|
|
94
|
+
- **Values:** `official` | `community` | `self`
|
|
95
|
+
- **Examples:** `source_type: official`, `source_type: community`
|
|
96
|
+
- **Rule:** `self` means no external README repo credit is required
|
|
97
|
+
|
|
84
98
|
### Optional Fields
|
|
85
99
|
|
|
86
100
|
Some skills include additional metadata:
|
|
@@ -91,12 +105,22 @@ name: my-skill-name
|
|
|
91
105
|
description: "Brief description"
|
|
92
106
|
risk: safe
|
|
93
107
|
source: community
|
|
108
|
+
source_repo: owner/repo
|
|
109
|
+
source_type: community
|
|
94
110
|
author: "your-name-or-handle"
|
|
95
111
|
tags: ["react", "typescript", "testing"]
|
|
96
112
|
tools: [claude, cursor, gemini]
|
|
97
113
|
---
|
|
98
114
|
```
|
|
99
115
|
|
|
116
|
+
### Source-credit contract
|
|
117
|
+
|
|
118
|
+
- External GitHub-derived skills should declare both `source_repo` and `source_type`.
|
|
119
|
+
- `source_type: official` means the repo must appear in `README.md` under `### Official Sources`.
|
|
120
|
+
- `source_type: community` means the repo must appear in `README.md` under `### Community Contributors`.
|
|
121
|
+
- `source: self` plus `source_type: self` is the correct shape for original repository content.
|
|
122
|
+
- PR CI checks README credit coverage for changed skills, so missing or misbucketed repo credits will block the PR once `source_repo` is declared.
|
|
123
|
+
|
|
100
124
|
---
|
|
101
125
|
|
|
102
126
|
## Part 2: Content
|
|
@@ -4,6 +4,8 @@ description: "Brief one-sentence description of what this skill does (under 200
|
|
|
4
4
|
category: your-category
|
|
5
5
|
risk: safe
|
|
6
6
|
source: community
|
|
7
|
+
source_repo: owner/repo
|
|
8
|
+
source_type: community
|
|
7
9
|
date_added: "YYYY-MM-DD"
|
|
8
10
|
author: your-name-or-handle
|
|
9
11
|
tags: [tag-one, tag-two]
|
|
@@ -17,6 +19,13 @@ tools: [claude, cursor, gemini]
|
|
|
17
19
|
A brief explanation of what this skill does and why it exists.
|
|
18
20
|
2-4 sentences is perfect.
|
|
19
21
|
|
|
22
|
+
If this skill adapts material from an external GitHub repository, declare both:
|
|
23
|
+
|
|
24
|
+
- `source_repo: owner/repo`
|
|
25
|
+
- `source_type: official` or `source_type: community`
|
|
26
|
+
|
|
27
|
+
Use `source: self` and `source_type: self` when the skill is original to this repository and does not require README external-source credit.
|
|
28
|
+
|
|
20
29
|
## When to Use This Skill
|
|
21
30
|
|
|
22
31
|
- Use when you need to [scenario 1]
|
package/package.json
CHANGED