Prismic Automation
ما الذي تفعله
تتيح لك هذه المهارة إدارة موقع Prismic مباشرة. يمكنك البحث عن محتوى محدد، والبحث داخل النصوص، وعرض أنواع المحتوى، والعمل مع إصدارات الموقع.
متى تستخدمها
- ✓عندما تريد العثور على محتوى محدد في Prismic.
- ✓عندما تحتاج إلى إيجاد جميع مقالات المدونة.
- ✓عندما تريد عرض كل أنواع المحتوى التي حددتها في Prismic.
رابط المهارة
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/prismic-automation/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابحث عن جميع مقالات المدونة المنشورة في Prismic، مرتبة حسب التاريخ، وباللغة الإنجليزية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
لاستخدام هذه المهارة، تحتاج إلى ربط حسابك في Prismic. بعد ذلك يمكنك أن تطلب البحث عن المحتوى، أو البحث في النصوص، أو عرض أنواع المحتوى لديك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Prismic Automation
Manage your Prismic headless CMS directly from Claude Code. Query documents by type, full-text search content, inspect custom types, and work with repository refs for content versioning.
Toolkit docs: composio.dev/toolkits/prismic
Setup
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Prismic account when prompted. The agent will provide an authentication link.
- Most content queries require a
reftoken. Always start by callingPRISMIC_REPOSITORY_API_GET_REFSorPRISMIC_REPOSITORY_API_GET_INFOto obtain the master ref.
Core Workflows
1. Get Repository Info and Refs
Retrieve comprehensive repository metadata including available refs (content versions), custom types, languages, tags, and bookmarks. This is typically your first API call.
Tools: PRISMIC_REPOSITORY_API_GET_INFO, PRISMIC_REPOSITORY_API_GET_REFS
No parameters required -- these endpoints return the full repository configuration. The refs field is critical since refs are required for all content queries.
Example prompt: "Get my Prismic repository info and the current master ref"
2. Query Documents with Predicates
Fetch documents using Prismic's predicate query syntax with full pagination and filtering support.
Tool: PRISMIC_CONTENT_API_QUERY_DOCUMENTS
Key parameters:
ref(required) -- content release reference ID (typically the master ref)q-- predicate query, e.g.,[[at(document.type, "page")]]page(min 1) andpageSize(1-100) -- paginationlang-- language code, e.g.,en-us(default*for all)orderings-- sort order, e.g.,[my.article.date desc]fetch-- comma-separated fields to fetch, reducing response sizefetchLinks-- resolve linked document fields inline
Example prompt: "Query all published blog posts in Prismic, sorted by date descending, in English"
3. Fetch Documents by Type
Retrieve all documents of a specific custom type with automatic master ref resolution.
Tool: PRISMIC_GET_DOCUMENTS_BY_TYPE
Key parameters:
type(required) -- custom type API ID, e.g.,blog_post,article,pagepage(default 1) andpageSize(1-100, default 20)lang-- language code filterorderings-- sort order, e.g.,[my.article.date desc]after-- cursor-based pagination for deep pagination beyond page 50
Example prompt: "Get all blog_post documents in Prismic, 20 per page"
4. Full-Text Search
Search across all text fields in documents for specified terms. Case-insensitive, matches on root words.
Tool: PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH
Key parameters:
q(required) -- full-text predicate, e.g.,[[fulltext(document, "machine learning")]]page,pageSize,lang,orderings-- same pagination/filtering as other queries
Example prompt: "Search all Prismic documents for 'machine learning'"
5. Get a Single Document by ID
Retrieve a specific document by its unique identifier.
Tool: PRISMIC_GET_DOCUMENT_BY_ID
Key parameters:
document_id(required) -- unique document identifierref(required) -- content ref from repositorylang-- optional language filter
Example prompt: "Fetch Prismic document Xx2KLhEAAJljVWaA"
6. List Custom Types
Discover all custom types (content models) defined in the repository, including their structure definitions.
Tool: PRISMIC_TYPES_API_GET_TYPES
Key parameters:
limit-- max number of types to return per pagepage-- page number (1-indexed)sort-- sort order, e.g.,name
Example prompt: "List all custom types in my Prismic repository"
Known Pitfalls
- Ref is required for all content queries: You must obtain a valid
ref(typically the master ref) fromPRISMIC_REPOSITORY_API_GET_REFSorPRISMIC_REPOSITORY_API_GET_INFObefore querying any documents. Queries without a ref will fail. - Predicate syntax requires double brackets: Prismic queries use double square brackets:
[[at(document.type, "page")]]. For multiple predicates, combine them:[[at(document.type, "blog")][at(document.tags, ["featured"])]]. - Deep pagination limit: Standard page-based pagination may fail beyond page 50. For deep pagination, use the
afterparameter with the last document ID from your previous result set.
…
الأسئلة الشائعة
هل أحتاج إلى ربط حساب Prismic الخاص بي؟
نعم، يجب ربط حسابك حتى تتمكن المهارة من الوصول إلى محتواك. اتبع تعليمات المصادقة.
كيف أبحث عن محتوى محدد؟
يمكنك البحث حسب نوع المحتوى، أو باستخدام البحث الكامل في النصوص، أو بالبحث عن معرّف محدد. مثال: «ابحث عن جميع المستندات من نوع الصفحة».
ما هو «ref»؟
«ref» يشبه نسخة محفوظة أو نقطة معينة من محتواك. عادةً تحتاج إلى «ref» لجلب المحتوى، ويمكنك الحصول عليه بطلب معلومات المستودع.
التفاصيل
الوصف الأصلي من المؤلف
Automate headless CMS operations in Prismic -- query documents, search content, retrieve custom types, and manage repository refs through the Composio Prismic integration.
الشعبية
- نجوم GitHub
- 77k
- الترتيب
- #2346
- الترخيص
- —
- آخر تحديث
- 18/9/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
artifacts-builder
77kيساعد وكيلك على بناء واجهات مستخدم معقدة. يستخدم تقنيات حديثة لإنشاء صفحات ويب تفاعلية وغنية.
brand-guidelines
77kيساعد وكيلك على تطبيق الألوان والخطوط الرسمية للعلامة على المواد. مفيد للحفاظ على الهوية البصرية.
canvas-design
77kيتيح لوكيلك إنشاء عمل فني بصري أصلي بصيغتي .png و.pdf. استخدمه عندما يطلب المستخدم ملصقًا أو لوحة فنية أو تصميمًا ثابتًا.
changelog-generator
77kيساعد وكيلك على كتابة ملاحظات الإصدار للمستخدمين من رسائل الكود. يحوّل المعلومات التقنية إلى نص سهل الفهم.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.