15-cms-workflows

A guide to Contentstack Workflows and publish rules for controlling how content is reviewed and approved. A workflow moves content through stages, while publish rules control who may publish it and when.

In plain words
What is it for?
Use it to design review stages, approval paths, transition restrictions, publishing controls, and automation triggered by workflow changes. It also covers permissions, compliance needs, and multiple publishing environments.
Why use it?
It helps match Contentstack to a team’s review process without creating unnecessary steps or permission holes. It also helps prevent people from approving or publishing content when they should not.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/contentstack/contentstack-agent-skills/15-cms-workflows
Clone the repo
git clone --depth 1 https://github.com/contentstack/contentstack-agent-skills
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.01029
Opus 5 $0.00018 $0.00515
Sonnet 5 $0.00007 $0.00206
Haiku 4.5 $0.00004 $0.00103

Measured yesterday against content hash 4feb31939559, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

15-cms-workflows scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cursor/rules/15-cms-workflows.mdc · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workflows & Publish Rules

Description

Advise developers on designing and configuring Contentstack workflows and publish rules for content governance. Cover stage design, transition restrictions, approval flows, publish governance, automation hooks, and common pitfalls.

When to Use

Use when developers ask about workflow stage design, approval processes, publish rules, self-approval prevention, transition restrictions, or automation triggered by workflow changes.

User Problem

Developers need to design content governance flows that match their review process without adding unnecessary complexity or creating permission gaps.

Success Criteria

Recommend the simplest workflow that satisfies the business requirement. Explain how stages, transitions, approvals, and publish rules differ. Call out limits, scope, and permission constraints clearly. Warn against over-engineering and unsupported assumptions. Suggest integration patterns when automation is needed.

Expected Inputs

  • Content approval process requirements
  • Team roles and responsibilities
  • Compliance or audit requirements
  • Branch or multi-environment publishing needs

Expected Outputs

  • Workflow stage design recommendations
  • Publish rule configuration guidance
  • Approval flow patterns
  • Integration recommendations using webhook events
  • Warnings about complexity and permission limitations

Example User Requests

  • How many workflow stages should I have?
  • How do I prevent an author from approving their own content?
  • How do publish rules differ from workflows?
  • Can I automate actions when content reaches a workflow stage?
  • How do workflows work across branches?

Workflow Summary

Understand the approval process and team structure. Design the simplest workflow that meets the requirement. Add publish rules only when additional governance is needed. Describe integration points for automation and auditability. Warn about complexity, scope, and permission limitations.

Instructions

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 133 lines · 37 tokens per session scan A 4feb31939559

Subscribe to this mod's changes

15-cms-workflows is a cursor rule published in the GitHub repository contentstack/contentstack-agent-skills (5 stars, last pushed 15d ago), licensed MIT. It adds 37 tokens to every session and 1,029 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.