Langsung ke konten
Skillpedia
Testing81k Β· #1543

verification-quality

Fungsinya

Skill ini memandu agent menganalisis kualitas kode dan risiko sebuah perubahan, termasuk pemeriksaan diff dan kompleksitas. Skill ini untuk pengembang yang ingin tahu perubahan mana yang paling membutuhkan tinjauan hati-hati.

Kapan dipakai

  • βœ“Saat Anda ingin tahu seberapa berisiko sebuah perubahan kode sebelum digabung.
  • βœ“Saat Anda perlu menemukan bagian paling rumit dalam basis kode.
  • βœ“Saat Anda ingin menambahkan pemeriksaan kualitas ke build proyek.

Link skill

https://github.com/ruvnet/ruflo/blob/main/.claude/skills/verification-quality/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/ruvnet/ruflo/blob/main/.claude/skills/verification-quality/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œNilai risiko perubahan saya saat ini dan tampilkan fungsi paling kompleks di berkas-berkas yang saya ubah.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjalankan perintah analisis pada diff dan kode, lalu melaporkan perubahan dan area mana yang paling berisiko atau kompleks.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Verification & Quality Assurance Skill

What This Skill Does

This skill provides a comprehensive verification and quality assurance system that ensures code quality and correctness through:

  • Truth Scoring: Real-time reliability metrics (0.0-1.0 scale) for code, agents, and tasks
  • Verification Checks: Automated code correctness, security, and best practices validation
  • Automatic Rollback: Instant reversion of changes that fail verification (default threshold: 0.95)
  • Quality Metrics: Statistical analysis with trends, confidence intervals, and improvement tracking
  • CI/CD Integration: Export capabilities for continuous integration pipelines
  • Real-time Monitoring: Live dashboards and watch modes for ongoing verification

Shipped vs. aspirational. The concrete, in-CI verification stack β€” the 6 regression-guard jobs + the witness manifest + the tool-discoverability audit β€” is real and runs on every push. The truth-scoring / auto-rollback / WebSocket-dashboard surface described later in this doc is partly shipped (ruflo verify runs the witness checks) and partly design β€” treat the "CI Guards" section below as the authoritative current state.

CI Guards β€” what's actually shipped (current state)

Ruflo's regression protection is three layers, all gated before publish. Authoritative reference: verification/README.md.

Layer What CI job(s) in .github/workflows/v3-ci.yml ADR
1 β€” install/behavioral smoke Exercise user-visible failure modes against a real build smoke-install-no-bsqlite (npm install on platforms w/o prebuilds), plugin-hooks-smoke (#1859/#1862 β€” hook flag parsing), mcp-protocol-smoke (#1874 β€” HTTP MCP wire format), memory-import-smoke (#1883/#1884 β€” WSL path + key sanitization), mcp-roundtrip-smoke (#1889 paired-tool round-trip + #1863 cli-no-crash + ADR-095 G2 consensus-transport) ADR-102
1 β€” discoverability gate Every MCP tool description must answer "use this over native when?" tool-descriptions-audit β€” scripts/audit-tool-descriptions.mjs, baseline at verification/mcp-tool-baseline.json (monotone-decreasing: noGuidance / tooShort / duplicates) ADR-112
2 β€” cryptographic witness Every documented fix's load-bearing marker must still be present in dist; Ed25519-signed, per-OS bundles witness-verify (ubuntu/macos/windows) β€” plugins/ruflo-core/scripts/witness/verify.mjs against verification/<os>/manifest.md.json ADR-103
3 β€” temporal history When was a regression introduced verification/<os>/history.jsonl + history.mjs (summary / regressions / timeline) ADR-103

Run the guards locally

# Tool-description discoverability audit (ADR-112)
node scripts/audit-tool-descriptions.mjs                       # fails if any baseline count rises
node scripts/audit-tool-descriptions.mjs --update-baseline     # lock the new floor after a fix lands

# Behavioral smokes (each builds what it needs; safe to run individually)
node plugins/ruflo-core/scripts/test-hooks.mjs "node $PWD/v3/@claude-flow/cli/bin/cli.js"
node plugins/ruflo-core/scripts/test-mcp-protocol.mjs
node plugins/ruflo-core/scripts/test-memory-import.mjs
node plugins/ruflo-core/scripts/test-mcp-roundtrips.mjs        # #1889 paired-tool round-trip
node plugins/ruflo-core/scripts/test-cli-no-crash.mjs          # #1863 unhandled-exception class
node plugins/ruflo-core/scripts/test-consensus-transport.mjs   # ADR-095 G2 consensus transport

# Witness manifest β€” regenerate + verify
node scripts/regen-witness.mjs
node plugins/ruflo-core/scripts/witness/verify.mjs --manifest verification/macos/manifest.md.json

# Temporal history
node plugins/ruflo-core/scripts/witness/history.mjs --history verification/macos/history.jsonl summary
node plugins/ruflo-core/scripts/witness/history.mjs --history verification/macos/history.jsonl regressions

Adding a new guard

  1. Behavioral smoke β†’ write plugins/ruflo-core/scripts/test-<name>.mjs. Pattern: static dist-scan first (fast, always completes), behavioral probe second with an internal timeout + a process-level watchdog so CI never hangs. Add a step to the relevant job in v3-ci.yml.
  2. Static gate with a baseline β†’ write scripts/audit-<name>.mjs that scans, counts violations, and fails if the count exceeds a monotone-decreasing baseline in verification/<name>-baseline.json. Support --update-baseline. Add
Pertanyaan umum

Apakah ia memperbaiki masalah yang ditemukan?

Skill ini berfokus pada analisis, jadi Anda yang memutuskan apa yang diubah.

Apakah fitur rollback otomatis sudah siap?

Skill ini menyatakan beberapa fitur yang dijelaskan dalam dokumennya adalah catatan desain, bukan perintah yang sudah dirilis.

Apakah hanya untuk proyek ruflo?

Skill ini bisa dipakai untuk memeriksa perubahan kode, meski beberapa bagiannya terkait dengan pemeriksaan milik ruflo sendiri.

Detail

Deskripsi asli dari pembuat

Check code quality and change risk with ruflo's shipped analysis commands (analyze diff, analyze complexity, analyze code), and run or extend ruflo's own CI regression guards. Use when assessing a change's risk, finding complexity hot spots, or adding a regression guard to ruflo. The truth-scoring and auto-rollback commands described later in this file are design notes, not shipped CLI commands.

repo: ruvnet/ruflo

Popularitas

Bintang GitHub
81k
Peringkat
#1543
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa