📝
AI Engineering

Output Formatting

by kangarooking

Output Formatting is an AI Engineering skill for Claude Code, published by kangarooking in system-prompt-skills.

182 stars40 forkson kangarooking/system-prompt-skillsAdded 2026/09/06+3% in starsRepository updated 2026/05/04
agent-designagent-skillsai-agentscangjie-skillcontext-managementprompt-engineeringprompt-injectionsystem-prompttool-use
Install in seconds
Install Output Formatting
Copy Output Formatting into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/kangarooking/system-prompt-skills/tree/main/output-formatting ~/.claude/skills/output-formatting

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/kangarooking/system-prompt-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
output-formatting/SKILL.md in kangarooking/system-prompt-skills
Installs to
~/.claude/skills/output-formatting
Collection
One of 15 skills cataloged from this repository
Category
AI Engineering3278 skills

What Output Formatting does

Output Formatting defines response length, structure, and style rules for AI outputs. Use it when a prompt needs to adapt to a platform, avoid canned phrasing, or control density and tone.

Output Formatting is cataloged under AI Engineering on DirSkills. Output Formatting comes from a repository tagged agent-design, agent-skills, ai-agents, cangjie-skill and context-management.

Documentation

README

输出格式与风格控制

R — 原文 (Reading)

多个 AI 供应商系统提示词中共同浮现的输出控制模式:按复杂度自适应长度、按平台定制格式、用反"AI slop"启发式规则消除机械化表达。Claude Mobile 按屏幕尺寸分四档长度;Gemini CLI 限制三行以内;Meta AI 禁用"Here's a..."等套话;Le Chat 用表格替代列表;Claude Design 禁用圆角容器和 Inter/Roboto 字体。

I — 方法论骨架 (Interpretation)

  1. 复杂度分级 — 按问题深度映射输出长度档位(一句话 / 短列表 / 两三段 / 完整文档)
  2. 平台感知 — 检测目标载体(CLI / 移动端 / 桌面 / API),应用对应格式约束
  3. 前置答案原则 — 结论先行,解释后置;"Always lead with the answer"
  4. 反 AI slop 规则集 — 禁止套话开头、无意义表情符号、过度格式化、破折号滥用
  5. 领域标记语言 — 为特定平台定制标记(Notion 压缩 URL {{1}}、GPT-4o image_group JSON)
  6. 格式降级策略 — 默认散文体,仅在必要时使用列表/表格,绝不"为了好看而格式化"
  7. 引用密度控制 — 代码引用使用 file_path:line_number 格式,摘要限制在 1-2 句

A1 — 案例分析 (Past Application)

案例: Claude Mobile 屏幕尺寸自适应输出

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Output Formatting

  • What else does kangarooking publish alongside Output Formatting?

    Output Formatting is one of 15 skills that DirSkills catalogs from kangarooking/system-prompt-skills, the repository it ships in. Its siblings there include Agent Delegation, Citation System and Code Engineering. Each one is a separate skill with its own page in this directory, installs the same way Output Formatting does, and is maintained by kangarooking in that same repository. The rest of the collection is listed on the kangarooking/system-prompt-skills page.

  • How does Output Formatting compare to other AI Engineering skills?

    Output Formatting ranks #3051 by stars among the 3278 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Output Formatting against them. Open each page to compare what they document and how they install.

More from kangarooking/system-prompt-skills

Output Formatting is one of 15 skills cataloged on DirSkills from kangarooking/system-prompt-skills.

See all 15 skills
🧩
5h ago

Agent Delegation

Agent Delegation describes how to split work across specialized sub-agents with isolated context, briefing-based handoffs, and validation gates. Use it when designing multi-agent systems, task lifecycles, or cross-tool coordination; not for single-agent routing.
AI Engineering
18240
🔗
5h ago

Citation System

Citation System defines inline citation formats and source-tracking rules for answers that need traceable evidence. Use it for document Q&A, RAG, code references, and other outputs where users must verify where information came from.
AI Engineering
18240
🛠️
5h ago

Code Engineering

Code Engineering defines system-prompt rules for coding agents that edit files, manage Git workflows, and verify changes. Use it for autonomous or guided code modification tasks, not for pure code Q&A or infrastructure setup.
AI Engineering
18240
🧠
5h ago

Context Management

Context Management helps design token budgets, compression strategies, lazy loading, and persistent memory for long-running AI assistants and multi-session systems. Use it when conversation history, large files, or user preferences need to stay usable without overflowing the context window.
AI Engineering
18240
🧭
5h ago

Conversation Flow

Conversation Flow defines how an AI classifies user intent, routes requests into task-specific paths, and chooses when to ask clarifying questions versus proceed autonomously. Use it for multi-step assistants and agents that need structured dialogue management.
AI Engineering
18240
🛡️
5h ago

Injection Defense

Injection Defense helps design system prompts that resist prompt injection, jailbreaks, social engineering, and trust-boundary breaks. Use it for agents or chatbots that process external content like documents, web pages, email, or memory.
AI Engineering
18240