Skip to content

feat: add live official-docs cross-check to settings-audit#35

Merged
b4tchkn merged 3 commits into
mainfrom
feat/settings-audit-fetch-latest-docs
Jun 20, 2026
Merged

feat: add live official-docs cross-check to settings-audit#35
b4tchkn merged 3 commits into
mainfrom
feat/settings-audit-fetch-latest-docs

Conversation

@b4tchkn

@b4tchkn b4tchkn commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a "fetch latest official docs" step to the settings-audit skill so audits reconcile against live Claude Code documentation instead of relying solely on a static baseline that can drift as keys are deprecated or added.

Changes

  • Add Step 0: Fetch Latest Official Docs — WebFetch the current settings page, JSON schema, permissions, and hooks docs before auditing; reconcile conflicts in favor of live docs.
  • Note the docs.claude.comcode.claude.com 301 redirect handling and the fail-safe behavior (mark findings "verification needed (docs unreachable)" rather than guessing) when a fetch fails.
  • Require each finding to record its doc source (page + key).
  • Add WebFetch to allowed-tools.

Context

This folds in the only meaningful capability from a local audit-global-settings skill (live-docs cross-check) rather than registering a near-duplicate skill — settings-audit --scope user already covers its scope.

Add a Step 0 that WebFetches the current Claude Code settings/schema/permissions/hooks docs and reconciles them against the static baseline before auditing. Record the doc source per finding and mark doc-dependent findings as 'verification needed' when a fetch fails. Add WebFetch to allowed-tools.
@b4tchkn b4tchkn marked this pull request as ready for review June 20, 2026 10:07
b4tchkn and others added 2 commits June 20, 2026 19:38
Multiple bracket groups in argument-hint caused YAML parse errors.
Also quoted allowed-tools containing | in semantic-branch.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SggtVS3REvTDFL9t5CHkgr
@b4tchkn b4tchkn merged commit c0f40a9 into main Jun 20, 2026
1 check passed
@b4tchkn b4tchkn deleted the feat/settings-audit-fetch-latest-docs branch June 20, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant