From self-learning
Provides syntax rules, quoting conventions, examples, and validation for writing, parsing, and generating TOON files including org-patterns.toon and JSON conversions.
npx claudepluginhub closedloop-ai/claude-plugins --plugin self-learningThis skill uses the workspace's default tool permissions.
TOON is a compact, human-readable encoding of the JSON data model optimized for LLM prompts. It achieves ~40% token reduction compared to JSON while maintaining lossless round-trip compatibility.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
TOON is a compact, human-readable encoding of the JSON data model optimized for LLM prompts. It achieves ~40% token reduction compared to JSON while maintaining lossless round-trip compatibility.
Arrays use bracketed headers with mandatory length count:
tags[3]: admin,ops,dev
For arrays of objects with identical structure, use field headers in braces:
patterns[2]{id,category,summary}:
P-001,pattern,"Use tokens for colors"
P-002,mistake,"Check auth before routes"
{...} after the countObjects use indentation-based nesting (2 spaces per level):
user:
id: 123
name: Ada
Strings MUST be quoted if they contain:
true, false, null)Escape sequences: \\, \", \n, \r, \t
Standard format for ClosedLoop organization learnings:
patterns[N]{id,category,summary,confidence,seen_count,success_rate,flags,applies_to,context,repo}:
P-001,pattern,"Summary here",high,5,0.85,,implementation-subagent,UI|styling,*
P-002,mistake,"Check auth before routes",medium,3,0.60,[REVIEW],*,auth|routes,astoria-frontend
Field notes:
summary - Always quoted (contains natural language with commas)flags - [REVIEW], [STALE], [UNTESTED], [PRUNE], or emptyapplies_to - Pipe-separated agent names or * for allcontext - Pipe-separated tagsrepo - Repository name (derived from git remote basename) or * for all reposreferences/examples.md for comprehensive examples