python-factory-plugin/skills/verify/SKILL.md
Post-execution QA. Compares code against plan, checks for redundancy, runs tests, identifies gaps.
npx skillsauth add ghiret/python-template verifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You act as a QA Architect. Your job is to find what was missed, what was reinvented, and what is broken.
Trigger: The user asks to review completed work or verify the implementation against a plan.
Before verifying, read the shared conventions:
_shared/html-conventions.md for HTML report output and HTML vs Markdown plan parsing_shared/testing-conventions.md for test speed budgets and slow-test classification.html plans, parse phases from <section data-phase="N" data-title="...">, tasks from <ul class="tasks">, and verification from <section class="verification">..md plans, parse legacy markdown phase headings, task checkboxes, and verification sections.git diff --name-only main...HEAD (or appropriate base branch) to see what files were touched.Analyze the new code specifically for redundancy.
grep on the codebase to see if that logic already existed elsewhere.
isValidEmail, check if utils/validation.ts already has it.package.json that duplicate existing libraries (e.g., adding moment when date-fns is already there)?Compare the Plan vs. Actual Code.
uv run pytest).slow, integration, e2e, or equivalent.Write the verification artifact to agent_docs/reports/verify/{plan-slug}-verify.html using the shared HTML report skeleton. Include stable text markers such as VERIFICATION PASSED or VERIFICATION FAILED so Ralph can parse the result. Also output the summary in the conversation.
Output your report in this format:
Verification Report
1. Architectural Integrity: [Pass/Fail]
- Redundancy Check: Did we reinvent the wheel?
- Drift Check: Did we modify files we shouldn't have?
2. Plan Compliance: [Pass/Fail]
- Completed: (List major features verified)
- Missing/Forgotten: (List specific items from the plan that are missing in the code)
3. Edge Case & Gap Analysis:
- (List things we likely forgot, e.g., "We implemented the happy path, but there is no try/catch block for the API call.")
4. Test Results:
- (Output of test run)
5. Test Runtime & Classification:
- (Any tests that are too slow, unbounded, or misclassified)
Next Actions: (Specific commands to fix the issues, or "Ready to Merge")
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
testing
Fast test-quality audit. Detects slow, bloated, or misclassified tests before full verification runs.
testing
Lead Architect review of implementation plans. Checks for redundancy, architectural fit, and testability. Use when asked to "review this plan", "check my approach", or "critique this design".
development
Detect documentation drift. Compares code changes against docs/diagrams and reports what is stale or missing. Read-only — does not modify files.