Λογότυπο Hatch3r Testability Verify

Hatch3r Testability Verify

Οργανισμός
hatch3r
hatch3r-testability-verify

Testability verification gate before commit/release — per-feature test-class mandate map, real-deal-first ratio, coverage thresholds, AI eval coverage, mutation kill-rate, contract tests, property tests, determinism contract

Επισκόπηση

Εκδότηςhatch3r
Αποθετήριοhatch3r
Όνομα δεξιότηταςhatch3r-testability-verify
Αστέρια
26
Διακλαδώσεις
7
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό hatch3r. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Hatch3r Testability Verify στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-testability-verify
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-testability-verify .claude/skills/hatch3r-testability-verify
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Hatch3r Testability Verify σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Hatch3r Testability Verify μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Hatch3r Testability Verify δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Testability Verification Gate

Quick Start

This skill defines what "done" means for any feature shipping test code or a feature in a mandate-map class (parser, payment, RPC, state machine, UI, AI feature). Run before declaring a feature complete. The 8 gates below mix automated checks (machine-checkable on every PR) with one release-cadence gate (mutation kill rate at release-cut). Skipping any gate = the feature is not done. Passing unit tests and reviewer approval alone do not satisfy this bar — a feature in a mandate class without its mandated test shape ships untested risk.

Inputs the skill expects:

  • A test directory under one of: src/__tests__/, tests/, __tests__/, e2e/, test/, spec/.
  • A coverage configuration in vitest.config.ts, jest.config.js, pyproject.toml, pom.xml, or .coveragerc.
  • A mutation-test config in stryker.conf.json or pom.xml (when payment/auth/critical paths exist).
  • A contract-test artifact path (pacts/, Schemathesis report) when service boundaries exist.
  • An AI eval harness manifest (evals/manifest.yaml, prompts/manifest.yaml) when LLM features ship.

Outputs the skill produces: an 8-line verdict block written to the PR conversation, plus a JSON artifact at .audit-workspace/testability-verify-<sha>.json for downstream consumption by hatch3r-release.

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Default path, not exception. Triggers for THIS skill: feature-surface class (parser vs payment vs RPC vs state machine vs UI vs AI), gate selection (coverage-threshold vs mandate-map vs AI-eval vs full), mock-justification budget (review all vs review new mocks only), mutation-test floor changes mid-cycle, and whether to block on Low-confidence findings.

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Invoked by

This skill is the verification HARNESS — it declares HOW each testability gate is checked. The DISPATCHER that decides WHEN to run it is the CQ specialist agent:

  • agents/hatch3r-testability.md — invokes this skill as the closing testability gate (CQ5) on PRs modifying test code or features in a mandate-map class (a skill-invocation timing cue for the maintainer, not an agent-dispatch condition). The agent contributes the review trigger and Phase-4 dispatch; this skill contributes the 8-gate procedure.

No duplication: the agent decides WHEN, this skill defines HOW.

Gate 1: Per-feature test-class mandate map compliance

  • For every changed feature, the mandated test class from rules/hatch3r-testing.md is present:
    • parser → fuzz harness with documented corpus under testdata/fuzz/;
    • payment → mutation test with documented kill-rate floor in stryker.conf.json or pom.xml;
    • RPC → consumer + provider contract test under pacts/ plus broker can-i-deploy gate;
    • state machine → property test (fast-check or Hypothesis) with the invariant stated in a one-line comment;
    • UI → visual regression suite with baselines under __snapshots__/.
  • Detection: read changed-file globs vs the mandate map; any miss → CRITICAL.

Gate 2: Real-deal test ratio ≥80%

  • Count: (integration-tests-without-mocks) / (total-integration-tests) ≥ 0.80.
  • Mocks detected by grep -rn "// MOCK:" <test-dir> plus framework-level helpers (vi.mock, jest.mock, unittest.mock.patch, mockito.when).
  • Every remaining mock carries // MOCK: <reason> comment + reviewer-acknowledged justification linked to a tracking issue.
  • Mock without the marker → FINDINGS row per mock. Ratio <80% → FINDINGS at suite level.

Gate 3: Coverage thresholds met per file class

  • Global floor 78% statements / 65% branches / 80% functions / 80% lines from vitest.config.ts (or equivalent).
  • Critical / high-risk modules meet a stricter per-module floor than the global one (commonly ~85–90% statements/functions/lines with ~75–80% branches for the highest-risk paths), read from the project's own coverage config (vitest.config.ts / jest.config.js per-path threshold overrides) — not a fixed table.
  • Read coverage from coverage/coverage-summary.json (Istanbul/v8) or coverage.xml (Cobertura).
  • Below floor → FINDINGS with the specific module + metric named.

Gate 4: AI feature eval coverage 100%

  • Every AI feature ships golden examples + adversarial cases + regression suite running in CI on prompt or model changes.
  • Hallucination rate measured per release on a labelled sample and tracked as an SLI per Anthropic engineering guidance; threshold breach blocks rollout.
  • Detection: read the eval manifest, confirm CI workflow triggers on prompt/model file changes, read the SLI dashboard URL.
  • Eval coverage <100% on a release-bound prompt or model change → CRITICAL.

Gate 5: Mutation-test kill rate on critical paths

  • Stryker for JS/TS (stryker run --incremental, read reports/mutation/mutation.json → metrics.mutationScore).
  • Pitest for JVM (mvn org.pitest:pitest-maven:mutationCoverage, read target/pit-reports/mutations.xml → mutationCoverage).
  • Common 2026 floor: mutation score ≥80% on payment + auth + critical-labelled paths per qaskills.sh 2026.
  • Below floor → FINDINGS with the surviving-mutant count and file list.

Gate 6: Property-based tests on pure functions with stated invariants

  • Each pure function with a stated invariant carries a fast-check (fc.property(fc.<arb>, fn => { /* invariant */ })) or Hypothesis (@given(...)) test.
  • The invariant is documented in a one-line // invariant: comment above the test.
  • Missing invariant comment or missing test → FINDINGS row per function.
  • Pattern reference: MarkTechPost 2026 stateful / differential / metamorphic patterns.

Gate 7: Contract tests on every service-to-service boundary

  • Consumer-driven Pact pacts published to a broker (pact-broker can-i-deploy --pacticipant <svc> --version <sha> --to production).
  • Spec-driven Schemathesis (schemathesis run --checks all <openapi.yaml>) executed against staging.
  • Missing or failing → CRITICAL on auth/payment paths, FINDINGS elsewhere.
  • Cross-reference: rules/hatch3r-contract-testing.md.

Gate 8: Determinism contract — 0 flaky tests over 30 days

  • Read CI flake history: gh run list --status failure --created ">=$(python3 -c 'from datetime import date, timedelta; print(date.today() - timedelta(days=30))')" --json conclusion,name,startedAt | jq '[.[] | select(.conclusion=="failure")] | length'.
  • Quarantined tests carry a tracking issue assignee and a re-enable date, not test.skip / test.todo / @pytest.mark.skip in perpetuity.
  • Flake count >0 with no owner → FINDINGS. Silenced flake without tracking issue → FINDINGS per occurrence.

Pass criteria

All 8 gates pass = the feature is "done". Anything less = not done.

  • Mandate-map class compliance: 100% on changed features.
  • Real-deal ratio: ≥80% per cycle.
  • Coverage floors: met per file class (global thresholds from the project's coverage config; critical modules per that config's per-path overrides).
  • AI eval coverage: 100% on release-bound prompt or model changes.
  • Mutation kill rate: ≥80% on payment + auth + critical paths.
  • Property-test coverage: 100% of pure functions with stated invariants.
  • Contract-test parity: 100% of service boundaries; broker can-i-deploy exit 0.
  • Flake count over 30 days: 0 (or quarantined with owner + re-enable date).

On fail

The orchestrator running this skill emits a single-line verdict per gate (GATE_N: PASS|FAIL <evidence-path>) and aggregates them. One FAIL on a required gate blocks the merge regardless of reviewer approval status.

Failure escalation per agents/hatch3r-testability.md status mapping: Gate 1 fail (mandate-map class missing) → CRITICAL; Gate 4 fail (AI eval coverage <100%) → CRITICAL; Gate 7 fail on auth/payment → CRITICAL; Gates 2/3/5/6/8 → FINDINGS at High or Medium.

When this skill runs

  • Reviewer on any PR that modifies test code, removes tests, or introduces a feature in a mandate-map class.
  • Implementer pre-write check when authoring new feature tests.
  • Verifier pre-merge gate immediately before gh pr merge on protected branches.
  • AI feature release gate before a prompt/model bump ships to production traffic.
  • Quarterly audit on real-deal ratio drift.

Cross-References

  • rules/hatch3r-testing.md — per-feature test-class mandate map.
  • rules/hatch3r-ai-evals.md — AI feature eval coverage.
  • rules/hatch3r-contract-testing.md — Pact + Schemathesis boundaries.
  • The project's coverage config (vitest.config.ts / jest.config.js) — global + per-file-class coverage thresholds.
  • agents/shared/quality-charter.md §Testing depth — mock-justification budget.

References

  • Stryker Mutator — stryker-mutator.io/docs/
  • Stryker 2026 floor guidance — qaskills.sh/blog/mutation-testing-stryker-guide
  • Hypothesis property-based testing 2026 patterns — marktechpost.com/2026/04/18/a-coding-guide-for-property-based-testing-using-hypothesis-with-stateful-differential-and-metamorphic-test-design/
  • Pact contract testing — docs.pact.io/
  • Schemathesis — schemathesis.readthedocs.io/
  • Anthropic engineering evals — www.anthropic.com/engineering/demystifying-evals-for-ai-agents
  • AI hallucination benchmarks 2026 — suprmind.ai/hub/ai-hallucination-rates-and-benchmarks/

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Hatch3r Testability Verify;

Testability verification gate before commit/release — per-feature test-class mandate map, real-deal-first ratio, coverage thresholds, AI eval coverage, mutation kill-rate, contract tests, property tests, determinism contract

Γιατί να χρησιμοποιήσετε τη δεξιότητα Hatch3r Testability Verify στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Hatch3r Testability Verify είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Hatch3r Testability Verify στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-testability-verify. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Hatch3r Testability Verify;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Hatch3r Testability Verify;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Hatch3r Testability Verify με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Hatch3r Testability Verify;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό hatch3r με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇