Portable agent skill · One Markdown file

The shortest complete answer.

if asks an agent to cut redundancy—never what the answer needs to be correct, safe, clear, and complete.

Illustrative edit — not benchmark output.

Less, without losing the point.

Prompt

How do I delete a local Git branch named demo?

Before

Redundancy included

Sure—to delete the local Git branch named demo, run this command:

git branch -d demo

The -d flag protects unmerged work. If Git refuses, you can use -D, but only when you intentionally accept losing those commits.

With if

Warning preserved
git branch -d demo

Git refuses if demo has unmerged commits; use -D only if you intentionally accept losing them.

Method

Complete first. Edit second.

  1. 01

    Complete first

    Brevity never outranks correctness, safety, requirements, material facts, or uncertainty.

  2. 02

    Cut redundancy, not substance

    Remove greetings, restatement, repetition, decoration, and unrequested process narration.

  3. 03

    Keep exact content exact

    Preserve code, commands, errors, values, URLs, identifiers, and required formats when their exact form matters.

Install

One file.
No machinery.

Download SKILL.md and save it here. The base directory depends on your compatible agent host.

destination <agent-skills-directory>/if/SKILL.md
  • No scripts
  • No dependencies
  • No permissions
  • No network calls

Source

Open source, open method.

Read the skill, inspect the benchmark methodology, and contribute cases on GitHub. The benchmark is under active development; no public benchmark result is available yet.