Skip to content

Commit ccaa40a

Browse files
cameroncookecodex
andcommitted
chore(warden): Configure remote security skills
Use maintained wrdn-* Warden skills from getsentry/warden-skills for PII, authorization, code-execution, data-exfiltration, and GitHub Actions workflow reviews. Keep repo-specific and code-quality skills in place while replacing the older generic security and workflow review entries. Co-Authored-By: Codex <noreply@openai.com>
1 parent 9ad1718 commit ccaa40a

1 file changed

Lines changed: 58 additions & 9 deletions

File tree

warden.toml

Lines changed: 58 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# https://github.com/getsentry/warden
33
#
44
# Warden reviews code using AI-powered skills triggered by GitHub events.
5-
# Skills live in .agents/skills/ or .claude/skills/
5+
# Skills live in .agents/skills/ or .claude/skills/, or are pulled from GitHub
6+
# via the remote field.
67
#
78
# Add skills with: warden add <skill-name>
89

@@ -171,12 +172,21 @@ paths = [
171172
type = "pull_request"
172173
actions = ["opened", "synchronize", "reopened"]
173174

174-
# Remote skills from getsentry/skills
175+
# Remote security skills from getsentry/warden-skills
175176

176177
[[skills]]
177-
name = "find-bugs"
178-
remote = "getsentry/skills"
179-
paths = ["src/**/*.ts", "scripts/**/*.{js,mjs,ts}"]
178+
name = "wrdn-pii"
179+
remote = "getsentry/warden-skills"
180+
paths = ["**/*"]
181+
182+
[[skills.triggers]]
183+
type = "pull_request"
184+
actions = ["opened", "synchronize", "reopened"]
185+
186+
[[skills]]
187+
name = "wrdn-authz"
188+
remote = "getsentry/warden-skills"
189+
paths = ["src/**/*.ts"]
180190
ignorePaths = [
181191
"**/*.test.ts",
182192
"**/__tests__/**",
@@ -189,8 +199,8 @@ type = "pull_request"
189199
actions = ["opened", "synchronize", "reopened"]
190200

191201
[[skills]]
192-
name = "security-review"
193-
remote = "getsentry/skills"
202+
name = "wrdn-code-execution"
203+
remote = "getsentry/warden-skills"
194204
paths = ["src/**/*.ts", "scripts/**/*.{js,mjs,sh,ts}"]
195205
ignorePaths = [
196206
"**/*.test.ts",
@@ -204,9 +214,48 @@ type = "pull_request"
204214
actions = ["opened", "synchronize", "reopened"]
205215

206216
[[skills]]
207-
name = "gha-security-review"
217+
name = "wrdn-data-exfil"
218+
remote = "getsentry/warden-skills"
219+
paths = ["src/**/*.ts", "scripts/**/*.{js,mjs,sh,ts}"]
220+
ignorePaths = [
221+
"**/*.test.ts",
222+
"**/__tests__/**",
223+
"**/__fixtures__/**",
224+
"**/__snapshots__/**",
225+
]
226+
227+
[[skills.triggers]]
228+
type = "pull_request"
229+
actions = ["opened", "synchronize", "reopened"]
230+
231+
[[skills]]
232+
name = "wrdn-gha-workflows"
233+
remote = "getsentry/warden-skills"
234+
paths = [
235+
".github/workflows/*.yml",
236+
".github/workflows/*.yaml",
237+
".github/actions/**/*.yml",
238+
".github/actions/**/*.yaml",
239+
"action.yml",
240+
"action.yaml",
241+
]
242+
243+
[[skills.triggers]]
244+
type = "pull_request"
245+
actions = ["opened", "synchronize", "reopened"]
246+
247+
# Remote code-quality skills from getsentry/skills
248+
249+
[[skills]]
250+
name = "find-bugs"
208251
remote = "getsentry/skills"
209-
paths = [".github/workflows/**", ".github/actions/**"]
252+
paths = ["src/**/*.ts", "scripts/**/*.{js,mjs,ts}"]
253+
ignorePaths = [
254+
"**/*.test.ts",
255+
"**/__tests__/**",
256+
"**/__fixtures__/**",
257+
"**/__snapshots__/**",
258+
]
210259

211260
[[skills.triggers]]
212261
type = "pull_request"

0 commit comments

Comments
 (0)