Tech
I gave my agent a skill so it stops asking where my files are
Claude Code skills are easy to write. The hard part nobody documents: how does the skill know where your app's files live on someone else's machine?
I hit this building a skill for my Mac screenshot app. The skill needs to read the latest capture. On my machine that folder is one path. On yours it's wherever you set it in preferences. Hardcode it and the skill breaks for everyone but me.
Here is the pattern that fixed it, in three parts.
What a skill is, in one paragraph
A ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to