A developer wants to create a reusable workflow that: reads the curren — Daily Challenge 2026-07-21 — Claude Cert Academy

A developer wants to create a reusable workflow that: reads the current git diff, identifies breaking API changes, checks if they're documented in CHANGELOG.md, and posts a summary. This workflow needs to read files and run git commands. Should this be a slash command or a skill?

Answer: Skill — it requires tool access (Bash for git, Read for files) and multi-step decision-making beyond static template substitution

This workflow requires tool access (Bash to run git diff, Read to check CHANGELOG.md) and conditional logic (if breaking changes not documented, post a warning). These capabilities are only available in skills — skills are dynamic capabilities that can use tools. Slash commands are static prompt templates with variable interpolation only (A, C) — they cannot run Bash commands or access the filesystem. There's no {{bash}} interpolation in slash commands. The workflow is entirely feasible as a Claude Code skill and doesn't require GitHub Actions (D).

Continue to Claude Cert Academy