pfw-custom-dump

Provides Swift data pretty-printing, diffing, and assertions via CustomDust-like tools.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Mp2025-cmd/ScrollKitty --skill pfw-custom-dump
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pfw-custom-dump
Source: https://github.com/Mp2025-cmd/ScrollKitty/tree/main/.claude/skills/pfw-CustomDump
Command: npx skills add https://github.com/Mp2025-cmd/ScrollKitty --skill pfw-custom-dump

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies debugging and testing by providing powerful tools for inspecting and verifying Swift data structures, making it easier to identify and fix issues.

Core Features & Use Cases

  • Pretty-Printing: Visualize complex Swift data types in a human-readable format.
  • Diffing: Compare two Swift values and see a detailed, colored diff of their differences.
  • Assertions: Write tests that automatically assert equality or differences with detailed diffs on failure.
  • Use Case: When debugging a complex data model, use customDump to get a clear, hierarchical view of its contents, or use expectNoDifference in your tests to catch regressions.

Quick Start

Use the pfw-custom-dump skill to pretty-print the value of my variable named userSettings.

Frequently Asked Questions about pfw-custom-dump

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pretty-print Swift data structures for easier debugging?

To pretty-print Swift data structures, use customDump to visualize complex types in a human-readable, hierarchical format. This simplifies debugging by providing a clear view of data model contents.

How can I diff two Swift values to see their differences?

You can diff two Swift values to see detailed, colored differences using customDump. This allows you to compare complex types and immediately identify discrepancies during debugging or testing.

How do I write Swift test assertions that show diffs on failure?

Write Swift test assertions that show diffs on failure by using the expectNoDifference function. This automatically asserts equality and outputs a detailed diff, helping you catch regressions.

Can I use customDump for deterministic testing in Swift?

Yes, customDump supports deterministic testing in Swift by offering stable, detailed output and comparison capabilities for complex types, ensuring your testing workflows remain consistent.

What is the best way to inspect a complex Swift data model?

The best way to inspect a complex Swift data model is to use customDump to get a clear, hierarchical view of its contents. This reveals the data structure without requiring manual traversal.

Why do my Swift test failures lack detailed diff output?

Swift test failures lack detailed diff output when not using custom assertion functions. Integrating customDump provides detailed, colored diffs of differences directly within your testing framework.