validate-candidate
OfficialEnd-to-end PR validation with observability
System Documentation
What problem does it solve?
Close the deploy_verified loop for a PR flighted to candidate-a. Review the PR, confirm the candidate-a build matches the PR head SHA, enumerate impacted surfaces (API routes, UI pages, graphs), exercise each against the real deployed URL using captured authed Playwright state + agent-api-validation patterns, query Loki for observability signals from the agent's own requests, then post an approve/fail scorecard + matrix as a PR comment. Use this skill whenever the user asks to "validate the candidate-a deploy", "prove this PR on candidate-a", "close the deploy_verified loop", runs "/validate-candidate" (with or without a PR number), or asks to manually E2E-test a flighted PR. Explicitly don't use for pre-merge CI checks or local dev testing — this skill runs after candidate-flight has already succeeded.
Core Features & Use Cases
- Orchestrates post-deploy validation by simulating the candidate flight against the deployed URL and aggregating observability signals.
- Enumerates impacted surfaces (API routes, UI pages, graphs), and exercises them via Playwright and agent-api-validation patterns.
- Generates and posts a PR scorecard matrix with clear pass/fail/notes.
- Supports prompts like '/validate-candidate' or 'validate the candidate-a deploy' to trigger the validation.
- Enforces hard rules such as zero artifacts on disk during runs and strict observability verification via Loki.
Quick Start
Invoke the skill on the target PR (e.g., /validate-candidate 1080) to run the end-to-end validation and post the resulting scorecard to the PR.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: validate-candidate Download link: https://github.com/cogni-dao/cogni/archive/main.zip#validate-candidate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.