Habilidades toon-format
📊

toon-format

Seguro ⚙️ Comandos externos🌐 Acesso à rede📁 Acesso ao sistema de arquivos

使用 TOON 標記法高效格式化資料

JSON 在 LLM 提示中浪費標記。TOON 可減少 30-60% 的標記使用量,同時保持資料的可讀性。將表格資料轉換為針對 AI 使用最佳化的緊湊格式。

Suporta: Claude Codex Code(CC)
📊 69 Adequado
1

Baixar o ZIP da skill

2

Upload no Claude

Vá em Configurações → Capacidades → Skills → Upload skill

3

Ative e comece a usar

Testar

A utilizar "toon-format". 將 API 端點清單轉換為 TOON 格式

Resultado esperado:

  • api_endpoints[3]{method,path,description,auth}:
  • GET,/users,List all users,none
  • POST,/users,Create new user,bearer
  • DELETE,/users/{id},Delete user,bearer
  •  
  • meta:
  • version: 1.0
  • last_updated: 2025-01-10

A utilizar "toon-format". 格式化包含中繼資料的函式庫索引

Resultado esperado:

  • meta:
  • category: libraries
  • count: 3
  •  
  • items[3]{id,name,description,path}:
  • baml,BAML,Structured LLM outputs,lib/baml
  • mcp,MCP,Tool integration,lib/mcp
  • prisma,Prisma,Database ORM,lib/prisma

Auditoria de Segurança

Seguro
v5 • 1/16/2026

Pure documentation skill containing only markdown files with format rules and validation examples. No executable code, scripts, or network operations. All 142 static findings are false positives from the scanner misinterpreting documentation code blocks as executable shell commands and example hash values as cryptographic operations.

4
Arquivos analisados
658
Linhas analisadas
3
achados
5
Total de auditorias

Fatores de risco

⚙️ Comandos externos (105)
reference/format-rules.md:9-13 reference/format-rules.md:13-17 reference/format-rules.md:17-19 reference/format-rules.md:19-23 reference/format-rules.md:23-32 reference/format-rules.md:32-42 reference/format-rules.md:42-47 reference/format-rules.md:47-51 reference/format-rules.md:51-53 reference/format-rules.md:53-55 reference/format-rules.md:55-59 reference/format-rules.md:59-66 reference/format-rules.md:66-70 reference/format-rules.md:70-74 reference/format-rules.md:74-75 reference/format-rules.md:75 reference/format-rules.md:75-76 reference/format-rules.md:76 reference/format-rules.md:76-77 reference/format-rules.md:77 reference/format-rules.md:77-78 reference/format-rules.md:78 reference/format-rules.md:78-79 reference/format-rules.md:79 reference/format-rules.md:79 reference/format-rules.md:79-80 reference/format-rules.md:80 reference/format-rules.md:80-87 reference/format-rules.md:87-98 reference/format-rules.md:98-102 reference/format-rules.md:102-120 reference/format-rules.md:120-125 reference/format-rules.md:125-127 reference/format-rules.md:127-130 reference/format-rules.md:130-135 reference/validation-tools.md:7-13 reference/validation-tools.md:13-15 reference/validation-tools.md:15 reference/validation-tools.md:15-21 reference/validation-tools.md:21-42 reference/validation-tools.md:42-46 reference/validation-tools.md:46-53 reference/validation-tools.md:53-59 reference/validation-tools.md:59 reference/validation-tools.md:59-60 reference/validation-tools.md:60 reference/validation-tools.md:60-71 reference/validation-tools.md:71-72 reference/validation-tools.md:72 reference/validation-tools.md:72-78 reference/validation-tools.md:78-84 SKILL.md:14 SKILL.md:14 SKILL.md:19 SKILL.md:21 SKILL.md:30 SKILL.md:32 SKILL.md:33 SKILL.md:35 SKILL.md:43 SKILL.md:44 SKILL.md:50 SKILL.md:55 SKILL.md:75-79 SKILL.md:79-82 SKILL.md:82-84 SKILL.md:84-87 SKILL.md:87-95 SKILL.md:95-101 SKILL.md:101-105 SKILL.md:105-108 SKILL.md:108-109 SKILL.md:109-111 SKILL.md:111-114 SKILL.md:114-121 SKILL.md:121-126 SKILL.md:126-136 SKILL.md:136-139 SKILL.md:139-157 SKILL.md:157-162 SKILL.md:162-164 SKILL.md:164-167 SKILL.md:167-171 SKILL.md:171-177 SKILL.md:177-178 SKILL.md:178-185 SKILL.md:185-187 SKILL.md:187-193 SKILL.md:193 SKILL.md:193-197 SKILL.md:197-198 SKILL.md:198 SKILL.md:198-199 SKILL.md:199 SKILL.md:199-200 SKILL.md:200 SKILL.md:200-201 SKILL.md:201 SKILL.md:201-202 SKILL.md:202 SKILL.md:202 SKILL.md:202-203 SKILL.md:203 SKILL.md:203-207 SKILL.md:207-219
🌐 Acesso à rede (7)
📁 Acesso ao sistema de arquivos (4)
Auditado por: claude Ver Histórico de Auditoria →

Pontuação de qualidade

38
Arquitetura
100
Manutenibilidade
87
Conteúdo
21
Comunidade
100
Segurança
83
Conformidade com especificações

O Que Você Pode Construir

最佳化 LLM 提示資料

在傳送給語言模型之前,以 TOON 格式編碼文件和索引,以降低標記成本。

建立高效的文件索引

建立結構化索引和清單,在 AI 系統處理時消耗更少的標記。

格式化表格資料供 AI 處理

將類似 CSV 的資料集轉換為 TOON,以實現更高效的 LLM 使用和分析。

Tente Estes Prompts

將 JSON 轉換為 TOON
Convert this JSON array to TOON format with proper syntax: use explicit count, 2-space indentation, and add blank line after arrays. Here's the JSON: [paste your data]
驗證 TOON 檔案
Validate this TOON file and fix any syntax errors: missing counts, wrong indentation, or formatting issues. Show the corrected version: [paste your TOON]
設計表格結構
Help me design a TOON format for this data. Show how to structure it as tabular arrays with proper column definitions: [describe your data]
批次轉換文件
Create a script to convert these documentation files to TOON format. Include validation and error handling: [list your files]

Melhores Práticas

  • 在生產環境使用前,務必使用 npx @toon-format/cli --decode 進行驗證
  • 盡可能設計適合表格表示的資料結構
  • 將 JSON 保留為標準來源,並生成 TOON 用於 LLM 傳輸

Evitar

  • 對深度巢狀或不規則的資料結構使用 TOON
  • 在 TOON 檔案中包含註解或 YAML 風格的清單
  • 忘記在表格陣列後加入空白行

Perguntas Frequentes

TOON 與標準 JSON 解析器相容嗎?
不行,TOON 需要專用的解析器。請使用 TypeScript 的官方函式庫 (@toon-format/toon) 和 Python 的官方函式庫 (python-toon)。
相較於 JSON,標記節省量為何?
TOON 通常透過使用緊湊的表格語法和移除不必要的標點符號,節省 30-60% 的標記。
我可以將 TOON 用於配置檔案嗎?
不行,請改用 JSON。TOON 是針對 LLM 提示最佳化的,而非針對預期使用標準 JSON 的工具。
如何處理驗證錯誤?
依序執行 validation-tools.md 中的自動修復腳本,然後使用 npx @toon-format/cli --decode 重新驗證。
TOON 支援所有 JSON 功能嗎?
不支援,TOON 缺少註解、YAML 風格的清單和多行字串。它是為表格資料效率而設計的。
何時應選擇 TOON 而非 JSON?
將 TOON 用於傳送給 LLM 的統一表格資料。將 JSON 用於配置、API 或程式化資料操作。

Detalhes do Desenvolvedor

Estrutura de arquivos