/add-seed-skills
Use when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g. "add N new skills", "create a seed skill for X", "seed the database", "the skill page is empty", "skill 404s on the site".
$ npx -y skills add PramodDutta/qaskills --skill add-seed-skills --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/add-seed-skills
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g. "add N new skills", "create a seed skill for X", "seed the database", "the skill page is empty", "skill 404s on the site".
SKILL.md
add-seed-skills.SKILL.mdname: add-seed-skills
description: Use when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g. "add N new skills", "create a seed skill for X", "seed the database", "the skill page is empty", "skill 404s on the site".
Add Seed Skills
Pipeline: `seed-skills/<slug>/SKILL.md` -> validator -> `seed.ts` upsert into the PROD database -> live catalog. These are PRODUCT catalog skills (Zod schema with testingTypes/languages), not Claude Code workflow skills; never confuse the two formats.
Format contract (parser reality)
`packages/web/src/db/seed.ts` parses frontmatter with regex, not a YAML library:
- Every value on ONE line; a wrapped description parses as truncated garbage
- Arrays INLINE ONLY: `tags: [a, b, c]`. YAML block lists (`- item`) parse as EMPTY arrays
- Zod limits: name 1-100 chars, description 10-500 chars, version semver, `testingTypes` >= 1, `languages` >= 1
- Allowed values come from `packages/shared/src/constants/` (testing types, frameworks, languages, domains, agent slugs); check there before inventing one
Template (model the body on `seed-skills/playwright-e2e/SKILL.md`):
---
name: Human Readable Skill Name
description: One line, 10-500 chars, what the skill teaches an agent to do.
version: 1.0.0
author: thetestingacademy
license: MIT
tags: [tag-one, tag-two]
testingTypes: [e2e]
frameworks: [playwright]
languages: [typescript]
domains: [web]
agents: [claude-code, cursor, github-copilot, windsurf, cline]
---
# Skill Title
Real instructions: principles, project structure, code samples, checklists.
This body becomes fullDescription: it renders on the skill page and is what
the CLI downloads. Aim for 100+ lines of substance; an empty or thin body
is a broken product page.
Steps
1. Dedup the slug (directory name = slug)
ls /Users/promode/qaskills/seed-skills | grep -i "<core-term>"
curl -s -o /dev/null -w '%{http_code}\n' "https://qaskills.sh/api/skills/<slug>" # want 4042. Write `seed-skills/<slug>/SKILL.md`
Frontmatter per the contract above, then the full body.
3. Validate every file
cd /Users/promode/qaskills
pnpm --filter @qaskills/shared build && pnpm --filter @qaskills/skill-validator build
for d in <slug-one> <slug-two>; do
node packages/skill-validator/dist/cli.js "seed-skills/$d/SKILL.md" || echo "INVALID: $d"
done
Also eyeball that arrays are inline and the description is one line (the validator uses the real YAML parser and can pass files the seed regex still mangles).
4. Seed PRODUCTION (the dangerous step)
**Never use the `DATABASE_URL` from `.env.local`.** It points at a stale non-prod database; seeding it changes nothing on the live site. This mistake has burned a full session before.
1. Baseline: `curl -s 'https://qaskills.sh/api/skills?limit=1'` and record the top-level `total`. 2. Get the prod URL: run `vercel env pull .env.vercel-prod --environment=production` yourself (worked from the agent as of 2026-07-07; the file is gitignored). If the pull is blocked, ask the user to run that exact command and wait. 3. Seed with the explicit URL (strip any surrounding quotes from the value):
cd /Users/promode/qaskills
export DATABASE_URL='<prod-url-without-quotes>'
pnpm --filter @qaskills/web db:seed
`seed.ts` is an upsert (`onConflictDoUpdate` on skills): safe to re-run, it will not delete the live rows that exist only in prod. Never substitute custom SQL, and never run UPDATE/DELETE against prod without explicit user approval.
5. Verify live (the only proof that counts)
curl -s 'https://qaskills.sh/api/skills?limit=1' # total must equal baseline + N
curl -s "https://qaskills.sh/api/skills/<slug>/content" | head -20 # frontmatter + body, not empty
curl -s -o /dev/null -w '%{http_code}\n' "https://qaskills.sh/skills/thetestingacademy/<slug>" # 200 (adjust author segment if different)`total` unchanged, or slug 404s => you seeded the wrong database. STOP. Do not retry blindly; re-verify which URL was exported and report the mismatch.
6. Commit
git -C /Users/promode/qaskills add seed-skills/<slug-one> seed-skills/<slug-two>
git -C /Users/promode/qaskills commit -m "feat(skills): add <N> <theme> seed skills"
git -C /Users/promode/qaskills push origin main
No web redeploy is needed for catalog changes (pages read the DB), but commit so the repo stays the source of truth.
Failure modes
| Symptom | Cause | Fix | |---|---|---| | Skill live but tags/types empty | Block-list arrays or multi-line values in frontmatter | Convert to inline arrays, single lines, re-seed | | Skill page renders only the short description | Missing/empty markdown body | Write the body, re-seed (upsert refreshes fullDescription) | | Live `total` did not grow | Seeded the stale `.env.local` DB | Step 4.2, re-seed with the real prod URL | | Validator passes but seed drops fields | Validator parses real YAML, seed.ts regex does not | Obey the format contract, not just the validator | | Connection error on seed | Quoted URL or Node 24 | Strip quotes; use Node 20 |
Red flags
- Exporting DATABASE_URL from `.env.local` "because it is right there"
- Skipping the baseline/after `total` comparison
- Frontmatter-only SKILL.md ("body later")
- Writing DELETE/UPDATE SQL to "fix" prod data
Read more
name: add-seed-skills description: Use when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g. "add N new skills", "create a seed skill for X", "seed the database", "the skill page is empty", "skill 404s on the site".
Add Seed Skills
Pipeline: `seed-skills/<slug>/SKILL.md` -> validator -> `seed.ts` upsert into the PROD database -> live catalog. These are PRODUCT catalog skills (Zod schema with testingTypes/languages), not Claude Code workflow skills; never confuse the two formats.
Format contract (parser reality)
`packages/web/src/db/seed.ts` parses frontmatter with regex, not a YAML library:
- Every value on ONE line; a wrapped description parses as truncated garbage
- Arrays INLINE ONLY: `tags: [a, b, c]`. YAML block lists (`- item`) parse as EMPTY arrays
- Zod limits: name 1-100 chars, description 10-500 chars, version semver, `testingTypes` >= 1, `languages` >= 1
- Allowed values come from `packages/shared/src/constants/` (testing types, frameworks, languages, domains, agent slugs); check there before inventing one
Template (model the body on `seed-skills/playwright-e2e/SKILL.md`):
--- name: Human Readable Skill Name description: One line, 10-500 chars, what the skill teaches an agent to do. version: 1.0.0 author: thetestingacademy license: MIT tags: [tag-one, tag-two] testingTypes: [e2e] frameworks: [playwright] languages: [typescript] domains: [web] agents: [claude-code, cursor, github-copilot, windsurf, cline] --- # Skill Title Real instructions: principles, project structure, code samples, checklists. This body becomes fullDescription: it renders on the skill page and is what the CLI downloads. Aim for 100+ lines of substance; an empty or thin body is a broken product page.
Steps
1. Dedup the slug (directory name = slug)
ls /Users/promode/qaskills/seed-skills | grep -i "<core-term>"
curl -s -o /dev/null -w '%{http_code}\n' "https://qaskills.sh/api/skills/<slug>" # want 4042. Write `seed-skills/<slug>/SKILL.md`
Frontmatter per the contract above, then the full body.
3. Validate every file
cd /Users/promode/qaskills pnpm --filter @qaskills/shared build && pnpm --filter @qaskills/skill-validator build for d in <slug-one> <slug-two>; do node packages/skill-validator/dist/cli.js "seed-skills/$d/SKILL.md" || echo "INVALID: $d" done
Also eyeball that arrays are inline and the description is one line (the validator uses the real YAML parser and can pass files the seed regex still mangles).
4. Seed PRODUCTION (the dangerous step)
**Never use the `DATABASE_URL` from `.env.local`.** It points at a stale non-prod database; seeding it changes nothing on the live site. This mistake has burned a full session before.
1. Baseline: `curl -s 'https://qaskills.sh/api/skills?limit=1'` and record the top-level `total`. 2. Get the prod URL: run `vercel env pull .env.vercel-prod --environment=production` yourself (worked from the agent as of 2026-07-07; the file is gitignored). If the pull is blocked, ask the user to run that exact command and wait. 3. Seed with the explicit URL (strip any surrounding quotes from the value):
cd /Users/promode/qaskills export DATABASE_URL='<prod-url-without-quotes>' pnpm --filter @qaskills/web db:seed
`seed.ts` is an upsert (`onConflictDoUpdate` on skills): safe to re-run, it will not delete the live rows that exist only in prod. Never substitute custom SQL, and never run UPDATE/DELETE against prod without explicit user approval.
5. Verify live (the only proof that counts)
curl -s 'https://qaskills.sh/api/skills?limit=1' # total must equal baseline + N
curl -s "https://qaskills.sh/api/skills/<slug>/content" | head -20 # frontmatter + body, not empty
curl -s -o /dev/null -w '%{http_code}\n' "https://qaskills.sh/skills/thetestingacademy/<slug>" # 200 (adjust author segment if different)`total` unchanged, or slug 404s => you seeded the wrong database. STOP. Do not retry blindly; re-verify which URL was exported and report the mismatch.
6. Commit
git -C /Users/promode/qaskills add seed-skills/<slug-one> seed-skills/<slug-two> git -C /Users/promode/qaskills commit -m "feat(skills): add <N> <theme> seed skills" git -C /Users/promode/qaskills push origin main
No web redeploy is needed for catalog changes (pages read the DB), but commit so the repo stays the source of truth.
Failure modes
| Symptom | Cause | Fix | |---|---|---| | Skill live but tags/types empty | Block-list arrays or multi-line values in frontmatter | Convert to inline arrays, single lines, re-seed | | Skill page renders only the short description | Missing/empty markdown body | Write the body, re-seed (upsert refreshes fullDescription) | | Live `total` did not grow | Seeded the stale `.env.local` DB | Step 4.2, re-seed with the real prod URL | | Validator passes but seed drops fields | Validator parses real YAML, seed.ts regex does not | Obey the format contract, not just the validator | | Connection error on seed | Quoted URL or Node 24 | Strip quotes; use Node 20 |
Red flags
- Exporting DATABASE_URL from `.env.local` "because it is right there"
- Skipping the baseline/after `total` comparison
- Frontmatter-only SKILL.md ("body later")
- Writing DELETE/UPDATE SQL to "fix" prod data
QA Skills Directory QA Skills is a curated directory of testing-specific skills for AI coding agents (Claude Code, Cursor, Copilot, etc.).
Repo: PramodDutta/qaskills
Other skills on qaskills.
- /publish-seo-batch
Use when publishing SEO blog articles to qaskills.sh, e.g. "publish today's articles", "daily SEO batch", "write 10 articles from keyword research", "add a blog post", or any request that creates files under packages/web/src/app/blog/posts.
Open skill - /ship-prod
Use when deploying qaskills.sh to production, verifying whether a deploy landed, or when a push to main did not show up on the live site, e.g. "deploy", "ship it", "push this live", "is prod updated?", "the site still shows the old version".
Open skill - /api-testing-rest
Comprehensive RESTful API testing patterns covering HTTP methods, status codes, request/response validation, authentication, error handling, and contract testing.
Open skill - /claude-code-qa
The complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces coverage, and wires up CI. Claude Code QA testing done right.
Open skill - /cypress-e2e
End-to-end testing skill using Cypress for web applications, covering custom commands, network intercepts, fixtures, cy.session, and component testing patterns.
Open skill - /e2e-testing-claude-code
Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypress flows with stable locators, the Page Object Model, fixtures, reused auth state, network mocking, and flake-free CI. Claude Code E2E testing, done right.
Open skill

