Module 5: Skills and Automation
A library of skills, slash commands and hooks that run your workflows on demand, so you stop re-typing your best prompts every session.
Lessons
- Where each need lives. Nine things the billing-api team wants automated. Put each on a skill, a hook or a subagent, and run the moment it comes up.
- The description decides. A skill that never fires on Priya's request. Change the skill and run her request until it fires.
- A skill the team inherits. Build release-notes part by part: where it lives, its description, who can invoke it, its body. Then run the team's week.
- A guardrail that guards. Priya's PR claims two hard rules. Flag every line that will not hold, then try to break the guards.
- The 7am job. A scheduled claude -p run that wrote nothing. Predict why, fix the cron line, then test the guard.
- Fresh check. A case you have not seen: a skill with a test input that has no release notes. Two decisions. Your first result is kept.
What you take away
- A skill is a folder plus SKILL.md, led by a description (name defaults to the folder); the body loads only when the skill is invoked
- The description routes everything: write it in the user's vocabulary with concrete trigger phrases
- Automatic expertise means a skill, a procedure only you fire means a skill with disable-model-invocation: true, isolation means a subagent, a hard guarantee means a hook
- Fix the skill, not the chat: corrections written into the artifact compound across every future run
- claude -p turns any skill into schedulable automation with a single command line
Field exercises
- Create a Changelog Skill From Scratch
- Write a Trigger Description That Actually Fires
- Build a Lead Research Skill With a Verification Gate
- Chain Three Slash Commands Into a Product Workflow
- Plan Then Review a CLI Build
- Block File Edits With PreToolUse Hook
- Measure and Test a Shorter Skill
- Run Claude Headless for Scheduled Automation
- Ship a Project-Scoped Skill Your Team Can Use