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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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 verifyruns 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
- 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 inv3-ci.yml. - Static gate with a baseline β write
scripts/audit-<name>.mjsthat scans, counts violations, and fails if the count exceeds a monotone-decreasing baseline inverification/<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
Komentar
- β¦
Skill lain dari repositori ini
agent-adaptive-coordinator
81kMembantu agent Anda membagi dan menyeimbangkan kembali sekelompok agent AI saat beban kerja berubah, dengan memilih tata letak yang sesuai tugas.
agent-agent
81kMengajari agent Anda mengubah tujuan besar menjadi rencana tindakan yang berurutan, dan menyusun ulang rencana saat kondisi berubah.
agent-agentic-payments
81kMembantu agent Anda mengelola mandat belanja untuk belanja AI, dengan batas pengeluaran, jendela waktu, aturan merchant, dan persetujuan yang ditandatangani.
agent-analyze-code-quality
81kMembantu agent Anda meninjau kualitas kode, menemukan bau kode, utang teknis, dan ide refaktor tanpa mengubah berkas.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.