~ / rigs / relatechdev / qa-automation-starter

relatechdev/qa-automation-starter

A starting point for end-to-end and API test automation with Playwright, TypeScript and Claude Code.

↗ GitHub ★ 0 no license updated 5d ago project Claude Code
field: unknown workflow: Testing & TDD
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.5k tokens
Moderate · median rig: 2.3k · breakdown
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)

Hooks (4)

eventmatcherruns
SessionStart*node "$CLAUDE_PROJECT_DIR/.claude/hooks/session-status.mjs"
PreToolUseRead|Edit|Write|NotebookEdit|Grep|Bashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/protect-secrets.mjs"
PreToolUseBashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/guard-commands.mjs"
PostToolUseEdit|Writenode "$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

copied ✓