Logo Battle Test

Battle Test

Cộng đồng
wolverin0
battle-test

Run a fail-closed end-to-end project hardening cycle: static audit, exhaustive real-browser validation, semantic screenshot review, multi-role/security/visual-regression probes, isolated remediation, and re-verification. Use when the user asks to battle-test or prove production readiness. Default is the full cycle; --quick runs a clearly weaker smoke/readiness check and can never emit a battle-tested verdict. Main integration requires --push-main; deployment is never automatic. --ux curates only UX/UI and ends with its own verdict (UX SCOPE VERIFIED or UX SCOPE FAILED), never battle-tested.

Tổng quan

Nhà phát hànhwolverin0
Kho mãclaude-skills
Tên kỹ năngbattle-test
Sao
41
Bản fork
1
Tệp đi kèm
5
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được wolverin0 công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Battle Test trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/wolverin0/claude-skills/tree/main/skills/battle-test
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wolverin0/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/battle-test .claude/skills/battle-test
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Battle Test trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Battle Test ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Battle Test không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Battle Test

/battle-test [project-path-or-name] runs the full quality loop end-to-end and produces one report: diagnose → runtime-verify → harden → re-verify. It does not reimplement those capabilities — it conducts four existing skills (audit-orchestrator, validation, visual-route-sweep, quality-loop; --quick adds vibe-to-prod) and gates between them.

/battle-test                 # current project
/battle-test ../crm          # a specific project path
/battle-test --resume        # continue a paused run
/battle-test --audit-only    # stop after diagnose (no fixes)
/battle-test --quick         # vibe-to-prod + validation smoke; no "battle-tested" verdict
/battle-test --push-main     # explicitly authorize integration after all gates pass
/battle-test --ux            # curate only UX/UI: own verdict, no integration (combine only with --resume)

What it conducts (each is a separately-proven skill)

StageSkillProduces / signal to read
1. Diagnoseaudit-orchestrator (the /audit pipeline)<repo>/audit-report.md + AUDIT VERDICT block + [AUDIT COMPLETE: ...] token
2. Baseline verifyvalidation --full (runs its own route/theme/viewport matrix, not that of $visual-route-sweep, then adds multi-role, element/modal/CRUD, security, and visual baseline checks)assert-coverage.js and certify-validation.js both exit 0; state has completed, coverageComplete:true, zero unaccounted, and clean health/multi-role/security/visual signals
3. Hardenquality-loopcommits on loop/<project>; TRACKS.md AUTO/GATED
4. Re-verify$visual-route-sweep on the candidate build + validation compare + targeted audit re-checkcurrent-build route matrix, re-run state, and visual-regression diff vs Stage-2 baseline
5. Reportthis skillone HTML artifact under <repo>/artifacts/

Load references/stages.md for the step-by-step of each stage, references/gates.md for how to read every signal and where the human decisions are, and references/report.md for the unified report. Run heavy stages as subagents (the audit pipeline already does) to keep this context lean.

UX mode (--ux)

Curates only the UX/UI of a project, with one human pause: choosing which changes go. Combine it only with --resume; refuse --push-main, --quick and --audit-only. It never integrates to main: it ends with commits on the loop branch. Record mode: ux in state so --resume restores it. Per-stage steps are in references/stages.md ("UX mode"), gates in references/gates.md, the verdict in references/report.md.

StageUX variant
0. PreflightSame worktree, app and roles; also keep ux-findings.json, test-manifest/, .battle-test/ and TRACKS.md out of git
1. Diagnoseproduct-ux-audit instead of audit-orchestrator (no /audit) → C01..Cn table → operator chooses → export
2. Baselinevisual-regression.js --update over ALL routes; no semantic review
3. Hardenquality-loop --staged --from-tracks in the same worktree, ux items only
4. Re-verifyFull build/test gate, full visual compare, validation --mode smoke on touched routes, each ac replayed in a browser, DESIGN.md
5. ReportVerdict UX SCOPE VERIFIED or UX SCOPE FAILED; never BATTLE-TESTED, never "ready"

The design skills (impeccable, ui-ux-pro-max, emil-design-eng, taste-skill) are not stages: an item may name one, only if it is installed. Findings that are not UX/UI are listed at the end of the report, not fixed.

Safety policy

  • Work in one isolated worktree pinned to the recorded source SHA. Audit, baseline app, fixes, and re-verification must identify their exact SHA/build; evidence from another checkout is invalid.
  • quality-loop works in that same worktree: hand it the worktree path and the recorded source SHA as its worktree and base (it skips its own setup).
  • Without --push-main, stop with proven commits on the loop branch. With --push-main, integrate only after the quality-loop gate and Stage-4 exhaustive re-validation both pass.
  • Deploy is never automatic. vercel --prod and equivalents are always a GATED operator item.
  • Minimal diffs, no rewrites, no scope creep (inherited from quality-loop).

Hard prerequisite (the one thing that needs a human)

Stages 2 and 4 drive a real browser against a running app. Before they can run you need:

  1. the app running at a URL (dev/preview server), and
  2. validation.config.json with roles[] + credentials supplied via env vars (never in files).

Stage 0 reconciles a code scan and runtime crawl into validation.config.json with routes, modals, flows, CRUD modules, backend API endpoints, roles, and inventoryComplete:true. If the URL, inventory, or credentials are missing, stop and ask rather than validating the login screen. Public-only apps skip roles.

Operator gates (the only times it pauses for you)

  1. Hard stops found (audit verdict 🛑/🔴) → ask: fix-first / proceed / stop.
  2. Missing running app or credentials → ask for the URL + creds, or queue as GATED.
  3. Push without --push-main, deploy, or platform actions → queue as GATED, never auto-run.
  4. --ux only: choose the changes (after product-ux-audit) → ask which compatible set or Cnn list goes; the rest is GATED. No question tool: write the decision as GATED and stop.

Everything else runs autonomously. A full run is multi-hour; it checkpoints after each stage and resumes with /battle-test --resume. Self-pace long waits with ScheduleWakeup.

Done

When AUTO hardening is drained and re-validation is green (or a budget is hit): write the unified report, integrate only when --push-main was supplied, list the remaining GATED queue, and stop. Never declare "battle-tested" while any Stage-4 re-validation is red or any critical security/authz finding is unresolved, coverage is incomplete, screenshots remain unreviewed, or the evidence SHA/build does not match the candidate commits. --ux never declares battle-tested: its end state is the UX verdict in references/gates.md.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Battle Test làm được gì?

Run a fail-closed end-to-end project hardening cycle: static audit, exhaustive real-browser validation, semantic screenshot review, multi-role/security/visual-regression probes, isolated remediation, and re-verification. Use when the user asks to battle-test or prove production readiness. Default is the full cycle; --quick runs a clearly weaker smoke/readiness check and can never emit a battle-tested verdict. Main integration requires --push-main; deployment is never automatic. --ux curates only UX/UI and ends with its own verdict (UX SCOPE VERIFIED or UX SCOPE FAILED), never battle-tested.

Vì sao nên dùng Battle Test trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Battle Test là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Battle Test trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/wolverin0/claude-skills/tree/main/skills/battle-test. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Battle Test?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Battle Test với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Battle Test với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Battle Test có miễn phí không?

Kỹ năng này được wolverin0 phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇