PayloadCMS Class Diagram Analyst

VerifiedSafe

Analyzes class diagrams for PayloadCMS using dual Mermaid and YAML Contract formats, following a seven-phase workflow to ensure accuracy and source citation. Useful for developers working with PayloadCMS and MongoDB who need structured, validated UML class diagrams.

Sby Skills Guide Bot
DocumentationAdvanced
6/2/2026
Claude Code
#class-diagram#uml#payloadcms#mongodb

Recommended for

Automated summary

Specialist analyst for generating class diagrams in dual-format (Mermaid + YAML) for PayloadCMS/MongoDB, following a 7-phase workflow with source traceability.

Strengths

  • Ensures every field has an explicit source citation, eliminating invented data.
  • Outputs both Mermaid and YAML formats for documentation and contract purposes.
  • Integrates into an automated pipeline with clear dependencies and successors.
  • Modular per-module analysis enables independent and reproducible processing.

Limitations

  • Requires specific input files (sequence, schema) to operate correctly.
  • Designed exclusively for PayloadCMS/MongoDB, not adaptable to other technologies.
  • The rigid 7-phase workflow can be overkill for simple or ad-hoc needs.
When to use it

Use this skill when you need to generate or validate comprehensive class diagrams with source traceability in a PayloadCMS/MongoDB project.

When not to use it

Do not use it for quick sketches or informal diagrams that do not require source validation.

Security analysis

Safe
Quality score85/100

The skill performs structured file I/O (read input files, write output class diagram) without executing shell commands, accessing network, or handling secrets. The pipeline automation instructions are confined to the agent's own tools, posing no destructive or exfiltration risk.

No concerns found

How this analysis is made

Examples

Generate class diagram from sequence diagram
Generate the class diagram for the 'Order' module using the sequence diagram at Docs/life-2/diagrams/sequence/order-sequence.md and the schema design at Docs/life-2/database/schema-design.md. Output to Docs/life-2/diagrams/class/order-class.md.
Analyze class diagram with citations
Analyze the class diagram for the 'User' module. Ensure every field is cited from the source files: sequence diagram and schema design. Only output the final Mermaid and YAML blocks.
Pipeline automation for class diagram
Execute the class diagram analyst pipeline for module 'Product' with strict source citation. Read input files as specified and write output directly without any interaction.

name: class-diagram-analyst description: Chuyên gia phân tích cấu trúc Class Diagram theo chuẩn dual-format (Mermaid + YAML Contract) cho PayloadCMS / MongoDB. Nhận yêu cầu từ mơ hồ đến rõ ràng, phân tích từng module độc lập qua 7-phase workflow, đảm bảo mọi field đều có source citation. KHÔNG BAO GIỜ tự bịa field mà không có source. category: uml pipeline: stage_order: 3 input_contract: - type: file path: "Docs/life-2/diagrams/sequence/{module}-sequence.md" required: false - type: file path: "Docs/life-2/database/schema-design.md" required: false output_contract: - type: file path: "Docs/life-2/diagrams/class/{module}-class.md" format: markdown dependencies: - sequence-design-analyst successor_hints: - skill: schema-design-analyst needs: [class.md]

⚡ CHẾ ĐỘ TỰ ĐỘNG (PIPELINE AUTOMATION MODE): Bạn đang chạy dưới sự ủy quyền của Orchestrator (Tool Task).

  1. KHÔNG CHÀO HỎI, KHÔNG CHỜ ĐỢI: BẮT ĐẦU DÙNG TOOL LÀM VIỆC NGAY LẬP TỨC! Đừng bao giờ trả lời kiểu "Tôi đã hiểu, hãy cung cấp UC-ID...". Prompt bạn nhận được CHÍNH LÀ LỆNH THỰC THI Cuối cùng, hãy dùng Tool Read đọc file Blueprint và Generate Output ngay!
  2. KHÔNG ĐƯỢC PHÉP HỎI (NO INTERACTION GATE): Bỏ qua TẤT CẢ các GATE trạm dừng, không được dừng lại hỏi ý kiến user. Tự suy luận và quyết định theo spec!
  3. INPUT ĐỘNG (DYNAMIC INPUT): TUYỆT ĐỐI không đi tìm project-registry.json trừ khi Orchestrator bảo. CHỈ đọc các file mà Orchestrator chỉ định trong Prompt.
  4. OUTPUT TRỰC TIẾP (DIRECT OUTPUT): Sau khi đọc input và suy luận <think> xong, GHI THẲNG CODE vào file ở thư mục đích bằng tool Write. Đừng hỏi "Ghi file chưa?".

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/payloadcms-class-diagram-analyst-mmbizj49/download' --output '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md.part' && mv '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md.part' '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md' && test -s '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/class-diagram-analyst' && cp -R '.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49' '.claude/skills/class-diagram-analyst'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/payloadcms-class-diagram-analyst-mmbizj49'

openskills read 'payloadcms-class-diagram-analyst-mmbizj49'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/payloadcms-class-diagram-analyst-mmbizj49/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills