Langsung ke konten
Skillpedia
Testing48k · #6191

wjttc-builder

Fungsinya

Agent ini membuat rencana pengujian yang detail untuk memverifikasi kualitas kode Anda. Agent menganalisis proyek Anda dan membuat tes yang memastikan semuanya berjalan dengan sempurna, seperti dalam kompetisi tingkat tinggi.

Kapan dipakai

  • ✓Sebelum Anda mulai menulis kode.
  • ✓Saat Anda ingin memastikan kode Anda sebaik mungkin.
  • ✓Untuk menemukan dan memperbaiki bug sebelum menimbulkan masalah.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wjttc-builder/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wjttc-builder/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

“Buatkan rencana pengujian untuk kode Python ini yang menghitung rata-rata.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent pertama-tama memahami apa yang dilakukan proyek Anda, lalu menentukan kriteria keberhasilan (tes). Baru setelah itu kode ditulis untuk memenuhi kriteria tersebut, sehingga kualitas terjamin sejak awal.

Konten teknis (SKILL.md asli)

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

WJTTC Builder - Championship Test Suite Generator

Philosophy: "We break things so others never have to know they were broken."

This skill generates F1-inspired test suites following the WJTTC (Wolfe James Tests The Code) methodology.

GOALS

Goal How
Pre-defined Test plan before code → improves code quality
Inline Testing Tests/approves at write time → catches bugs at inception
Layer 1 → Layer 2 Industry + Expert = GOLD Code
AI Optimized 100% bi-sync with project.faf
Best Code Possible ✪ Championship standard

GOLD Code ✨

Code earns GOLD status when:

┌────────────────────────────────────────┐
│         ✪ GOLD CODE ✨                │
│  ════════════════════════════════════  │
│  ✓ Pre-test plan defined               │
│  ✓ Inline testing at write time        │
│  ✓ Layer 1: 100% industry coverage     │
│  ✓ Layer 2: WJTTC expert edge cases    │
│  ✓ Bi-sync with project.faf            │
│  ✓ All tests passing                   │
│  ════════════════════════════════════  │
│  This code has earned its name.        │
└────────────────────────────────────────┘

Position in Development Pipeline

WJTTC comes AFTER project.faf, BEFORE coding:

1. project.faf      → Define WHAT we're building (context)
2. WJTTC-TESTS.md   → Define SUCCESS CRITERIA (tests first)
3. Code             → Build to pass the tests
4. Test             → Pass/Fail
5. Repeat           → Until Championship grade

Test-Driven Code (TDC)

The WJTTC Cycle:

Think → Cross-check → Confirm → Code → Test → [Repeat]
  │         │           │        │       │
  │         │           │        │       └── Pass/Fail verdict
  │         │           │        └── Write implementation
  │         │           └── Green light to proceed
  │         └── STOP if missing info - get it first
  └── Understand what we're building

Cross-check Gate: STOP if missing information. Get it before proceeding.

  • Missing requirements? Ask.
  • Unclear acceptance criteria? Clarify.
  • Unknown edge cases? Define them.

Red → Green → Refactor:

  1. Write failing test (RED)
  2. Write code to pass (GREEN)
  3. Clean up (REFACTOR)

Never code without knowing what "done" looks like.

Two-Layer Testing Architecture

Layer 1: Industry Standard (100% Coverage)

Use the framework's native testing - Jest, pytest, Vitest, etc.

  • Unit tests
  • Integration tests
  • Standard assertions
  • Coverage requirements

This is the baseline. Non-negotiable.

Layer 2: WJTTC Expert (Stress + Edge Cases)

The championship layer that catches what industry tests miss:

Category What We Test
Syntax Special chars, escapes, quotes, brackets
Emoji 🏎️ in strings, filenames, variables
Typecases camelCase, snake_case, SCREAMING_CASE, mixed
Variables Empty, null, undefined, MAX_INT, negative
Unicode RTL text, combining chars, zero-width
Injection SQL, XSS, command injection attempts
Boundaries 0, 1, -1, MAX, MAX+1, empty array

Test Targets:

  • MCP servers and tools
  • CLI commands and flags
  • API endpoints and payloads
  • Engine internals
  • Infrastructure configs

We Test the Testing

Meta-testing checklist:

  • Do the tests actually run?
  • Do they fail when code is broken?
  • Do they pass when code is correct?
  • Are edge cases covered?
  • Can tests be run in isolation?
  • Do tests clean up after themselves?

Signal Integrity Audit (The Red-Means-Real Doctrine)

Before you measure coverage, measure signal trust.

Red CI is a contract: stop, look, fix. If red means "shrug, runner had a noisy neighbor, just rerun," the signal is dead — and dead signal is worse than no signal at all. A test suite with 100% coverage but flaky reds is less trustworthy than one with 80% coverage and zero false alarms, because the team has stopped reading the reds.

This is the parent doctrine. Every other testing principle serves it.

The Audit

For any test suite under review, classify the last 30 days of CI failures into three buckets:

Bucket Meaning Action
Real bug Red corresponded to an actual code defect that was fixed by a code change ✓ Signal worked
Flake Red was timing/network/concurrency noise; passed on rerun with no code change ✗ Test design defect

…

Pertanyaan umum

Apa itu WJTTC?

WJTTC adalah metodologi pengujian yang terinspirasi dari balap F1, yang berfokus pada pembuatan kode yang paling andal dan berkualitas tinggi.

Apa arti 'GOLD Code'?

Kode yang telah lolos semua tingkat pengujian, termasuk tes tingkat ahli, dan memenuhi standar kualitas serta keandalan tertinggi.

Mengapa menguji sebelum coding?

Mendefinisikan tes terlebih dahulu (sebagai kriteria keberhasilan) memastikan Anda tahu persis apa yang perlu dibangun dan menghindari pengerjaan ulang, sehingga kualitas keseluruhan meningkat.

Detail

Deskripsi asli dari pembuat

PLAN and GENERATE WJTTC (Championship-Grade) test suites for any project. Analyzes the codebase, classifies components across the WJTTC five tiers (Brake · Engine · Aero · Tyre · Pit), writes a tiered test plan, and scaffolds executable test files.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#6191
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa