Question 390
A Skill needs a short procedure plus a long reference manual used only for rare cases. How should it organize this content?
- Keep core instructions concise and reference supporting material for use when needed.
- Replace all examples with links that have no applicability explanation.
- Paste the entire manual into every user message.
- Omit the reference entirely because it is long.
- Store the manual as a secret environment variable.
Explanation
Correct Answer
A:Separating routine guidance from optional detail preserves context while keeping specialized information available.
Incorrect Answers
B:References still need enough context for the assistant to know when and why to consult them.
C:Repeated bulk context increases cost and distracts from the current task.
D:Removing needed specialized guidance creates avoidable gaps for the rare cases that depend on it.
E:A reference document is not a credential, and environment variables are not a useful retrieval interface for long guidance.
Question 391
A Skill launches a bundled script with a user-supplied filename. The filename can contain spaces and shell metacharacters. Which launcher best preserves it as one data argument?
- Use shell concatenation and reject filenames only when they contain spaces.
- Remove only spaces and leave other shell syntax untouched.
- Concatenate the filename into a shell command without quoting.
- Append the filename to the executable name as one command string.
- Use an argument-vector subprocess API without shell interpretation.
Explanation
Correct Answer
E:Separate argument elements preserve the filename boundary, while avoiding a shell prevents its metacharacters from being interpreted as operators. The script still needs normal input and path validation.
Incorrect Answers
A:Shell syntax includes more than spaces. An argument-vector API avoids interpreting the user-controlled filename as shell program text.
B:Partial character filtering can corrupt valid filenames while leaving metacharacters capable of altering shell execution.
C:Spaces can split the value into multiple arguments, and shell operators can change the command's meaning. This crosses the data-to-shell boundary unsafely.
D:That confuses the program's identity with its data argument and still requires unsafe interpretation to recover the intended invocation.
Question 392
A team wants to distribute several related Skills, commands, and integration configuration together. What is the main value of a plugin package where the host supports it?
- It guarantees every bundled tool is authorized for every user.
- It eliminates dependency and version management.
- It packages related capabilities for coordinated installation and reuse.
- It converts procedural text into a new trained foundation model.
- It ensures all external services remain available.
Explanation
Correct Answer
C:A distribution bundle can keep related components and their configuration together across installations. Distribution simplifies coordinated installation, while authorization, service connectivity, and version compatibility still require separate configuration and verification.
Incorrect Answers
A:Installation and authorization are separate; users and environments may have different permissions.
B:Bundled components still require compatible versions, maintenance, and testing.
D:Packaging extensions does not change the underlying model's trained parameters.
E:Packaging cannot guarantee the uptime of dependencies outside the host.
Question 393
A deterministic text conversion must run entirely inside an offline execution environment. Which customization fits this deployment constraint?
- Ask the model to claim the conversion completed without running it.
- Package an audited local script with its required dependencies.
- Install a connector whose sole backend is external and omit local execution.
- Put the remote API's URL into the output schema.
- Use only a remote conversion API and assume the model supplies connectivity.
Explanation
Correct Answer
B:A local executable can perform the deterministic operation without depending on an unavailable remote service.
Incorrect Answers
A:An assertion supplies neither the transformed artifact nor evidence of successful execution.
C:That retains the network dependency the environment explicitly cannot satisfy.
D:A URL reference does not execute the conversion or make the remote service reachable.
E:A model cannot create network access that the offline environment does not provide.
Question 394
A supported agent setup has hundreds of specialized tools, but each task needs only a few. Sending every full definition consumes excessive context. Which capability should the team evaluate?
- Deferred tool discovery that loads relevant definitions when needed.
- Supply a prose list of tool names and assume their current schemas.
- Delete the definitions but continue accepting any guessed tool name.
- Shorten every tool description to its name while sending all tools.
- Use arbitrary numeric tool names and omit their parameter schemas.
Explanation
Correct Answer
A:A supported tool-search mechanism can keep the complete catalog discoverable without placing every schema into the initial context. The harness must still expose selected definitions correctly before the model uses them.
Incorrect Answers
B:Names alone do not provide parameter or behavior contracts. Discovery should load the relevant current definitions before those capabilities are used.
C:That removes the usable contract and can allow unsupported or ambiguous dispatch. Deferred discovery preserves an actual registered catalog.
D:This reduces information needed for accurate selection and still loads the whole catalog. Supported deferred discovery preserves detailed definitions when needed.
E:Compact names do not replace model-facing semantics and valid input contracts. Context savings must preserve the information necessary for correct calls.
Question 395
A team wants a Claude Code plugin declaration shared through repository configuration, rather than installed only for one developer's unrelated projects. Which installation scope fits?
- Mention the plugin only in a shared CLAUDE.md procedure.
- The documented project scope.
- User scope only, with no repository declaration.
- A local-only project override intentionally excluded from version control.
- Install it for one user account and copy only that user's local cache.
Explanation
Correct Answer
B:Project-scoped configuration records the plugin choice with the repository so teammates can use the shared setup under their own environment's installation and trust rules. It is distinct from a user's global choice.
Incorrect Answers
A:Procedure text can tell teammates about a plugin but does not record its installation declaration in the documented project configuration scope.
C:A user-scoped installation follows that individual's configuration and does not by itself record the team's repository-level requirement.
D:A personal local override is useful for experiments but does not distribute the plugin declaration through shared repository configuration.
E:A copied cache is not the repository's documented plugin declaration and does not reliably distribute configuration to teammates.
Question 396
A team owns a custom integration that relies on an external API. Which THREE practices support maintainability? Choose THREE.
- Assume a successful first demo proves permanent compatibility.
- Assign ownership and document configuration and recovery procedures.
- Suppress all integration errors so the UI always looks healthy.
- Track dependency versions and review relevant upstream changes.
- Keep a tested contract for requests, responses, and error cases.
- Copy production secrets into the integration's public README.
Explanation
Correct Answers
B:Operational responsibility and usable documentation make maintenance and incident response repeatable.
D:Version awareness helps the team plan migrations and investigate behavior changes.
E:Contract tests reveal incompatible changes at the boundary the integration depends on.
Incorrect Answers
A:An initial success provides no guarantee about future API or environment changes.
C:Hidden failures prevent diagnosis and produce misleading success signals.
F:Documentation should explain configuration without exposing credentials to readers.
Question 397
An extension works on its author's machine because a required package is installed globally, but it fails in a clean supported environment. What packaging correction addresses this?
- Add a longer description of the package to the Skill's instructions.
- Mark the package as an optional extra even though every run requires it.
- Remove the dependency declaration because the author already has the package.
- Test only inside the author's existing global environment.
- Declare the runtime dependency and verify installation in a clean environment.
Explanation
Correct Answer
E:A package must describe the components it relies on rather than depending on accidental global state. A clean installation test demonstrates whether its declared setup is sufficient.
Incorrect Answers
A:Description text does not install an importable runtime dependency. The distribution must declare what a clean supported environment needs.
B:A required runtime import cannot depend on users choosing an optional extra. The declared installation contract must match actual mandatory dependencies.
C:The author's machine is not the installation target's environment. Omitting the dependency preserves the same clean-install failure.
D:That environment already hides the undeclared dependency. Verification needs a clean setup that relies on the package's own installation contract.
Question 398
A team wants one live business capability available to several different MCP-compatible hosts through a common integration contract. Which surface most directly supports that reuse?
- Distribute only a prose checklist with no executable service integration.
- Publish only per-host instruction files describing direct backend calls.
- Expose the capability through an MCP server.
- Require every host to recreate the backend implementation independently.
- Replace the live service with a static answer stored in each host.
Explanation
Correct Answer
C:A shared protocol interface lets compatible hosts discover and invoke the capability without separate bespoke adapters for every host. Each deployment still needs appropriate authentication and supported capability handling.
Incorrect Answers
A:Instructions can explain a procedure but do not provide the callable connection to the live business system.
B:Instructions alone do not provide the common callable protocol surface requested. Each host would still need its own integration implementation.
D:Duplicating service logic increases maintenance and divergence; it does not meet the goal of reusing one capability through a common contract.
E:A fixed answer cannot preserve input-dependent, changing business behavior across consumers.
Question 399
A reusable integration works only because one developer's home-directory path is hard-coded in it. What should change before team distribution?
- Remove all path validation to avoid setup errors.
- Parameterize environment-specific paths and document required setup.
- Hide the hard-coded path in a longer prompt.
- Require every teammate to adopt the same personal username.
- Replace the path with a guessed URL.
Explanation
Correct Answer
B:Resolve paths from configuration and validate them at startup so different installations can use equivalent resources without imitating one developer's filesystem.
Incorrect Answers
A:Skipping validation delays discovery of invalid configuration and can cause writes to unintended locations.
C:Concealing the dependency does not make it valid on other machines.
D:Matching one machine's incidental path is brittle and unnecessary for a portable integration.
E:A different unverified location does not establish access to the intended resource.
Question 400
A team plans to remove an extension that supplies a tool used by several workflows. What should it do first?
- Delete it and assume models will recreate the missing service.
- Keep stale tool descriptions so workflows appear unchanged.
- Remove the extension's name from logs while leaving calls untouched.
- Identify dependent workflows and provide a migration or explicit failure path.
- Treat successful unrelated workflows as proof there are no dependencies.
Explanation
Correct Answer
D:Removing an integration changes available capabilities; dependencies must be handled to avoid silent workflow breakage.
Incorrect Answers
A:A model cannot automatically replace authenticated service access that no longer exists.
B:Advertising unavailable tools causes misleading planning and predictable execution failures.
C:Renaming observations does not address the missing runtime capability.
E:Only the workflows that actually use the removed capability can reveal the relevant dependency impact.