Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

prompt-craft

النجوم٥
التفرعات٠
آخر تحديث٢٨ أبريل ٢٠٢٦ في ١٦:٠٧

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