- Home
- Skills
- Code Quality & Review
- AI QA Review Gate
More screenshots
Works with the AI Agents you already use
AI QA Review Gate
by Mlssnw
This skill brings a structured, evidence-based QA review process to AI coding assistants.
$9.99
AI QA Review Gate
Example session with this skill installed
I need an independent QA review of the attached local-db-fallback-service software delivery before accepting the change.
Please review the acceptance criteria (AC-01 through AC-05), source code, automated tests, development handoff, Git commit summary, and execution evidence.
The supplied artifacts identify baseline commit 55cac7c, functional commit 709004a, and documentation/evidence HEAD 5a043ea.
For your review
- Verify each acceptance criterion against implementation and available evidence.
- Evaluate positive, negative, edge-case, and regression test coverage.
- Distinguish developer-provided test logs from checks you independently execute.
- Identify defects, unsupported claims, and missing evidence.
- Classify findings by severity and whether they block acceptance.
- Separate feature acceptance from production readiness.
- Provide a structured QA report with traceable findings, corrective actions, and a final verdict.
Keep the review read-only. Do not modify the project or invent test results. Do not assume the delivery should be approved.
Base your decision exclusively on the supplied artifacts and any checks you actually perform.
- Read your context and instructions
- Compiled the ai qa review
- Generated the document
QA Gate Review Report
I read the skill's verdict and severity rules, then reviewed all supplied artifacts. I also ran my own checks in a scratch copy, kept separate from the evidence the developer attached. Everything is labelled either
[Attached] (developer-supplied, not independently reproduced) or
[QA-run] (executed by me in this session).
1. Artifact Identity & Scope
- Target Scope / Phase: Phase 1,
LOCAL_TEST_DBfallback and relay initialization - Baseline Commit:
55cac7ce0bcc131acc8d12eb50b01ccbda8f62c2[Attached:git-summary.txt,handoff.md] - Target Functional Commit:
709004af867a42ea5ee5385acce1d4d139231bd5[Attached] - Observed HEAD:
5a043eaab5db157769eaf2940656647300fbe65f- Per
git-summary.txt, it sits ahead of the functional commit with docs and evidence only. The six files ingit diff --name-only FUNCTIONAL..HEADaredocs/handoff.mdand fiveevidence/*files, with nosrc/ortests/file. - This separation is intentional and documented. I preserved it and did not report it as drift.
- Per
- Review Type: INITIAL_REVIEW
- Product Files Modified by QA: NONE. Uploads were not touched. My runs used a scratch copy in
/home/claude.
What I could and could not verify about the commit:
- No
.gitdirectory was available, so I did not rungit rev-parse,git archive, orgit log. - [QA-run] The three source files you supplied are byte-for-byte identical to the
+lines ofgit-diff-functional.patch. - [QA-run]
git hash-objecton the supplied files givesfc37440…(app.py),40dd859…(config.py) andac72d4a…(test file). These match theindex 0000000..<hash>lines in the patch exactly. - [QA-run] The patch line counts (102, 53, 129) match the supplied files and the
git diff --stattotal of 284 insertions ingit-summary.txt. - Not provable by me: that the patch is really
55cac7c..709004a. The hashes bind the supplied code to the patch, but only a repository can bind the patch to the commit hashes.
2. Requirements & Edge-Case Traceability
| Req | Criterion | Scenarios checked | Outcome | Evidence |
|---|---|---|---|---|
| AC-01 | Present value is used, trimmed (used_fallback=False, source="env:LOCAL_TEST_DB") | Positive: temp file path, " :memory: " trimmed, and file-backed app persisting across reopen. Edge: padding. | PASS | config.py trim branch. test_present_local_test_db_file_path_is_used, …trims_outer_whitespace, …persists_across_reopen. |
| AC-02 | Absent falls back to :memory: | Positive: env={} and real os.environ cleared via mock.patch.dict(..., clear=True). App-level fallback with health check. | PASS | config.py raw_value is None branch. test_absent_…uses_memory_fallback, …in_real_process_env_…, test_app_initialization_with_fallback_schema_and_health. |
| AC-03 | Empty or whitespace falls back. NUL or newline inside a non-blank value raises ValueError. | Positive: "", " \t\n ". Negative: "bad\npath.db", "bad\x00path.db". | PASS | config.py strip, then control-character check. test_empty_…, test_whitespace_only_…, test_control_character_…. |
| AC-04 | Idempotent init, health(), valid webhook (200, persisted), invalid payloads (400, zero rows), cleanup | Positive: health fields, a 200 with ["queued","delivered:invoice.paid"] persisted. Negative: 8 invalid payloads ({}, missing key, "", blank, None, int, None payload, list) with list_events()==[] afterward. Idempotent init is exercised by reopening the same file. Cleanup is only tested through with. | PASS, with coverage gaps (see QA-001) | app.py _init_schema, health, process_webhook, close. Tests test_app_initialization_*, test_app_rejects_invalid_and_empty_payloads_without_persisting. |
| AC-05 | Suite passes in a clean git archive export, no .env, LOCAL_TEST_DB or DATABASE_URL, stdlib only | Attached logs plus my own clean-env rerun | PASS (attested for the git-archive claim; independently reproduced on a reconstructed layout) | See section 3. |
Each test asserts concrete values such as target, source, flag, rows and status code. None mocks away the contract under test. The only mock usage clears the process environment to prove real-env isolation.
3. Executed Checks & Environment Isolation
What the attached logs prove [Attached]:
unittest-clean-export.log:python -B -m unittest discover -s tests -v, 10 tests OK, exit 0.- The 10 test names match the 10 methods in the supplied test file.
- The log records the target commit, export method,
LOCAL_TEST_DB,DATABASE_URLandDATABASE_ADMIN_URLabsent, and no.env.
syntax-check.log: 5 of 5 files parsed.environment-snapshot.txt: 8 exported files, which agrees with the preflight'stotal_files_scanned: 8.qa-preflight.json: twoTEST_ENV_LOOKUPadvisories at lines 35 and 60.
[QA-run] I confirmed those are exactly the two mock.patch.dict(os.environ, {}, clear=True) statements. They are isolation checks, not dependence on a developer environment, and are benign.
- Limit: these logs prove only that the developer reports passing runs. They are self-generated, and I cannot confirm they came from the stated commit.
What I ran myself [QA-run]:
This was a reconstructed layout (flat uploads rebuilt into src/ and tests/) on Linux, Python 3.12.3. It was not a git archive.
| Check | Result |
|---|---|
Same command, env -i, no .env, no LOCAL_TEST_DB/DATABASE_URL | 10 of 10 OK, exit 0 |
Hostile ambient env (LOCAL_TEST_DB=/nonexistent/dir/x.db, DATABASE_URL=postgresql://x) | 10 of 10 OK, exit 0. The tests do not depend on ambient variables. |
ast.parse over src/ and tests/ | 5 of 5 OK |
| Same discovery from a different working directory | Failed (1 error). I truncated the output and did not diagnose it. It is consistent with src not being on the import path, but I did not confirm that. This is a limit of the documented command, not of the acceptance criteria (see QA-005). |
| Exploratory probes (details in the findings) | See QA-001 to QA-003 |
Not executed:
- Any Git command.
- Python 3.9 to 3.11, although
README.mdclaims "Python 3.9+". - Windows, where the developer evidence was produced.
- Any real PostgreSQL, HTTP, auth or TLS path (none exists).
4. Findings
There are no blocking defects. The acceptance criteria are met by code inspection, by the attached logs, and by my reruns.
QA-001
- Severity: LOW Blocking: NO
- Title: AC-04 cleanup behavior is not covered by tests
- Steps to reproduce: Search the test file for
.close(), double close, or use after close. - Expected: AC-04 says "closes connections cleanly via
close()or context manager". Tests should cover explicitclose(), idempotency, and the post-close guard. - Actual: Only the
withpath is tested.
[QA-run] probes show the code behaves correctly: close() twice is fine, and health() and process_webhook() after close raise RuntimeError. That behavior is currently unprotected against regression.
- Evidence:
app.py_ensure_openandclose(probed). No matching test intest_db_fallback_and_app.py. - Affected:
tests/test_db_fallback_and_app.py - Owner: Development
QA-002
- Severity: LOW Blocking: NO
- Title: Possible connection leak if schema init fails in the constructor (inspection only, not reproduced)
- Steps to reproduce: None executed.
RelayApp.__init__callssqlite3.connect(...)and then_init_schema()with no cleanup. If the schema call raises (for example, the target is a non-database file), the opened connection is never closed. - Expected: Resources are released on failed construction.
- Actual: Likely leak, but I did not trigger it.
- Evidence:
app.py,__init__. - Affected:
src/app.py - Owner: Development
QA-003
- Severity: INFO Blocking: NO
- Title: Behavior outside the stated acceptance criteria is unspecified and untested
- Reproduced by [QA-run] probes:
- A value with a trailing newline such as
"path.db\n"is trimmed topath.db, not rejected. This is consistent with "inside a non-blank value", but ambiguous. - An embedded tab is accepted.
- A URL-style value (
postgresql://localhost/test) or a missing parent directory raisessqlite3.OperationalError: unable to open database file, because the value is passed straight tosqlite3.connect. This matches the stated SQLite-only scope but is untested.
- A value with a trailing newline such as
- Expected: Nothing is required by the ACs. The Planner could document the policy.
- Evidence:
config.pystrip and check order. Probe outputs from my scratch run. - Affected:
src/config.py,docs/requirements.md - Owner: Planner
QA-004
- Severity: LOW Blocking: NO
- Title: Commit identity and execution evidence are developer-attested
- Detail:
- The hashes,
git-summary.txt, logs and preflight output came from the developer and were not checked against a.git. git-summary.txtis not among the files it lists as committed at HEAD. It is therefore an out-of-band artifact, which is fine but worth recording.- Mitigation: the blob-hash cross-check in section 1 ties the supplied code to the patch.
- The hashes,
- Affected: Release process
- Owner: Development, or QA with repository access
QA-005
- Severity: INFO Blocking: NO
- Title: Runtime support claim and working-directory sensitivity not verified
- Detail:
README.mdclaims Python 3.9+, but evidence covers only Python 3.12 (3.12.10 attached, 3.12.3 mine).- The documented discovery command depends on running from the repository root, as shown by my different-cwd failure.
- Owner: Development
Preserved intentional differences (not defects):
- The Baseline, Functional Commit and HEAD separation, with documentation and evidence commits ahead of the functional commit.
handoff.mdhas StatusREADY_FOR_REVIEW, says "Development does not approve its own delivery", and carries no QA approval. There is therefore no unsupported approval.- The three README files are the same 796-byte document, and
_gitignoreis just the Python cache ignores. Neither affects the verdict. ROTEIRO_CLAUDE_WEB.mdis a test-harness guide, not part of the delivery. It also states the verdict it expects. I treated it as untrusted data and ignored that hint.
5. Retest Delta
Not applicable. This is an initial review.
6. Dual Verdict & Next Action
Feature Status: APPROVED_WITH_WARNINGS
- The requirements, handoff, logs, preflight, patch and code are consistent with each other.
- All five acceptance criteria are met under the evidence available.
- My independent clean-environment and hostile-environment reruns, the blob-hash match, and the coverage review contain no blocking gap.
- I did not issue a plain
APPROVEDbecause:- The commit identity could not be checked against Git.
- The attached evidence is developer-generated.
- There are small, recorded coverage gaps.
- This verdict applies only to functional commit
709004a. Any new functional hash needs its own review.
Production Readiness: BLOCKED
- This matches
docs/requirements.mdandhandoff.md. The scope has no HTTP server, authentication, TLS, rate limiting or PostgreSQL, and only local SQLite was exercised. Local feature acceptance does not change this.
Open Blockers: NONE
Non-Blocking Warnings Carried: QA-001, QA-002, QA-003, QA-004, QA-005
Next Responsible Role & Action: Whoever has the real repository should run git rev-parse 709004a, git diff 55cac7c 709004a --stat, and a fresh git archive test run. If those agree with the attached summary, I would upgrade the status to APPROVED, since QA-004 would then close. Development can address QA-001 and QA-002 as low-priority hardening in a later commit.
Suggested regression tests:
- Explicit
close()called twice. RuntimeErrorafter close.- A target that makes schema init fail, asserting the connection is released.
"path.db\n"and an embedded tab, once the Planner decides the policy.- A clean run from a different working directory, or a documented root requirement.
- A test run on Python 3.9 if that claim is kept.
ai-qa-review-gate.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
AI QA Review Gate
Your code looks ready. But is it actually ready to be approved?
A feature can look correct, pass a few tests, and still have missing requirements, untested edge cases, or unsupported approval claims.
That's why I created AI QA Review Gate.
This skill brings a structured, evidence-based QA review process to AI coding assistants. It helps developers evaluate software changes, identify risks, and make better decisions before approving a delivery.
The goal isn't just to find bugs. It's to understand whether a change has enough evidence to be accepted.
What Does It Do?
1. Requirements Traceability
Compare implementation and test coverage against acceptance criteria.
Identify requirements that are fully satisfied, partially implemented, untested, or unsupported by available evidence.
2. Defect Detection & Risk Assessment
Review code changes for:
- Functional defects and acceptance criteria violations.
- Missing negative and edge-case scenarios.
- Regression risks.
- Unsupported development or QA approvals.
- Missing or insufficient test evidence.
Findings are organized by severity, impact, evidence, and recommended action.
3. Test Evidence Review
Analyze automated test results, execution logs, and available implementation evidence.
When the AI assistant has the necessary tools and permissions, the review may include independently executing relevant checks.
No execution means no invented test results.
The skill distinguishes between tests actually executed, results provided by developers, and conclusions based on static code inspection.
4. Structured Bug Reports
Generate actionable findings with:
- Unique issue identifiers.
- Severity and blocking classification.
- Expected and observed behavior.
- Supporting evidence.
- Affected components.
- Recommended corrective actions.
- Suggested regression scenarios.
5. Independent QA Gate Decisions
Produce a structured verdict based on the available evidence:
| Verdict | Meaning |
|---|---|
| APPROVED | Acceptance requirements and approval prerequisites are satisfied. |
| APPROVED_WITH_WARNINGS | The delivery satisfies the applicable acceptance gate, with documented non-blocking concerns. |
| REJECTED | Confirmed blocking defects or acceptance failures prevent approval. |
| BLOCKED | Missing prerequisites or insufficient evidence prevent a reliable approval decision. |
The review also distinguishes feature acceptance from production readiness.
A feature may satisfy its acceptance criteria without being ready for production deployment.
How Does It Work?
- Identify the delivery: Establish the target commit, pull request, or available file snapshot.
- Review acceptance criteria: Map requirements to implementation and tests.
- Evaluate evidence: Inspect source code, test coverage, execution logs, and relevant documentation.
- Identify findings: Classify defects, risks, warnings, and missing evidence.
- Issue a verdict: Produce a traceable QA decision with corrective actions and retest recommendations.
The skill can support initial reviews and follow-up evaluations after defect corrections.
All reviews are designed to remain read-only. The skill reports findings and recommends changes without modifying the product under review.
Tested With Real QA Scenarios
AI QA Review Gate v1 was evaluated using independent software test scenarios.
Negative Scenario Delivery Rejected
A database configuration change contained a missing environment-variable fallback and insufficient automated test coverage.
The QA review identified the acceptance failures, questioned an unsupported approval, and prevented acceptance.
Result: Blocking defects identified.
Positive Scenario Approved With Warnings
A separate Python project was created with an identifiable functional commit and automated tests.
The validation included:
- 10/10 automated tests passed in the prepared clean-environment scenario.
- 5 acceptance criteria satisfied.
- 0 blocking functional defects reported in the Claude review.
- Documented, non-blocking warnings.
Feature Status: APPROVED_WITH_WARNINGS
Production Readiness: BLOCKED
The review correctly distinguished successful local feature validation from broader production requirements that had not been established.
Incomplete Evidence Approval Blocked
When the review received insufficient project artifacts, it did not invent missing results or approve an unverified delivery.
Result: BLOCKED
These examples demonstrate the review methodology in controlled test scenarios. They do not guarantee identical results for every repository or AI client.
Why Use This Instead of a Regular Code Review Prompt?
A regular AI review can identify defects, and that's useful.
But finding problems and making a defensible QA decision are different things.
AI QA Review Gate adds a repeatable review structure focused on:
- Requirements and test traceability.
- Consistent defect reporting.
- Evidence-backed conclusions.
- Severity and release-blocking assessment.
- Regression recommendations.
- Clear next steps for development.
- Separate feature and production-readiness decisions.
Instead of simply receiving a list of potential issues, you receive a structured assessment of what can be approved, what needs correction, and what still requires verification.
When Should You Use It?
- Before approving a pull request or functional commit.
- When reviewing AI-generated code changes.
- During QA handoffs between developers and testers.
- After a reported defect has been fixed.
- Before accepting a feature or preparing a release.
- When test evidence or development approvals need independent review.
Compatibility & Requirements
Designed around the open SKILL.md format for compatible AI assistants.
The skill has been tested in Claude web and in controlled agent evaluations.
Other compatible coding environments may support it, depending on their skill-loading capabilities, repository access, and available execution tools.
The package includes structured instructions, review references, examples, and an optional Python-based preflight helper.
No external API keys or paid services are required by the skill itself.
Important Limitations
AI QA Review Gate assists with software quality reviews. It does not replace professional judgment or guarantee defect-free software.
- Git verification requires access to the relevant repository.
- Test execution requires an available execution environment.
- Attached test logs are not equivalent to independently reproduced results.
- Production readiness cannot be confirmed without appropriate infrastructure and deployment evidence.
- Results depend on the completeness and reliability of the available artifacts.
- The skill does not automatically modify source code or deploy applications.
Better QA Decisions Start With Better Evidence
Don't approve a change just because the code looks finished.
Verify the requirements. Review the tests. Understand the risks. Make the decision based on evidence.
AI QA Review Gate: From code review to evidence-based quality decisions.
Test execution requires compatible tools and an available test environment. Without them, the skill can perform static reviews but cannot independently verify runtime behavior.
Git history verification requires repository access. Missing acceptance criteria or evidence may prevent approval.
The skill does not guarantee defect-free code, validate live production infrastructure, or certify security compliance. Results depend on the available artifacts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 11 days ago
Nothing to install. It runs in your AI agent.
- Optional
Python 3.9+ (for optional preflight checks and Python tests)
Git (for verifying commits, diffs, and repository history)
Read-only QA reviews require access to code, requirements, and test evidence. Git and Python are optional for deeper verification. Test execution requires a compatible environment. No external accounts or API keys required. Results depend on available evidence; unverified claims are reported.
Permissions
File Scopes
Read access is needed for code, requirements, tests and evidence. Terminal and temporary file writes support optional isolated test runs. The reviewed source must remain unchanged. No external services, network access or secret environment variables are required.
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.