competition-template-render-path
Skill này làm gì
Công cụ này giúp hiểu cách một trang web được xây dựng và hiển thị, từ yêu cầu ban đầu đến kết quả cuối cùng trên màn hình. Nó tập trung vào cách thông tin được truyền giữa máy chủ và trình duyệt.
Khi nào nên dùng
- ✓Khi bạn muốn xem một trang được render trên máy chủ như thế nào.
- ✓Để hiểu dữ liệu được truyền từ máy chủ sang trình duyệt ra sao.
- ✓Khi điều tra các vấn đề về route hoặc hiển thị nội dung.
Liên kết skill
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-template-render-path/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trang X được render trên máy chủ như thế nào và dữ liệu nào được gửi tới trình duyệt?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ lập bản đồ toàn bộ đường đi: từ route được chọn, qua việc lấy dữ liệu, đến xây dựng trang và gửi cuối cùng tới trình duyệt. Nó so sánh cách các quy tắc hiển thị hoạt động ở các phần khác nhau của quy trình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Competition Template Render Path
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the decisive bug or artifact lives in route resolution, server render context, template data, or hydration handoff rather than in a plain JSON API alone.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Map the render chain in order: route resolution, loader or data fetch, template or component context, response HTML, hydration payload, and client takeover.
- Record host, route params, preview toggles, tenant or host switches, and server-only variables before mutating anything.
- Compare template gating with loader or handler enforcement.
- Preserve one successful render and one failing render path with the smallest delta.
- Reproduce the smallest request-to-render branch that proves the decisive behavior.
Workflow
1. Map Route To Render Context
- Record host, path, route match, loader, template, layout, hydration blob, and client boot chunk for the active view.
- Note whether the response is SSR HTML, static HTML plus hydration, edge-rendered content, or a template fragment used by another route.
- Keep server-only context and client-visible context separate.
2. Trace Template And Enforcement Boundaries
- Show where permissions, feature flags, preview state, tenant selection, or host-based switches are applied.
- Compare template-level gating, loader-level gating, and backend handler enforcement instead of trusting any one layer.
- Record hidden fields, inline data, hydration JSON, meta tags, or alternate partials that expose the decisive branch.
3. Reduce To The Decisive Render Path
- Compress the result to the smallest sequence: request -> route match -> loader or template context -> rendered output or hidden data -> resulting effect.
- State clearly whether the decisive weakness lives in route selection, template context construction, server-client hydration handoff, or mismatched enforcement between render and handler.
- If the task becomes mostly emitted bundle recovery or source map reconstruction, hand off to the tighter bundle skill.
Read This Reference
- Load
references/template-render-path.mdfor the render checklist, hydration checklist, and evidence packaging.
What To Preserve
- Route names, loader names, templates, layouts, hydration keys, and host or preview switches
- One success or failure pair that shows where render-layer behavior diverges
- One minimal request-to-render sequence that reaches the decisive branch
Câu hỏi thường gặp
“Server-side rendering” (SSR) là gì?
Đó là khi máy chủ lắp ráp hoàn chỉnh trang trước khi gửi tới trình duyệt của bạn, điều này có thể làm trang tải nhanh hơn.
“Hydration” là gì?
Đây là quá trình trình duyệt, sau khi nhận trang từ máy chủ, thêm khả năng tương tác (như nút bấm hoạt động) mà không cần tải lại toàn bộ.
Vì sao phải so sánh “template gating” với “handler enforcement”?
Để đảm bảo các quy tắc về việc ai được xem gì (gating) được áp dụng nhất quán cả khi xây dựng trang (template) lẫn khi xử lý yêu cầu (handler).
Chi tiết
Mô tả gốc của tác giả
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for SSR, template rendering, route loaders, hydration payloads, server-client render boundaries, and template-to-handler enforcement gaps. Use when the user asks to inspect SSR or template routes, trace render context or hydration data, compare template gating with handler enforcement, explain preview or hidden-route rend
Độ phổ biến
- Sao GitHub
- 42k
- Vị trí xếp hạng
- #6453
- Giấy phép
- MIT
- Cập nhật
- 22/9/2026
Bình luận
- …
Thêm skill từ kho mã này
competition-ad-certificate-abuse
42kGiúp agent phân tích các cuộc tấn công nhắm vào hệ thống chứng chỉ số. Tìm hiểu cách chứng chỉ có thể bị lạm dụng để giành quyền truy cập.
competition-agent-cloud
42kGiúp agent phân tích các thách thức bảo mật trong hệ thống AI và đám mây. Tìm hiểu cách prompt, công cụ và đám mây có thể bị khai thác.
competition-android-hooking
42kGiúp agent điều tra các ứng dụng Android. Phân tích cách ứng dụng hoạt động bên trong và cách chúng có thể bị sửa đổi hoặc khai thác.
competition-browser-persistence
42kGiúp agent phân tích cách website lưu thông tin trên trình duyệt của bạn. Điều tra cookie và dữ liệu khác để hiểu cách phiên đăng nhập hoạt động.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.