relatechdev/qa-automation-starter
A starting point for end-to-end and API test automation with Playwright, TypeScript and Claude Code.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit relatechdev/qa-automation-starter/.claude ./rig-qa-automation-starter # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit relatechdev/qa-automation-starter/.claude/skills/check-setup .claude/skills/check-setup $ npx degit relatechdev/qa-automation-starter/.claude/skills/fix-test .claude/skills/fix-test $ npx degit relatechdev/qa-automation-starter/.claude/skills/guide .claude/skills/guide $ npx degit relatechdev/qa-automation-starter/.claude/skills/new-api-test .claude/skills/new-api-test $ npx degit relatechdev/qa-automation-starter/.claude/skills/new-project .claude/skills/new-project $ npx degit relatechdev/qa-automation-starter/.claude/skills/new-web-test .claude/skills/new-web-test $ npx degit relatechdev/qa-automation-starter/.claude/skills/playwright-cli .claude/skills/playwright-cli $ npx degit relatechdev/qa-automation-starter/.claude/skills/playwright-trace .claude/skills/playwright-trace $ npx degit relatechdev/qa-automation-starter/.claude/skills/review-tests .claude/skills/review-tests $ npx degit relatechdev/qa-automation-starter/.claude/skills/triage-cases .claude/skills/triage-cases
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Read(./.env)",
"Edit(./.env)",
"Read(./.auth/**)",
"Edit(./.auth/**)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Read|Edit|Write|NotebookEdit|Grep|Bash",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/protect-secrets.mjs\""
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard-commands.mjs\""
}
]
}
]
}
} Skills (10)
check-setupfix-testguidenew-api-testnew-projectnew-web-testplaywright-cliplaywright-tracereview-teststriage-cases
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | node "$CLAUDE_PROJECT_DIR/.claude/hooks/session-status.mjs" |
| PreToolUse | Read|Edit|Write|NotebookEdit|Grep|Bash | node "$CLAUDE_PROJECT_DIR/.claude/hooks/protect-secrets.mjs" |
| PreToolUse | Bash | node "$CLAUDE_PROJECT_DIR/.claude/hooks/guard-commands.mjs" |
| PostToolUse | Edit|Write | node "$CLAUDE_PROJECT_DIR/.claude/hooks/lint-edited-file.mjs" |
Permissions
deny (4)
Read(./.env)
Edit(./.env)
Read(./.auth/**)
Edit(./.auth/**)
ask (0)
—
allow (17)
Bash(npm run *)
Bash(npm test *)
Bash(npm ci)
Bash(npx playwright test *)
Bash(npx playwright cli *)
Bash(npx playwright trace *)
Bash(npx tsc *)
Bash(npx eslint *)
Bash(npx prettier *)
Bash(node scripts/*)
Bash(git status *)
Bash(git diff *)
Bash(git log *)
Bash(git show *)
Bash(git branch *)
Bash(git switch *)
Bash(git fetch *)
Similar rigs
coolbress/plinth
A harness template for running a software project through an AI agent, for beginner engineers and non-engineers. Gated where a check can, guided where it can't: a Claude Code plugin, a project template and reusable CI.
Pragmatist 3.2k tok · · Q22
caihongxu/palmier
Run AI agents on your computer and dispatch tasks from anywhere, approve actions on the go, and let agents tap into phone capabilities like notifications, SMS, contacts, and calendar.
Minimalist 293 tok · · Q0
sequencestream/c3
code creative center
Minimalist 1.5k tok · · Q3
karolszwedo/most-likely-to
A live party game for friends on a call: everyone votes anonymously on "Who's most likely to…?" from their phone, and the result is revealed after the last vote.
Pragmatist 3.2k tok · · Q29