Skip to content

Document snippet dependency-first publish ordering (PRO-222)#348

Draft
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/pro-222-issue-resolution-task-91b6
Draft

Document snippet dependency-first publish ordering (PRO-222)#348
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/pro-222-issue-resolution-task-91b6

Conversation

@cursor

@cursor cursor Bot commented Jul 8, 2026

Copy link
Copy Markdown

Summary

Adds documentation for snippet dependency-first publish ordering when publishing prompt templates programmatically via the REST API, SDK, or MCP.

Changes

  • New guide: features/prompt-registry/snippet-dependency-ordering.mdx
    • Snippet dependency model (@@@snippet_name@@@ references)
    • Required publish ordering (dependencies first)
    • Multi-pass publish workflow for CI/CD and MCP agents
    • Publish error debugging guidance
  • Navigation entry in docs.json (after Snippets)
  • Cross-links from:
    • Snippets page
    • MCP & Skills overview
    • Deployment Strategies (GitOps section)
    • Publish Prompt Template and Get Prompt Template (Raw) reference pages

Validation

  • jq empty docs.json and openapi.json pass
  • mint broken-links — no broken links
  • mint validate — build validation passed

Closes PRO-222

Open in Web View Automation 

Add a guide explaining that templates referencing snippets via @@@name@@@
must be published after their dependencies. Includes a multi-pass
workflow for CI/CD and MCP agents, plus cross-links from snippets,
MCP, deployment strategies, and publish API docs.

Co-authored-by: Vlad Vasilenko <T3XRD@users.noreply.github.com>
@mintlify

mintlify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
promptlayer 🟢 Ready View Preview Jul 8, 2026, 8:04 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant