agents-config: Skill for OpenCode

.opencode/skill/senior-qa/SKILL.md

senior-qa is a skill for OpenCode from daochild/agents-config. It costs 38 tokens per session (1,291 once invoked), scanned A, original, MIT.

A set of quality-assurance guidelines for testing web, mobile, and API software. It covers test planning, automated checks, continuous integration, accessibility-related checks, and test data.

In plain words
What is it for?
Use it to plan test coverage, build automation, define quality gates, and review testing architecture. It includes unit tests for small pieces of code, integration tests between parts, and end-to-end tests of complete user flows.
Why use it?
It helps teams catch defects earlier and avoid relying only on slow or fragile full-system tests. It also provides ways to make quality checks part of pull requests and deployments.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is daochild/agents-config's own configuration. It tells OpenCode how to work on agents-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agents-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to daochild/agents-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/daochild/agents-config/main/.opencode/skill/senior-qa/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/daochild/agents-config

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for senior-qa

README.md
[![agentmods](https://agentmods.dev/badge/skills/daochild/agents-config/senior-qa.svg)](https://agentmods.dev/skills/daochild/agents-config/senior-qa)
Your own site
<a href="https://agentmods.dev/skills/daochild/agents-config/senior-qa"><img src="https://agentmods.dev/badge/skills/daochild/agents-config/senior-qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01291
Opus 5 $0.00019 $0.00646
Sonnet 5 $0.00008 $0.00258
Haiku 4.5 $0.00004 $0.00129

Measured today against content hash f1a5480ccf61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

senior-qa scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skill/senior-qa/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Senior QA Engineer Skill

You are a senior QA engineer with deep expertise in quality assurance, test automation, and continuous quality. Apply these principles when designing test strategies, reviewing test code, or establishing quality processes.

Core Principles

Quality Mindset

  • Shift left: Quality starts at requirements, not after development
  • Test pyramid: Unit (70%) → Integration (20%) → E2E (10%) — optimize for fast feedback
  • Risk-based testing: Focus effort on high-impact, high-risk areas
  • Quality gates: Automated checks at every stage (PR, merge, deploy)
  • Observability: Logs, metrics, traces — know when things break in production

Test Architecture

  • Page Object Model for UI tests — encapsulate selectors and interactions
  • API contract testing (Pact, Schemathesis) — catch breaking changes early
  • Visual regression — Chromatic/Percy for UI consistency
  • Performance budgets — Lighthouse CI, k6 thresholds in pipeline
  • Test data management — Factories, fixtures, database seeding, cleanup

Testing Layers

Unit Tests (Vitest/Jest)

// ✅ Good: Pure function, single behavior, descriptive name
describe('calculateCompoundInterest', () => {
  it('returns principal when rate is 0', () => {
    expect(calculateCompoundInterest(1000, 0, 12, 1)).toBe(1000);
  });
  
  it('compounds monthly correctly', () => {
    expect(calculateCompoundInterest(1000, 0.05, 12, 1)).toBeCloseTo(1051.16, 2);
  });
});
  • Test logic, not implementation
  • Mock external dependencies (time, network, storage)
  • Aim for >90% coverage on business logic

Integration Tests

  • Test component interactions, API contracts, database operations
  • Use testcontainers for real dependencies (Postgres, Redis)
  • Test happy path + 1-2 error paths per feature

E2E Tests (Playwright/Cypress)

  • Critical user journeys only (auth, checkout, core flows)
  • Data-driven: parameterize across browsers, viewports, user types
  • Flake-resistant: retry logic, stable selectors, wait strategies
  • Parallel execution — target <10 min total runtime

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 136 lines · 38 tokens per session scan A f1a5480ccf61

Subscribe to this mod's changes

senior-qa is a skill published in the GitHub repository daochild/agents-config (10 stars, last pushed 21d ago), licensed MIT. It adds 38 tokens to every session and 1,291 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

Other skills, from other repositories

write-tests

Write Vitest unit/integration tests OR Playwright e2e tests for an existing source file (server action, page, component, query). Reads the project's wired test framework from .workflow/meta.json#stack.test, follows the mocking patterns already present in vitest.setup.ts and any sibling test files. Use when the user…

lukedj78/dev-flow · 165 tokens

rn-write-tests

Use to write tests for an Expo + RN app: Jest + React Native Testing Library for unit/integration (components, hooks, queries, mutations) and Maestro for end-to-end flows (sign-in, navigation, forms). Sets up the testing stack on first call (jest-expo preset, RNTL, jest config) and writes a focused test next to the…

lukedj78/dev-flow · 142 tokens

test-automation

Execute Vitest and Playwright test suites with result collection and failure analysis.

a5c-ai/babysitter · 0 tokens

testing-expert

Expert-level software testing with unit tests, integration tests, E2E tests, TDD/BDD, and testing best practices. Use when the user mentions TDD, BDD, unit tests, integration tests, or end-to-end tests, or when the task involves Testing Fundamentals, Unit Testing, Integration Testing, or End-to-End Testing.

personamanagmentlayer/pcl · 73 tokens

testing-strategy

Comprehensive testing skill covering unit, integration, and e2e testing with TDD. Use when writing tests, improving coverage, or setting up testing infrastructure. Keywords: test, TDD, unit test, integration, e2e, coverage, mock, jest, vitest.

VoDaiLocz/kilo-kit-mcp · 60 tokens

senior-qa

Generates unit tests, integration tests, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analyzes Istanbul/LCOV coverage reports to surface gaps, scaffolds Playwright test files from Next.js routes, mocks API calls with MSW, creates test fixtures, and…

punkadillo/figma-code-composer · 129 tokens