Skip to main content
在 Manus 中运行任何 Skill
一键导入

prompt-craft

星标5
分支0
更新时间2026年4月28日 16:07

Use when writing TypeScript/JavaScript code that builds prompts for LLMs using the @mertdogar/prompt-craft package (imports `P` or `Prompt` from '@mertdogar/prompt-craft'). Covers the static-method composition model and escape ladder (verbatim / safe / untrusted), block helpers, lists, tables, XML, semantic sections that render as Markdown OR XML based on the format option, typed templates with compile-time slot checking, Zod schema rendering, tool-definition rendering, few-shot helpers with dedup, multi-message conversations with prompt-cache breakpoints emitted in Anthropic / OpenAI / Gemini / Vercel AI SDK ModelMessage shapes, token-budget-aware rendering with priority annotations, whitespace normalization, fingerprinting, and the extend() escape hatch.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly