跳到正文
Skillpedia
测试42k · #6453

competition-template-render-path

它能做什么

这个工具可以帮你理解一个网页是如何构建和显示的,从最初的请求到最终呈现在屏幕上的结果。它重点关注服务器和浏览器之间是如何传递信息的。

适用场景

  • ✓当你想了解某个页面是如何在服务器上渲染的时。
  • ✓当你想了解数据是如何从服务器传到浏览器的时。
  • ✓当你在调查路由或内容显示方面的问题时。

技能链接

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-template-render-path/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-template-render-path/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“页面 X 是如何在服务器上渲染的?服务器又向浏览器发送了哪些数据?”

每周 5 个新技能,1 分钟读完。

工作原理

它会梳理完整的路径:从选定的路由出发,经过数据获取、页面构建,最终交付到浏览器。它还会对比显示规则在流程各个环节中的运作方式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

  1. Map the render chain in order: route resolution, loader or data fetch, template or component context, response HTML, hydration payload, and client takeover.
  2. Record host, route params, preview toggles, tenant or host switches, and server-only variables before mutating anything.
  3. Compare template gating with loader or handler enforcement.
  4. Preserve one successful render and one failing render path with the smallest delta.
  5. 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.md for 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
常见问题

什么是“服务端渲染”(SSR)?

服务器在把页面发给你的浏览器之前,就已经把完整的页面组装好了,这样通常能让页面加载得更快。

什么是“水合”(hydration)?

浏览器收到服务器发来的页面后,无需重新加载全部内容,就能为页面添加交互功能,比如让按钮变得可以点击。

为什么要对比“模板门控”(template gating)和“处理器强制执行”(handler enforcement)?

为了确保“谁能看到什么”的规则,在构建页面(模板)和处理请求(处理器)两个环节中都得到一致的执行。

详情

作者的原始描述

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

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6453
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能