Agent skill

Risk Based Testing

by proffesor-for-testing in proffesor-for-testing/agentic-qe

Focus testing effort on highest-risk areas using risk assessment and prioritization.

MITAuto-check passedTesting & QA

Install Risk Based Testing

skills CLI
$ npx skills add proffesor-for-testing/agentic-qe --skill risk-based-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install proffesor-for-testing/agentic-qe risk-based-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/proffesor-for-testing/agentic-qe.git skills-src && mkdir -p .claude/skills && cp -r skills-src/assets/skills/risk-based-testing .claude/skills/risk-based-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
risk-based-testing
GitHub stars
494
Token cost
~1.2k tokens
SKILL.md length
183 words
Files
4 (incl. scripts)
Skills in repo
111
Repo updated
First seen
Licence
MIT

At a glance

Focus testing effort on highest-risk areas using risk assessment and prioritization.

  • Works in 4 steps: IDENTIFY risks per component (use 1-5… → PRIORITIZE: Critical (20+) → High… → ALLOCATE effort: 60% critical, 25% high,… → …
  • Planning test strategy
  • SKILL.md covers Quick Reference Card, Apply Test Depth by Risk, ML-Enhanced Risk Analysis and Agent Coordination Hints, plus 3 more sections
  • Allocating testing resources

What it does

Risk Based Testing is an agent skill from proffesor-for-testing/agentic-qe. Focus testing effort on highest-risk areas using risk assessment and prioritization. Use when planning test strategy, allocating testing resources, or making coverage decisions.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `evals/risk-based-testing.yaml`, `schemas/output.json` and `scripts/validate-config.json`).

It sits in Testing & QA, covering Test strategy and Prioritization frameworks. The repository describes itself as: Agentic QE Fleet is an open-source AI-powered QA/QE platform designed for use with Coding Agents (works best with Claude Code) featuring specialized agents and skills to support… The licence is MIT.

When your agent uses it

  • Planning test strategy
  • Allocating testing resources
  • Making coverage decisions

Example prompts

  • “/risk-based-testing”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. IDENTIFY risks per component (use 1-5 scale for probability and impact)
  2. PRIORITIZE: Critical (20+) → High (12-19) → Medium (6-11) → Low (1-5)
  3. ALLOCATE effort: 60% critical, 25% high, 10% medium, 5% low
  4. REASSESS continuously: Production incidents raise risk; stable code lowers it

What it can do on your machine

Read from SKILL.md and the folder at commit 829d030. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Risk Based Testing loads about 1.2k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 183 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from proffesor-for-testing/agentic-qe at commit 829d030, republished under its MIT licence (© proffesor-for-testing). 183 words, ~1,185 tokens.

Download SKILL.mdSave it as .claude/skills/risk-based-testing/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
risk-based-testing
description
Focus testing effort on highest-risk areas using risk assessment and prioritization. Use when planning test strategy, allocating testing resources, or making coverage decisions.
category
testing-methodologies
priority
high
tokenEstimate
1000
agents
qe-regression-risk-analyzer, qe-test-generator, qe-production-intelligence, qe-quality-gate
implementation_status
optimized
optimization_version
1
last_optimized
2025-12-02
quick_reference_card
true
tags
risk, prioritization, test-planning, coverage, impact-analysis
trust_tier
3

Risk-Based Testing

<default_to_action> When planning tests or allocating testing resources:

  1. IDENTIFY risks per component (use 1-5 scale for probability and impact)
  2. PRIORITIZE: Critical (20+) → High (12-19) → Medium (6-11) → Low (1-5)
  3. ALLOCATE effort: 60% critical, 25% high, 10% medium, 5% low
  4. REASSESS continuously: Production incidents raise risk; stable code lowers it </default_to_action>

Quick Reference Card

When to Use
  • Planning sprint/release test strategy
  • Deciding what to automate first
  • Allocating limited testing time
  • Justifying test coverage decisions
Effort Allocation by Risk Score
ScorePriorityEffortAction
20-25Critical60%Comprehensive testing, multiple techniques
12-19High25%Thorough testing, automation priority
6-11Medium10%Standard testing, basic automation
1-5Low5%Smoke test, exploratory only

Apply Test Depth by Risk

typescript
await Task("Risk-Based Test Generation", {
  critical: {
    features: ['checkout', 'payment'],
    depth: 'comprehensive',
    techniques: ['unit', 'integration', 'e2e', 'performance', 'security']
  },
  high: {
    features: ['auth', 'user-profile'],
    depth: 'thorough',
    techniques: ['unit', 'integration', 'e2e']
  },
  medium: {
    features: ['search', 'notifications'],
    depth: 'standard',
    techniques: ['unit', 'integration']
  },
  low: {
    features: ['admin-panel', 'settings'],
    depth: 'smoke',
    techniques: ['smoke-tests']
  }
}, "qe-test-generator");
Step 3: Reassess Dynamically
typescript
// Production incident increases risk
await Task("Update Risk Score", {
  feature: 'search',
  event: 'production-incident',
  previousRisk: 9,
  newProbability: 5,  // Increased due to incident
  newRisk: 15         // Now HIGH priority
}, "qe-regression-risk-analyzer");

ML-Enhanced Risk Analysis

typescript
// Agent predicts risk using historical data
const riskAnalysis = await Task("ML Risk Analysis", {
  codeChanges: changedFiles,
  historicalBugs: bugDatabase,
  prediction: {
    model: 'gradient-boosting',
    factors: ['complexity', 'change-frequency', 'author-experience', 'file-age']
  }
}, "qe-regression-risk-analyzer");

// Output: 95% accuracy risk prediction per file

Agent Coordination Hints

Memory Namespace
aqe/risk-based/
├── risk-scores/*        - Current risk assessments
├── historical-bugs/*    - Bug patterns by area
├── production-data/*    - Incident data for risk
└── coverage-map/*       - Test depth by risk level
Fleet Coordination
typescript
const riskFleet = await FleetManager.coordinate({
  strategy: 'risk-based-testing',
  agents: [
    'qe-regression-risk-analyzer',  // Risk scoring
    'qe-test-generator',            // Risk-appropriate tests
    'qe-production-intelligence',   // Production feedback
    'qe-quality-gate'               // Risk-based gates
  ],
  topology: 'sequential'
});

Integration with CI/CD

yaml
# Risk-based test selection in pipeline
- name: Risk Analysis
  run: aqe risk-analyze --changes ${{ github.event.pull_request.files }}

- name: Run Critical Tests
  if: risk.critical > 0
  run: npm run test:critical

- name: Run High Tests
  if: risk.high > 0
  run: npm run test:high

- name: Skip Low Risk
  if: risk.low_only
  run: npm run test:smoke


Remember

With Agents: Agents calculate risk using ML on historical data, select risk-appropriate tests, and adjust scores from production feedback. Use agents to maintain dynamic risk profiles at scale.

© proffesor-for-testing, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in assets/skills/risk-based-testing of proffesor-for-testing/agentic-qe.

  • SKILL.md
  • evals/risk-based-testing.yaml
  • schemas/output.json
  • scripts/validate-config.json

Open the folder on GitHubat commit 829d030

Compare with similar skills

Risk Based Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Risk Based Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Risk Based Testing this skillproffesor-for-testing/agentic-qe494—~1.2kAutomated safety check: PassMIT
Test Planningpetrkindlmann/qa-skills163—~4.2kAutomated safety check: PassMIT
Test Specgustavscirulis/snapgrid1171 repos~12kAutomated safety check: NotesCustom licence
Testing OpenLogi UIAprilNEA/OpenLogi23k—~1.1kAutomated safety check: PassApache-2.0
Testing Hashqlhashintel/hash1.7k—~1.9kAutomated safety check: PassAGPL-3.0
Dynamo Unit TestingDynamoDS/Dynamo2k—~622Automated safety check: PassApache-2.0

Similar skills

  • Test Planning

    petrkindlmann/qa-skills

    Build a single sprint or release test plan. An agent skill from petrkindlmann/qa-skills.

    163 GitHub stars~4.2k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Test Spec

    gustavscirulis/snapgrid

    Generates comprehensive test specification with unit tests, UI tests, accessibility testing, and beta testing plan.

    117 GitHub starsUsed in 1 repo~12k tokens
    Testing & QAAuto-check: notes
  • Testing OpenLogi UI

    AprilNEA/OpenLogi

    Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.

    23k GitHub stars~1.1k tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Testing Hashql

    hashintel/hash

    HashQL testing strategies including compiletest (UI tests), unit tests, and snapshot tests.

    1.7k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Dynamo Unit Testing

    DynamoDS/Dynamo

    Write comprehensive NUnit tests for the Dynamo codebase following Dynamo testing patterns, conventions, and architectural constraints.

    2k GitHub stars~622 tokensUpdated today
    Testing & QAAuto-check passed
  • Designing Tests

    CloudAI-X/opencode-workflow

    Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.

    275 GitHub stars~2.9k tokensUpdated 9 mo ago
    Testing & QAAuto-check passed

More from proffesor-for-testing/agentic-qe

All 111 skills in this repo
  • Contract Testing

    proffesor-for-testing/agentic-qe

    Consumer-driven contract testing for microservices using Pact, schema validation, API versioning, and backward compatibility testing.

    494 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check passed
  • Mutation Testing

    proffesor-for-testing/agentic-qe

    Test quality validation through mutation testing, assessing test suite effectiveness by introducing code mutations and measuring kill rate.

    494 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Performance Testing

    proffesor-for-testing/agentic-qe

    Profiles application performance under load using k6, Artillery, or JMeter to measure latency, throughput, and error rates.

    494 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Code Review Quality

    proffesor-for-testing/agentic-qe

    Conduct context-driven code reviews focusing on quality, testability, and maintainability.

    494 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Security Testing

    proffesor-for-testing/agentic-qe

    Scans for security vulnerabilities including XSS, SQL injection, CSRF, and auth flaws using OWASP Top 10 methodology.

    494 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check: notes
  • Database Testing

    proffesor-for-testing/agentic-qe

    Database schema validation, data integrity testing, migration testing, transaction isolation, and query performance.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Questions about Risk Based Testing

What does Risk Based Testing do?

Focus testing effort on highest-risk areas using risk assessment and prioritization. Risk Based Testing is an agent skill from proffesor-for-testing/agentic-qe. Focus testing effort on highest-risk areas using risk assessment and prioritization.

When should I use Risk Based Testing?

Risk Based Testing fits situations like: planning test strategy; allocating testing resources; making coverage decisions.

How do I install Risk Based Testing in Claude Code?

Run `npx skills add proffesor-for-testing/agentic-qe --skill risk-based-testing -a claude-code`. Or copy the skill folder (assets/skills/risk-based-testing in proffesor-for-testing/agentic-qe) into .claude/skills/risk-based-testing in your project. Claude Code loads it when a task matches its description.

How do I install Risk Based Testing in Codex?

Run `npx skills add proffesor-for-testing/agentic-qe --skill risk-based-testing -a codex`. Or copy the skill folder (assets/skills/risk-based-testing in proffesor-for-testing/agentic-qe) into .agents/skills/risk-based-testing in your project. Codex loads it when a task matches its description.

Can I use Risk Based Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add proffesor-for-testing/agentic-qe --skill risk-based-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/risk-based-testing, .gemini/skills/risk-based-testing, .github/skills/risk-based-testing and .opencode/skills/risk-based-testing in your project.

What does Risk Based Testing need to run?

SKILL.md names no scripts, command-line tools or credentials: Risk Based Testing is instructions for the agent only.

Does Risk Based Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Risk Based Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Risk Based Testing use?

Risk Based Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Risk Based Testing use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Risk Based Testing?

Skills that share tags, products or a category with Risk Based Testing: Test Planning (petrkindlmann/qa-skills, 163 stars), Test Spec (gustavscirulis/snapgrid, 117 stars), Testing OpenLogi UI (AprilNEA/OpenLogi, 23k stars) and Testing Hashql (hashintel/hash, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Risk Based Testing?

proffesor-for-testing (a GitHub user) maintains it in proffesor-for-testing/agentic-qe, which has 494 GitHub stars. The repository holds 111 skills in this directory. The repository was last updated on October 4, 2026.

Source: proffesor-for-testing/agentic-qe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.