問題文
A team writes a skill that summarizes recent changes for a release note. The skill should be able to read files and search the codebase, but must never modify files or run arbitrary shell commands. How is this expressed?
選択肢
- Use argument-hint to restrict the arguments the skill accepts.
- Set the skill's context to fork so that any file changes are discarded.
- Declare allowed-tools in the SKILL.md frontmatter, listing only the read and search tools.
- Add a sentence to the skill body instructing Claude not to modify files.