You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/secure-microsoft-word-validation/SKILL.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
1
---
2
2
name: secure-microsoft-word-validation
3
-
description: Generate secure microsoft word file validation code. Enforces secure generation of code validating a microsoft word file. Invoke when writing any microsoft word file validation related code. Remote template references and external linked-image/content relationships are not blocked by this skill so that legitimate Word templates and linked images remain usable. Apply network-level controls or a dedicated content-inspection layer to cover those vectors if needed.
3
+
description: Generate secure microsoft word file validation code. Enforces secure generation of code validating a microsoft word file. Invoke when writing any microsoft word file validation related code. See "security-considerations" metadata for security limitations.
4
4
allowed-tools: Read Grep Glob
5
5
metadata:
6
6
category: security
7
+
security-considerations:
8
+
- Remote template references and external linked-image/content relationships are not blocked by this skill so that legitimate Word templates and linked images remain usable.
9
+
- Apply network-level controls or a dedicated content-inspection layer to cover those vectors if needed.
7
10
---
8
11
9
12
# Secure Microsoft Word File Validation Code Generation Rules
Copy file name to clipboardExpand all lines: .claude/skills/secure-relative-url-validation/SKILL.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,11 @@
1
1
---
2
2
name: secure-relative-url-validation
3
-
description: Generate secure relative url validation code for open redirect prevention. Intentionally strict — rejects valid but risky relative URL forms such as `../page`, `?query`, and `#anchor`. Invoke when writing any relative url validation related code.
3
+
description: Generate secure relative url validation code for open redirect prevention. Enforces secure generation of code validating a relative url. Invoke when writing any relative url validation related code. See "security-considerations" metadata for strict validation behavior.
4
4
allowed-tools: Read Grep Glob
5
5
metadata:
6
6
category: security
7
+
security-considerations:
8
+
- Intentionally strict, it rejects valid but risky relative URL forms such as "../page", "?query", and "#anchor".
Copy file name to clipboardExpand all lines: CLAUDE.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,16 @@ description: ... # what it does and when to invoke it
20
20
allowed-tools: Read Grep Glob # tools the skill may use without approval
21
21
metadata:
22
22
category: security # all skills in this repo use category: security
23
+
security-considerations: # optional, provide information about threats not covered or strictness of controls applied.
24
+
- ...
23
25
```
24
26
25
-
Do not add fields outside the agentskills.io spec at the top level. Non-standard fields belong under `metadata`.
27
+
Do not add fields outside the `agentskills.io` spec at the top level. Non-standard fields belong under `metadata`.
28
+
29
+
Mandatory or optional presence of fields in the section `metadata`:
30
+
31
+
- `security-considerations`is **optional**.
32
+
- `category`is **mandatory**.
26
33
27
34
### Body structure
28
35
@@ -34,6 +41,7 @@ Every skill must have:
34
41
- A Java BAD/GOOD code example illustrating every rule.
35
42
3. A `## 2. Output Checklist` section with one checkbox per rule.
36
43
4. A `## References` section linking to one or several of the following authoritative sources: OWASP, PORTSWIGGER, MITRE, NIST, ANSSI, SANS, MICROSOFT, ECMA.
44
+
5. A *Frontmatter section* fully valid according to the rules defined in the section `Frontmatter (valid fields only)`.
37
45
38
46
### Code snippet formatting rules
39
47
@@ -53,7 +61,7 @@ Before adding or modifying a skill, verify:
53
61
- Code snippets declare all variables they use.
54
62
- Security gaps covered: No case is missing.
55
63
- Skill follow a consistent `secure-<subject>-<action>` naming pattern.
56
-
- Code snippets follow the formatting rules above (no 80-column wrapping, no alignment padding).
64
+
- Code snippets follow the formatting rules defined into the section `Code snippet formatting rules` (no 80-column wrapping, no alignment padding).
0 commit comments