Back to dashboardSkill authoring and input-contract audit — 2026-12-01

Skill authoring and input-contract audit — 2026-12-01

Source base: 01f8513. Installed Claude Code: 2.1.332. Scope: all fourteen native skills, their human manuals, source validators and local distribution.

Findings and changes

FindingEvidenceChange
Missing argument hints and uneven invocation bindingPrevious SKILL.md files had no argument-hint; several relied on appended arguments or contextEvery skill now has native argument-hint and one explicit full $ARGUMENTS binding
Unclear required/optional and omission behaviorRequirements were embedded in paragraphs; no consistent per-input tableRequired, conditional-before-action and optional information, defaults/discovery and no-argument behavior documented in runtime and manual
Dense primary instructionsLong procedures/repeated policy obscured workflow and outputStructured short primary files; per-skill detailed procedure and common references linked directly
Discovery descriptions and human usage were inconsistentPredominantly imperative descriptions, generic invocation examplesThird-person what/when descriptions; minimal/full examples and docs/skill-usage.md for all fourteen commands
Source checks could not catch input-contract driftMetadata/inventory/link checks onlySupported quoted metadata/hint validation and runtime/catalog/manual omission/example/input alignment checks; meaningful mutation regressions

Sources and interpretation

Read official Claude Code skills and Anthropic authoring best practices on 2026-12-01. Observations: source record. These support native hints/substitution, third-person what/when discovery, concise primary instructions, direct progressive disclosure, concrete examples and real-use evaluation. Stable responsibility-based names remain unchanged.

argument-hint is autocomplete guidance, not native required-argument validation. Foundry uses free-form request text; required information can come from explicit conversation or inspected records. Missing conditional prerequisites block dependent execution. No arbitrary skill-level CLI flags or native required-arguments schema were invented. The catalog is only documentation/QA data. Helper flags remain enforced only by their actual Python CLI parsers.

Project-specific conventions (structured headings, 4,000-byte budget, quoted single-line metadata and conservative allowed-field subset) are distinguished from official requirements/recommendations. Native Claude Code extensions are not claimed valid for direct claude.ai/Skills API upload. No allowed-tools/model grant or dynamic shell substitution was added.

Qualification

Final local results: 113 regression tests passed; supported metadata/context-budget checks, handbook contract checks (424 links), doctor, native inventory and whitespace checks passed. All fourteen skills and fourteen direct procedures matched source after disposable installation; uninstall preserved an application sentinel. Primary skill files are 2,278–3,139 bytes. Actual argv/exits/output and file hashes: skill-authoring-checks.json. The updated teaching snippet/setup graphic was regenerated and visually inspected. Root STATE/ROADMAP matched pristine seeds byte-for-byte. Regression tests exercise actual metadata decoding and detection of changed input requirements, hints, defaults, binding, missing references and fixture coverage. A disposable managed install verifies all revised native skills and their procedures match source; rollback must preserve an application sentinel. Product state stays pristine.

Forty-two semantic scenarios (at least three per skill: ordinary invocation, missing input and malicious embedded context) are prepared under evaluation/skill-authoring-cases.json. They are NOT_RUN: offline fixture lint is not a semantic evaluation. No live native autocomplete/argument substitution, real-use skill behavior or Haiku/Sonnet/Opus evaluation was executed. Independent final reviewer remains unavailable following the previously observed service usage limit; no completed semantic review or official certification is claimed. Native plugin inventory does not fully validate metadata, as its negative control demonstrates. No package/global/credential/paid-service/model operation was used.