Logo: Qa Project Context

Qa Project Context

Communautéit
petrkindlmann
qa-project-context

Create and fill .agents/qa-project-context.md with the project's tech stack, test frameworks, CI/CD pipeline, environments, quality goals, risk areas, team structure, and conventions. This is the one file every other QA skill reads first, so they skip redundant discovery and give context-aware advice. Use when: "set up QA context," "configure testing," "initialize project," first use of any QA skill. Not for: bootstrapping a brand-new project's QA end-to-end — use qa-start (which calls this skill as its first step). Related: qa-start, risk-based-testing, test-strategy, qa-metrics, playwright-automation.

Iwwersiicht

Editeurpetrkindlmann
Repositoryqa-skills
Skill-Nummqa-project-context
Stären
205
Forks
35
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    petrkindlmann huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Qa Project Context an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/petrkindlmann/qa-skills/tree/main/skills/qa-project-context
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/petrkindlmann/qa-skills.git /tmp/qa-skills
mkdir -p .claude/skills
cp -r /tmp/qa-skills/skills/qa-project-context .claude/skills/qa-project-context
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Qa Project Context an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Qa Project Context automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Qa Project Context net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Downstream skills consume specific sections: Risk Areas feeds risk-based-testing and test-strategy; Conventions → Selectors feeds playwright-automation and test-reliability; Quality Goals feeds qa-metrics; Tech Stack feeds every automation skill. Fill those sections well and the rest of the library gets sharper for free.

Discovery Questions

First, check whether .agents/qa-project-context.md already exists — if it does, read it and use the existing sections as context. Check their provenance and whether relevant config has changed. Scan the repo for config files (see Codebase Detection), record observed values with their source, and ask only about gaps or conflicts that affect the work. Walk the remaining questions section by section, never all at once.

Product

  • What is the product called, and what does it do in one sentence?
  • What type is it? (SaaS, e-commerce, media, mobile app, API service, internal tool) — changes which flows matter.
  • What are the production, staging, and development URLs?
  • What are the 5–10 most critical user journeys? ("If this breaks, we get paged at 2am.") This list drives every other skill's coverage priorities.

Tech Stack

  • Frontend framework and language? Backend framework, language, and API style (REST, GraphQL, tRPC, gRPC)?
  • Database, cache layer, ORM? Hosting, CDN, monitoring?
  • Monorepo? If yes, list each app separately (see Monorepo note) — sharding and detection differ.

Test Stack

  • E2E tests today? Framework, config location, test directory. Same for unit, API, visual, performance.
  • If a framework is detected, record its name, config path, and resolved version from the lockfile or installed package. Label a manifest constraint such as ^1.62.0 as a range, not an installed version. Config presence does not establish that tests can execute.
  • Zero test infrastructure? That's a valid answer; record "None selected yet" and note a default (see Core Principle 3).

CI/CD

  • Platform? When do tests run (every push, PR only, nightly, manual)? Sharding/parallelism?
  • What blocks a deploy, and what artifacts are saved (screenshots, reports, coverage)?

Environments

  • How many environments, with URLs? How close is staging to production (infra, data shape, third-party integrations)?
  • Mock services or real APIs in development? — environment parity drives test reliability.

Quality Goals

  • Coverage targets today? Flake tolerance? Suite-duration budgets? Metrics tracked or wanted?
  • No targets yet? Suggest realistic ones by maturity (see Quality Goals section).

Risk Areas

  • Which parts cause the most production incidents? Which integrations are flakiest (payment, email, third-party APIs)?
  • Where is churn high and coverage low? Score everything with Impact × Likelihood (see Risk Areas section).

Team

  • How many QA engineers, and their specializations? Developer-to-QA ratio? Methodology (Scrum, Kanban, Shape Up)?
  • When does QA engage (shift-left during spec, or after dev)? — sets the automation ownership model.

Conventions

  • Test file naming pattern? Co-located or separate? Branching strategy and PR requirements?
  • Selector strategy for E2E? Test-data strategy (factories, fixtures, seeded DB, API-per-test)?

Core Principles

  1. One file is the source of truth for the whole library. Every skill reads .agents/qa-project-context.md first. Duplicating its facts into other docs guarantees drift — keep stack, goals, and risks here and let other skills reference them.

  2. Capture the real state, not the aspiration. If there are no E2E tests, write "None selected yet," not a wish. Downstream skills route on what's true: a missing framework triggers a setup suggestion; a fake one sends them building on sand.

  3. Detect before you ask; recommend a default only when there's nothing to detect. Read package.json, lockfiles, and config files first and cite what you find. Tool recommendations belong to the specialized skills — the one exception is a project with zero test infrastructure, where you note Playwright (E2E) and Vitest (unit) as defaults in the Test Stack and hand off to playwright-automation / unit-testing. This is the single carve-out to the "no recommendations" rule; everywhere else, just record.

  4. Risk Areas needs evidence. It is input to risk-based-testing and test-strategy. Capture known risks and label proposed risks or scores as assumptions. If incident history, likelihood, or business impact is unavailable, record that gap. Do not invent three risks or a precise score solely to fill a table.

Codebase Detection

Scan for these before asking about the stack. Cite detected values and their files; when a test config is found, record the framework and whether its version and execution are known.

FileIndicates
package.jsonNode.js project — check dependencies for the framework
next.config.*Next.js
nuxt.config.*Nuxt/Vue
angular.jsonAngular
astro.config.*Astro
react-router.config.tsReact Router 7 / Remix
requirements.txt / pyproject.tomlPython project
go.modGo project
playwright.config.*Playwright is set up → populate Test Stack E2E
cypress.config.*Cypress is set up → populate Test Stack E2E
vitest.config.* / jest.config.*Unit test framework → populate Test Stack Unit
.github/workflows/GitHub Actions CI
.gitlab-ci.ymlGitLab CI
JenkinsfileJenkins
docker-compose.*Docker-based environments
wrangler.*Cloudflare Workers
vercel.jsonVercel hosting
bun.lock / bun.lockbBun runtime
pnpm-workspace.yaml / turbo.json / nx.jsonMonorepo — handle per the Monorepo note
src-tauri/tauri.conf.jsonTauri desktop app
.claude/Project uses Claude Code skills/agents
.claude-plugin/plugin.jsonProject ships a Claude Code plugin
AGENTS.mdCodex / multi-agent workflow conventions

Workflow: Creating the Context File

  1. Check for existing context. Look for .agents/qa-project-context.md in the project root.
  2. If absent: create .agents/ if needed, scaffold the section structure, run the Discovery Questions starting with Product, and write the file once filled.
  3. If present with placeholders: read it, list which sections are complete vs. unfilled, ask only about the unfilled sections, then update — preserve completed sections untouched.
  4. If present and complete: summarize the current context, ask what changed (new tools, team changes, shifted goals), and update only the deltas.
  5. After completion: confirm the file path, run Verification (below), and suggest the next skill from the context (no E2E → playwright-automation; no strategy → test-strategy; no unit tests → unit-testing).

For two full filled-in files (SaaS and a multi-site publisher) plus the monorepo layout, see references/examples.md. One short illustrative snippet:

markdown
## Test Stack
### E2E / Integration
- **Framework:** Playwright 1.60
- **Config Location:** playwright.config.ts
- **Test Directory:** tests/e2e/
### Unit / Component
- **Framework:** None selected yet — Vitest recommended (see unit-testing)

Section Guidance

What makes a good entry in each section. The blank template ships at .agents/qa-project-context.md in the qaskills repo.

Product. Key user flows must be specific and testable: "Buyer searches products, adds to cart, checks out with Stripe, receives confirmation email" — not "user uses the app." This list is what every test skill uses to prioritize. Aim for 5–10.

Tech Stack. Record frontend, backend, database, hosting separately. Pin versions only when they change the testing approach (App Router vs. Pages Router differ materially). Don't copy a version just because an example shows one — read it from package.json.

Test Stack. For each tool: framework name + version, config location, test directory. No infrastructure yet is valid — write "None selected yet" and the recommended default (Principle 3).

Monorepo. List each frontend app as its own Tech Stack and Test Stack entry; keep the shared API/backend as one entry. Shard E2E per app (a change in apps/admin shouldn't run apps/storefront E2E), and note in CI/CD which path filters gate which app's suite. Detection hint: turbo.json / pnpm-workspace.yaml / nx.json. See references/examples.md.

CI/CD. Answer what other skills need: what blocks a deploy, how fast feedback is, what evidence is preserved.

Environments. Note how staging diverges from production — a different DB engine in staging means staging-green tests can still fail in prod.

Quality Goals. Concrete and measurable only. Pick starting targets by maturity:

MaturityUnit coverageE2EFlakinessSuite duration
Early-stage startup60% on business logicTop 5 critical flows<2%Unit <3 min, E2E <15 min
Growth-stage80%All critical paths<2%Unit <3 min, E2E <15 min
Enterprise90%+Comprehensive + perf budgets<1%Unit <3 min, E2E <15 min

Write them as numbers: "80% line coverage measured by Istanbul," "flake rate <2% over a rolling 30-day window," "full E2E under 15 min with 4 shards." Never "we want great quality."

Risk Areas. Use the table — columns Area, Risk Level, Business Impact, Notes — and score with Impact × Likelihood:

  • Critical (test first): high impact + high likelihood (payment flow with known edge cases).
  • Important: high impact + low likelihood (auth — catastrophic if broken, rarely changes).
  • Monitor: low impact + high likelihood (notification formatting — breaks often, low severity).
  • Backlog: low impact + low likelihood (admin settings — stable, rarely used).

At least 3 entries, never vague ("everything breaks").

Team. Record actual headcount and the dev:QA ratio — it sets the automation ownership model:

Dev:QA ratioOwnership model
Solo / zero QA (effectively infinite)Devs own all tests. No manual regression suite; lean on low-barrier automation (Playwright + Vitest) and CI gates. QA "role" = strategy + critical-path E2E, done by the dev.
High (8:1+)Developers write tests; QA focuses on strategy, critical-path automation, exploratory testing.
Balanced (4:1)QA owns E2E, devs own unit, integration shared.
QA-heavy (<3:1)Dedicated automation engineers, comprehensive regression suites, scheduled exploratory cadence.

Conventions. Selector strategy especially — playwright-automation and test-reliability read it to generate matching selectors. Default to data-testid for stability (data-testid="invoice-create-button", kebab-case). If the team prefers semantic/ARIA selectors for accessibility-aware testing, record concrete tokens — role="button", role="heading", getByRole('link', { name: ... }) — and the tradeoff: ARIA roles double as a11y assertions and survive markup churn, but are less stable than data-testid when copy or roles change, so pin a name/level to keep them unambiguous.

Anti-Patterns

1. Asking all questions at once

Dumping 30 questions is overwhelming and gets shallow answers. Walk section by section, Product first.

2. Leaving [brackets] in the final file

If the user confirms there is no framework, record "None selected yet." If no evidence is available, record "Unknown; not inspected" or the specific missing input. Those states are different. Ordinary Markdown links, task checkboxes, and selectors with brackets are valid content; square brackets alone do not identify a template placeholder.

3. Inventing information

Detect the stack from manifests, lockfiles, and config files, citing the source. Don't guess a database, hosting provider, installed version, team size, or agreed quality target.

4. Skipping Risk Areas

Keep the section even if evidence is missing. Mark candidate risks as proposals and unknown scores as unknown; do not present a hypothetical incident as project history.

5. Recommending tools beyond the zero-infra default

This skill records current state; tool selection belongs to playwright-automation, unit-testing, and the other specialized skills. The only recommendation you make here is the Playwright + Vitest default when there is no test infrastructure at all (Principle 3).

Verification

Read the produced file and compare each section with its sources. A grep for square brackets rejects valid Markdown links and selectors, while counting nine arbitrary headings can accept the wrong sections. Neither proves completeness or factual accuracy.

Check the nine named sections below outside code fences, each with substantive content or an explicit unknown. Compare template fields with their replacements, preserving legitimate bracket syntax. Check framework versions against lockfiles, separate current state from recommendations, and retain provenance for detected values. Report unresolved gaps and the next useful action; a missing optional detail does not block every downstream skill.

Done When

  • .agents/qa-project-context.md exists and its template fields contain evidenced values or explicit unknowns. Valid Markdown links and bracketed selectors remain intact.
  • All nine sections are present: Product, Tech Stack, Test Stack, CI/CD, Environments, Quality Goals, Risk Areas, Team, Conventions.
  • Product lists the known, specific user flows; missing flow evidence is called out.
  • Test Stack distinguishes configured frameworks, manifest ranges, resolved versions, observed execution, and explicitly absent or unknown tooling.
  • Risk Areas separates evidenced risks from proposals and identifies unknown scores.
  • Quality Goals distinguishes agreed numeric targets from proposed or unknown targets.
  • Team contains supplied headcount and ratio, or explicitly says they are unknown.

Related Skills

  • qa-start — bootstraps QA on a brand-new project end-to-end and calls this skill as its first step. Use qa-start when no QA exists yet; use this skill directly to (re)fill context.
  • risk-based-testing — turns the Risk Areas section into a prioritized risk matrix. Run it after this skill when the question is "where do we focus testing?"
  • test-strategy — consumes Risk Areas, Quality Goals, and Team to set multi-quarter direction.
  • qa-metrics — tracks the Quality Goals defined here; both reference the same targets.
  • playwright-automation / unit-testing — set up E2E / unit frameworks after the Test Stack section is filled; they read Conventions for selector and naming strategy.
  • ci-cd-integration — wires the pipeline described in the CI/CD section.

Reference Files (in references/)

  • examples.md — two complete filled-in context files (SaaS and a multi-site publisher) plus the monorepo Tech/Test Stack layout.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Qa Project Context?

Create and fill .agents/qa-project-context.md with the project's tech stack, test frameworks, CI/CD pipeline, environments, quality goals, risk areas, team structure, and conventions. This is the one file every other QA skill reads first, so they skip redundant discovery and give context-aware advice. Use when: "set up QA context," "configure testing," "initialize project," first use of any QA skill. Not for: bootstrapping a brand-new project's QA end-to-end — use qa-start (which calls this skill as its first step). Related: qa-start, risk-based-testing, test-strategy, qa-metrics, playwrigh...

Firwat Qa Project Context op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Qa Project Context besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Qa Project Context an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/petrkindlmann/qa-skills/tree/main/skills/qa-project-context an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Qa Project Context benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Qa Project Context benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Qa Project Context domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Qa Project Context gratis?

Jo. petrkindlmann huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇