xiaohongshu
xiaohongshu
toon-format
When working with JSON data in LLM prompts (especially large arrays or tabular data), consider the token-efficient TOON (Token-Oriented Object Notation) format which reduces tokens by 30-70% while maintaining lossless JSON representation and structural validation. Use for reading/writing .toon fi...
Full skill instructions
TOON (Token-Oriented Object Notation) is a compact, human-readable, schema-aware encoding of JSON designed to be easy for LLMs to read and (with good prompting) to generate. It is especially effective for uniform arrays of objects (tabular data), where keys are declared once and rows carry values.
Use TOON when:
[N] counts + {fields} headers) to reduce model drift and enable validation.Prefer JSON (or JSONL/CSV) when:
For more detail: see reference/when-to-use.md.
TOON commonly looks like:
key: value / indented blocksusers[3]: ...users[3]{id,name,role}:Use the official CLI for round-tripping and stats.
Encode JSON → TOON
npx @toon-format/cli input.json -o output.toon
Decode TOON → JSON
npx @toon-format/cli input.toon -o output.json
Token stats + maximum efficiency
npx @toon-format/cli input.json --delimiter "\t" --stats -o output.toon
Optional structure compression
--keyFolding safe--expandPaths safeFor full CLI options and examples: see reference/cli.md.
Use @toon-format/toon for in-app encode/decode. See reference/library.md.
When sending TOON as input:
toon (or yaml if needed):
When asking for TOON output:
users[N]{id,name,role}:)[N] must match row countFor proven prompt patterns and pitfalls: see reference/llm-prompting.md.
If the model outputs TOON, you MUST validate it (strict mode by default in official tooling). If validation fails:
Input
users[3]{id,name,role,lastLogin}:
1,Alice,admin,2025-01-15T10:30:00Z
2,Bob,user,2025-01-14T15:22:00Z
3,Charlie,user,2025-01-13T09:45:00Z
Instruction
Return only users with role "user" as TOON. Use the same header format. Set [N] correctly. Output only the code block.
scripts/toon_convert.py: A convenience wrapper that:
toon (if installed) or npx @toon-format/cli--encode/--decode, --delimiter, --stats, and folding/expansion flagsSee: scripts/README.md
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience