html-artifact-read
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHTML artifact read
HTML制品读取
Fetch HTML the user already pointed at. Do not render it in a browser tool.
Theo's version targeted . You do not have PostPlan. This skill
is the same trigger for any artifact URL you paste.
postplan.dev获取用户指定的HTML内容。请勿使用浏览器工具渲染它。
Theo的版本针对。你没有PostPlan。此技能适用于你粘贴的任何制品URL触发。
postplan.devFetch
获取步骤
- If the path is local (, an
file://directory, or a repo path), read the file. Do not curl it.artifacts/ - If it is or
http://:https://
bash
undefined- 如果路径是本地路径(、
file://目录或仓库路径),直接读取文件。不要使用curl命令。artifacts/ - 如果是或
http://:https://
bash
undefinedstrip a trailing slash, then try /raw if the first body is a viewer shell
strip a trailing slash, then try /raw if the first body is a viewer shell
url=${1%/}
curl -fsSL "$url"
If the body is clearly a host wrapper rather than the document, retry
`"$url/raw"` once. If that 404s, stop and report both status codes.
3. Do not use web search or a browser to retrieve it.
4. After reading, answer from the document. Do not rewrite it unless asked.url=${1%/}
curl -fsSL "$url"
如果返回内容明显是宿主包装器而非文档本身,重试一次`"$url/raw"`。如果该请求返回404,则停止操作并报告两个状态码。
3. 请勿使用网页搜索或浏览器来获取内容。
4. 读取完成后,根据文档内容作答。除非被要求,否则请勿重写文档。