qa-testing-feature

An end-to-end quality check for a feature on the current code branch. It reads the feature’s specifications and documentation, creates a test plan, runs browser tests with Playwright, and writes a report of issues found.

In plain words
What is it for?
Use it after implementing a feature to test it in a browser, verify documented requirements, record test results, and report open problems.
Why use it?
It checks whether an implemented feature meets its requirements before it is finalised, including behaviour that unit tests may not cover.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/streamlit/streamlit/qa-testing-feature
Clone the repo
git clone --depth 1 https://github.com/streamlit/streamlit

Made for: Claude Code.

Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00067 $0.02203
Opus 5 $0.00034 $0.01102
Sonnet 5 $0.00013 $0.00441
Haiku 4.5 $0.00007 $0.00220

Measured 2d ago against content hash def059a5e6fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa-testing-feature 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 2d ago.

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.

.claude/agents/qa-testing-feature.md · 250 lines

How it starts

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

QA Testing Feature

Performs end-to-end QA testing of the feature in the current branch by reading all related documentation, creating a comprehensive test plan, and executing automated tests to find issues.

Be fully autonomous — Do NOT stop or pause to ask for confirmation. Go from current state to completed QA report without human intervention. Note any open questions or ambiguities in the report rather than blocking on them.

Context

  • Repository: streamlit/streamlit
  • Main branch: develop
  • Head branch: !git branch --show-current

Workflow

First, determine the QA output directory based on the branch name:

# Derive feature name from branch (strip prefix before "/" if present)
# Falls back to short commit hash in detached-HEAD environments (e.g., CI)
FEATURE_NAME=$(git branch --show-current | sed 's|.*/||')
FEATURE_NAME=${FEATURE_NAME:-$(git rev-parse --short HEAD)}
QA_DIR="work-tmp/qa-${FEATURE_NAME}"
mkdir -p "$QA_DIR"

Use $QA_DIR for all output files throughout this workflow. This allows multiple QA runs for different features to coexist.

- [ ] Phase 1: Gather feature context
- [ ] Phase 2: Create QA test plan
- [ ] Phase 3: Set up debug environment
- [ ] Phase 4: Execute test plan
- [ ] Phase 5: Generate QA report

Phase 1: Gather feature context

Collect all documentation related to the feature being tested:

  1. Identify the feature from branch changes:

    # Determine the base branch (from PR if exists, otherwise develop)
    BASE_BRANCH=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null || echo "develop")
    git fetch origin "$BASE_BRANCH" 2>/dev/null || true
    git diff "origin/${BASE_BRANCH}" --stat
    git log "origin/${BASE_BRANCH}..HEAD" --oneline
    
  2. Read spec documents (if available):

    • Check specs/ directory for related specs
    • Check work-tmp/ for implementation notes
    • Read any linked GitHub issues from commit messages
  3. Check the agent-wiki for related documents:

    • If a PR exists for this branch, look in agent-wiki/pull-requests/<pr-number>/ for implementation plans, exploration notes, or design decisions
    • Use gh pr view --json number -q .number 2>/dev/null to get the PR number (may not exist yet if running before PR creation)
    • Look in agent-wiki/references/ for relevant reference documents
    • If no PR exists, skip PR-specific lookups and note this in the test plan
    • These documents may contain context, design rationale, and edge cases discovered during implementation

Read the full file on GitHub · 250 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. 2d ago First seen · 250 lines · 67 tokens per session scan A def059a5e6fe

Subscribe to this mod's changes

qa-testing-feature is an agent published in the GitHub repository streamlit/streamlit (45,655 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 2,203 once invoked, about $0.0003 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-08-30.

Related

Other agents, from other repositories

michael-reviewer

Emulates Michael’s PR review style. Proactively discovers the current PR (or asks), diffs against the develop branch by default, analyzes changes and related context across the repo, and produces a structured, practical markdown review with actionable feedback, tests to add, rollout/deprecation plans, generated-code…

zenml-io/zenml · 84 tokens

stefan-reviewer

Emulates Stefan’s PR review style. Proactively finds the related PR for the current branch (or asks), diffs against origin/develop by default, performs a deep system-aware review, and outputs an actionable Markdown document with line references, severity, and suggestions.

zenml-io/zenml · 59 tokens

autonomous-code-optimization

Source.

skypilot-org/skypilot · 0 tokens

senior-data-scientist

Reviews statistical analyses, ML pipelines, data quality, model validation, and data serialization practices.

pjt222/agent-almanac · 24 tokens

self-journal

Iterative improvements to agent behavior, process, and conventions on this project. Not a substitute for EXPERIMENTLOG.md or DISCUSSIONNOTES.md — those hold research findings; this holds how we work better.

cpuguy96/StepCOVNet · 0 tokens

google-colab-expert

Expert in Google Colab for cloud-based ML/DL development with free GPU/TPU access. Specializes in Colab 2025 features (Gemini AI integration, google.colab.ai library), production workflows, session management, GitHub integration, Drive persistence, BigQuery/GCS integration, and optimizing for runtime limits. Use for…

andisab/swe-marketplace · 282 tokens