Communitygithub.com

VMAFx/ffmpeg-patches

Format complex technical reports, architectural reviews, and diagnostic outputs for high cognitive focus, executive clarity, and ADHD readability using visual hierarchy, bionic bolding, chunked lists, and alert callouts.

ffmpeg-patches 是什麼?

ffmpeg-patches is a Claude Code agent skill that format complex technical reports, architectural reviews, and diagnostic outputs for high cognitive focus, executive clarity, and ADHD readability using visual hierarchy, bionic bolding, chunked lists, and alert callouts.

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/VMAFx/ffmpeg-patches/tree/HEAD/.agents/skills/adhd-format

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

High-Focus Technical Formatting (adhd-format)

Adapted from i-have-adhd by Ayoub Ghriss and contributors; MIT licence.

Transform dense engineering outputs, audit findings, and architecture documentation into high-bandwidth, ADHD-optimized visual deliverables.

Core Formatting Principles

Forge-facing prose (issues, PR bodies, review comments, commit bodies) uses social-text skill, which inherits this one.

  1. Lead with Bottom Line (BLUF):

    • State decision, status, or actionable conclusion in very first sentence.
    • Eliminate filler preambles (Here is the report, Based on my analysis).
  2. Visual Scannability & Anchor Bolding:

    • Bold first 2-4 words or operative action of every bullet point.
    • Restrict paragraphs to at most 2-3 sentences.
    • Use high-contrast Markdown tables for multi-attribute comparisons.
  3. Strategic Alert Callouts:

    • Use GitHub-style alerts sparingly for immediate cognitive anchoring:
      • > [!IMPORTANT] for blocking requirements or invariants.
      • > [!WARNING] for deprecations or breaking risks.
      • > [!TIP] for operational shortcuts and command patterns.
  4. Diagrammatic Synthesis:

    • When explaining state transition, sequence, or lattice relationship, include compact Mermaid diagram ($\le 6$ nodes).
  5. Progressive Disclosure:

    • Provide summary matrices first, actionable CLI commands second, and deep implementation details collapsed or linked below.

Transformation Pattern

❌ Anti-Pattern (Cognitive Fatigue)

"In evaluating the repository against HISS-04, we noticed that several functions in the compiler package have cyclomatic complexity values exceeding the threshold of 10. Specifically, compileAstNode has a complexity of 14, and its length is 92 lines which also violates the 60 line limit. We should refactor this into sub-functions."

✅ ADHD-Optimized Pattern

🚨 HISS-04 Complexity Infraction

FunctionCyclomaticLimitFunc LOCLimitStatus
compiler.compileAstNode14$\le 10$92$\le 60$❌ Blocked

Immediate Action Required:

  • Extract node visit logic into visitExpression() and visitStatement().
  • Target reduction: Reduce cyclomatic complexity from 14 to $\le 8$.
flowchart LR
    NODE["compileAstNode (LOC 92)"] --> EXPR["visitExpression (LOC 35)"]
    NODE --> STMT["visitStatement (LOC 40)"]

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相關技能