Skills
Package repeated Claude Code prompts as SKILL.md skills with a config.json and an allowed-tools fence
Any instruction set you retype at the start of relevant sessions ('write tests in Vitest, prefer integration tests') should become a skill: a folder under ~/.claude/skills/<name>/ with a SKILL.md carrying YAML frontmatter (name, description) that Claude auto-discovers and invokes. Two underused refinements — store per-user setup in a config.json so the agent asks for missing values rather than guessing, and add `allowed-tools: Bash Read` to fence a skill out of file-writing as a cheap safety boundary. Because skills follow the cross-platform Agent Skills standard, the same packaged expertise carries across multiple coding agents.
Source
↳ Follow the thread