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
906/2/2026
Claude Code
#class-diagram#uml#payloadcms#mongodb

Recommended for

Our review

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

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?".
Related skills