quality-engine
Skill1 starsChanged 5 months agoMITView on GitHub
Run a configurable quality engine that executes relevant quality gates on a task or repository and returns structured results, actionable recommendations, and a human-readable report. Use after implementation, before a PR or merge, during periodic quality audits, or when onboarding or reassessing a repository. Choose this skill when you need a coordinated pass across multiple quality gates instead of running individual checks manually. Use these Core Web Vitals targets and the MEASURE → IDENTIFY → FIX → VERIFY → GUARD…
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-orchestrationSkill
- architect-agentSkill
- implementer-agentSkill
- quality-councilSkill
- reviewer-agentSkill
- tester-agentSkill
- writer-critic-pairSkill
- authoring-skillsSkill
- api-endpoint-qualitySkill
- async-job-qualitySkill
- auth-qualitySkill
- db-migration-qualitySkill
- frontend-state-qualitySkill
- acceptance-criteriaSkill
- adaptive-flowSkill
- adaptive-prompt-selectionSkill
- adversarial-code-reviewSkill
- architecture-decision-recordsSkill
- brainstormingSkill
- brownfield-spec-enhancementSkill
- bug-fix-lifecycleSkill
- checkpoint-validationSkill
- cicd-integrationSkill
- clarify-before-codeSkill
- claude-code-hooks-packSkill
- code-context-packSkill
- code-intelligence-reviewSkill
- context-policySkill
- context-rich-implementationSkill
- crash-proof-planningSkill
- critique-pass-protocolSkill
- dependency-aware-task-orderingSkill
- deprecation-migrationSkill
- disciplined-diagnosisSkill
- docs-authorSkill
- executing-plansSkill
- external-skillSkill
- finishing-a-development-branchSkill
- git-guardrailsSkill
- goal-driven-executionSkill
- grill-user-before-buildingSkill
- guard-bypass-protocolSkill
- improve-codebase-architectureSkill
- incremental-reviewSkill
- issue-slicingSkill
- lessons-learned-dbSkill
- loop-engineeringSkill
- model-aware-configSkill
- model-weakness-memorySkill
- multi-repo-learningSkill
- orchestration-workflowsSkill
- plan-driven-executionSkill
- plan-from-specSkill
- prd-from-contextSkill
- project-constitutionSkill
- prompt-architectureSkill
- prototype-before-commitmentSkill
- quality-execution-contractSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Run a configurable quality engine that executes relevant quality gates on a task or repository and returns structured results, actionable …
- Distinctive: line 21
Use after implementation, before a PR or merge, during periodic quality audits, or when onboarding or reassessing a repository.
- Distinctive: line 66
Use these Core Web Vitals targets and the MEASURE → IDENTIFY → FIX → VERIFY → GUARD loop when the quality engine is evaluating user-facing …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Quality Engine
Purpose
Run a configurable quality engine that executes relevant quality gates on a task or repository and returns structured results, actionable recommendations, and a human-readable report.
When to use
Use after implementation, before a PR or merge, during periodic quality audits, or when onboarding or reassessing a repository. Choose this skill when you need a coordinated pass across multiple quality gates instead of running individual checks manually.
Inputs
- Task description and scope (what changed, what is affected)
- Model profile selection (
lean,standard, orheavy) - Repository path or working context
- Optional config path for project-specific settings
- Optional gate selection to force or exclude certain checks
Workflow
- Load configuration from the project config path if available, otherwise use the default quality engine defaults.
- Determine the model profile and translate it into execution constraints, depth, and evidence expectations.
- Select relevant gates based on task type, changed areas, and the chosen profile.
- Execute the quality engine with the selected gates in a predictable order.
- Capture pass, warn, and fail results with supporting evidence or remediation pointers.
- Review failures and warnings, then group them into root causes and actionable fixes.
- Generate a structured result set plus a markdown report with timing, summary, and recommendations.
Outputs
- Structured results object with gate names, statuses, messages, and timing
- Markdown report summarizing findings, risk, and recommended next steps
- Ranked fix recommendations grouped by severity and confidence
Failure modes
- Running a heavy profile on trivial work and wasting review bandwidth.
- Running a lean profile on high-risk changes and missing important signals.
- Skipping config and losing project-specific thresholds or exclusion rules.
- Mixing evidence from unrelated tasks or files.
- Treating warnings as blockers without reviewing confidence and impact.
Verification checklist
validate:allexits 0 (config + gates loaded;--jsonshape matchesschemas/).- Selected profile (
lean|standard|heavy) is recorded in the report header. - Every failing gate cites a file path, command, or captured output (not just "X failed").
- Recommendation count == failing-gate count; no orphan recommendations.
- Report file size > 1 KB and < 200 KB (sanity bounds; flags empty or runaway reports).
- Report distinguishes
FAILfromWARNin the summary table.
Performance budgets (frontend & API)
Use these Core Web Vitals targets and the MEASURE → IDENTIFY → FIX → VERIFY → GUARD loop when the quality engine is evaluating user-facing or latency-sensitive changes.
Core Web Vitals target table
| Metric | Good | Needs improvement | Poor | Vibe target (p75) |
| LCP (Largest Contentful Paint) | ≤ 2.5s | 2.5s – 4.0s | > 4.0s | ≤ 2.0s |
| INP (Interaction to Next Paint) | ≤ 200ms | 200ms – 500ms | > 500ms | ≤ 150ms |
| CLS (Cumulative Layout Shift) | ≤ 0.1 | 0.1 – 0.25 | > 0.25 | ≤ 0.05 |
| TTFB (Time to First Byte) | ≤ 800ms | 800ms – 1800ms | > 1800ms | ≤ 500ms |
| API p99 (for latency-sensitive endpoints) | ≤ 300ms | 300ms – 1000ms | > 1000ms | ≤ 200ms |
MEASURE → IDENTIFY → FIX → VERIFY → GUARD loop
For any user-facing or latency-sensitive change:
- MEASURE — capture the baseline metric at p75 (LCP, INP, CLS, TTFB, or p99 for APIs). Use the project's existing observability signal or a synthetic test.
- IDENTIFY — if the metric exceeds the "Good" threshold, identify the dominant contributor (long task, render-blocking resource, layout shift source, DB query plan, N+1). Cite the source.
- FIX — make the smallest change that moves the metric into the "Good" range. Prefer fixes that benefit the worst decile, not just the median.
- VERIFY — re-measure at p75. Confirm the metric moved into "Good". If not, iterate from step 2.
- GUARD — wire a quality gate that fails the merge if the metric regresses beyond the "Good" threshold. Document the gate in the project's quality config.
Failure modes (performance)
- Optimizing median while worst decile is unchanged (tail latency ignored).
- "Looks fast on my machine" — local measurements are not p75.
- Optimizing for synthetic Lighthouse while users hit real-world network throttling.
- Adding a guard gate without a stable measurement source (noisy alerts).
Related skills
skills/core/quality-execution-contract/SKILL.mdskills/core/adversarial-code-review/SKILL.mdskills/core/adaptive-prompt-selection/SKILL.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

