GillMacedo

Add Real Example — Development skill for Claude Code

Development community

Add a real-project example for: $ARGUMENTS.

How to install Add Real Example

Installs to ~/.claude/commands/gillmacedo-escapediff-add-real-example.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/GillMacedo/escapediff/HEAD/.claude/commands/add-real-example.md -o ~/.claude/commands/gillmacedo-escapediff-add-real-example.md

Restart Claude Code, or start a new session, for it to be picked up.

What Add Real Example does

Add a real-project example for: $ARGUMENTS

  1. Clone the open-source project, check its license allows including compiler output, and pick a commit that changes escape analysis or inlining.
  2. From the clone, run go run /plugin/scripts/escapediff.go git --head C --save DIR C^, and copy DIR/base.log and DIR/head.log to examples/logs/real/--base.log and -head.log.
  3. Read the commit's diff and check that every finding matches a real change. Note the comm

Alternatives in Development

  • Claude Code Examples — Official example projects and patterns from Anthropic 35.6k ★
  • Example Plugin — Reference implementation for plugin developers 14k ★
  • Claude How To — by luongnv89 — Example-driven guide to mastering Claude Code through progressive tutorials with copy-paste tem 8.5k ★

Full documentation available on GitHub

View Source Repository