CCAR-F practice › Claude Code Configuration & Workflows · Question 52 of 105
Claude Code Configuration & Workflows · Select TWO
A team's /scaffold-tests skill should only create test files and must never run shell commands. Developers also often invoke it without saying which module to target, and it then guesses. Which two SKILL.md frontmatter changes address these problems? Select two.
Show answer and explanation
Answer: B and C — Set allowed-tools so the skill is limited to file reading and writing tools / Add argument-hint describing the module path parameter the skill expects
allowed-tools restricts which tools the skill can use while it runs, so limiting it to file operations prevents shell or destructive actions. argument-hint prompts developers for the required parameter when they invoke the skill without arguments. (A) isolates the skill's context but doesn't restrict its tools. (D) is an instruction in the body rather than a configuration restriction, and it isn't a frontmatter change.
Keep going
More Claude Code Configuration & Workflows questions
- A senior engineer wants the team's shared /review skill to apply her own extra security…
- The root CLAUDE.md contains 250 lines of Terraform conventions. Most sessions are spent…
- Each of a platform's 14 services keeps its SQL migrations in its own db/migrations/…
- Storybook story files (*.stories.tsx) sit next to their components in about 60…
- A production error's stack trace points to a missing null check on line 88 of…