Gestion de workflows Contentstack

VérifiéSûr

Gère les workflows Contentstack pour la création, publication et gestion d'actifs.

Spar Skills Guide Bot
ContenuDébutant
1025/07/2026
Claude Code
#contentstack#cms#content-publishing#asset-management#workflow-automation

Recommandé pour

Notre avis

Automatise les workflows du CMS Contentstack, y compris la création de contenu, la publication, la gestion des actifs et l'automatisation des workflows via MCP.

Points forts

  • Rationalise les opérations de contenu dans Contentstack.
  • Gère l'ensemble du cycle de vie, de la création à la publication.
  • S'intègre avec MCP pour des appels API fluides.
  • Gère efficacement les actifs et les workflows.

Limites

  • Nécessite que le MCP Contentstack soit configuré.
  • Fonctionne uniquement avec Contentstack, pas avec d'autres CMS.
  • Peut échouer si les clés API n'ont pas les autorisations nécessaires.
Quand l'utiliser

Utilisez cette compétence lorsque vous devez créer, publier ou gérer du contenu et des actifs dans Contentstack via des commandes en langage naturel.

Quand l'éviter

Ne l'utilisez pas pour du contenu dans d'autres plateformes CMS ou lorsque la connexion MCP est indisponible.

Analyse de sécurité

Sûr
Score qualité90/100

The skill instructs an AI to interact with Contentstack's API via MCP for content management tasks. It includes user confirmation steps, error handling, and does not involve executing shell commands, destructively modifying the system, or exfiltrating secrets. The operations are all legitimate CMS workflows.

Aucun point d'attention détecté

Exemples

Create and Publish a Blog Post
Create a blog post in Contentstack titled 'AI in 2026' with the body 'The future is here...' and publish it to production.
Upload an Asset and Link to Entry
Upload this image to Contentstack and link it to my 'Homepage' entry.

name: contentstack-workflow

description: |
Manages Contentstack workflows for content creation, publishing, and asset management.
Use when users mention "Contentstack", "create content entry", "publish content", "manage assets",
or ask to "update content" or "work with Contentstack entries".
license: MIT
metadata:
author: Vishwas N version: 1.0.0
category: content-management
tags: [contentstack, cms, content, publishing, automation]

Contentstack Workflow Skill

Instructions

Step 1: Determine User Intent

  • If the user mentions Contentstack, content entry, publish, or asset management, load this skill.
  • Clarify the user's goal:
    • Are they creating, updating, or publishing content?
    • Are they managing assets (uploading, linking, or organizing)?
    • Do they need help with workflows (approvals, scheduling)?

Step 2: Content Creation

  • If the user wants to create a content entry:
    1. Ask for:
    • Content type (e.g., blog post, product page).
    • Title, body, and metadata (SEO, tags, categories).
    • Target environment (staging/production).
    1. Use Contentstack's API (via MCP) to:
    • Create a draft entry.
    • Populate fields based on user input.
    • Validate required fields (e.g., title, slug).
    1. Confirm with the user before proceeding.

Step 3: Content Publishing

  • If the user wants to publish content:
    1. Check if the entry exists (use MCP to fetch entry by ID/title).
    2. If found:
    • Ask for confirmation to publish.
    • Use MCP to publish to the specified environment.
    • Provide a preview link if available.
    1. If not found:
    • Offer to create a new entry (see Step 2).

Step 4: Asset Management

  • If the user wants to manage assets:
    1. For uploads:
    • Ask for the asset file (image, PDF, etc.).
    • Use MCP to upload to Contentstack.
    • Return the asset URL and metadata.
    1. For linking assets to entries:
    • Ask for the entry ID and asset ID.
    • Use MCP to update the entry with the asset reference.
    1. For organizing assets:
    • Ask for folder/collection details.
    • Use MCP to move or categorize assets.

Step 5: Workflow Automation

  • If the user mentions workflows (e.g., approvals, scheduling):
    1. Fetch the current workflow status (via MCP).
    2. Offer actions:
    • Submit for approval.
    • Schedule publish date/time.
    • Revert to draft.
    1. Use MCP to update the workflow status.

Step 6: Error Handling

  • If MCP calls fail:
    • Check for:
      • Invalid API keys or permissions.
      • Missing required fields.
      • Network issues.
    • Prompt the user to:
      • Recheck credentials (Settings > Extensions > Contentstack).
      • Provide missing details.
    • Retry the operation if safe.

Step 7: Provide Output

  • After completing the task:
    • Summarize actions taken.
    • Provide links to the published content or asset.
    • Offer next steps (e.g., "Would you like to create another entry?").

Examples

Example 1: Create and Publish a Blog Post

User says: "Create a blog post in Contentstack titled 'AI in 2026' with the body 'The future is here...' and publish it to production."

Actions:

  1. Create a draft entry for "blog_post" content type.
  2. Populate title, body, and metadata.
  3. Publish to production.
  4. Return: "Blog post 'AI in 2026' published! View here."

Example 2: Upload an Asset

User says: "Upload this image to Contentstack and link it to my 'Homepage' entry."

Actions:

  1. Upload the image via MCP.
  2. Fetch the "Homepage" entry.
  3. Update the entry to reference the new asset.
  4. Return: "Image uploaded and linked to 'Homepage'. Asset URL: link."

Troubleshooting

MCP Connection Issues

  • Symptom: Skill loads but MCP calls fail.
  • Solution:
    1. Verify Contentstack MCP is connected in Claude settings.
    2. Check API key permissions in Contentstack.
    3. Test MCP directly: "Use Contentstack MCP to list my content types."

Skill Not Triggering

  • Symptom: Skill doesn’t load for Contentstack-related queries.
  • Solution:
    • Revise the description to include more trigger phrases (e.g., "manage Contentstack entries").
    • Test with: "When would you use the contentstack-workflow skill?"

Instructions Not Followed

  • Symptom: Skill loads but steps are skipped.
  • Solution:
    • Ensure instructions are actionable (e.g., "Use MCP to publish entry" vs. "Handle publishing").
    • Add validation steps (e.g., "CRITICAL: Confirm user intent before publishing.").
Skills similaires