workflow-claude-settings
The workflow-claude-settings command launches two parallel research agents to audit the claude-code-best-practice project's Settings Reference documentation against current Claude Code official sources, checking the last N versions (default 10) for drift in settings keys, defaults, permissions, hooks, MCP configuration, sandbox options, and environment variables. Use this when the Settings Reference report may be outdated and you need a structured findings report identifying missing, changed, deprecated, or newly added settings before deciding whether to update the documentation.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/HEAD/.claude/commands/workflows/best-practice/workflow-claude-settings.md -o ~/.claude/commands/workflow-claude-settings.mdworkflow-claude-settings.md
# Workflow Changelog — Settings Report You are a coordinator for the claude-code-best-practice project. Your job is to launch two research agents in parallel, wait for their results, merge findings, and present a unified report about drift in the **Settings Reference** report (`best-practice/claude-settings.md`). **Versions to check:** `$ARGUMENTS` (default: 10 if empty or not a number) This is a **read-then-report** workflow. Launch agents, merge results, and produce a report. Only take action if the user approves. --- ## Phase 0: Launch Both Agents in Parallel **Immediately** spawn both agents using the Task tool **in the same message** (parallel launch): ### Agent 1: workflow-claude-settings-agent Spawn using `subagent_type: "workflow-claude-settings-agent"`. Give it this prompt: > Research the claude-code-best-practice project for settings report drift. Check the last $ARGUMENTS versions (default: 10). > > Fetch these 3 external sources: > 1. Settings Documentation: https://code.claude.com/docs/en/settings > 2. CLI Reference: https://code.claude.com/docs/en/cli-reference > 3. Changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md > > Then read the local report file (`best-practice/claude-settings.md`) and the CLAUDE.md file. Analyze differences between what the official docs say about settings keys, permission syntax, hook events, MCP configuration, sandbox options, plugin settings, model aliases, display settings, and environment variables versus what our report documents. Return a structured findings report covering missing settings, changed types/defaults, new settings additions, deprecated settings, permission syntax changes, hook event changes, MCP setting changes, sandbox setting changes, environment variable completeness, example accuracy, settings hierarchy accuracy, and sources validity. ### Agent 2: claude-code-guide Spawn using `subagent_type: "claude-code-guide"`. Give it this prompt: > Research the latest Claude Code settings system. I need you to find: > 1. The complete list of all currently supported settings.json keys with their types, defaults, and descriptions > 2. Any new settings keys introduced in recent Claude Code versions > 3. Changes to existing settings behavior (e.g. new permission modes, new hook events, new sandbox options) > 4. Changes to the settings hierarchy (new priority levels, new file locations) > 5. Changes to permission syntax (new tool patterns, new wildcard behavior) > 6. New hook events or changes to hook configuration structure > 7. Changes to MCP server configuration (new matching fields, new settings) > 8. Changes to sandbox settings (new network options, new commands) > 9. Changes to plugin configuration (new fields, new marketplace options) > 10. Changes to environment variables (new vars, deprecated vars, changed behavior) > 11. Changes to model aliases or model configuration > 12. Changes to display/UX settings (status line, spinners, progress bars) > 13. Any deprecations or removals of settings keys > > Be thorough — search the web, fetch docs, and provide concrete version numbers and details for everything you find. Both agents run independently and will return their findings. --- ## Phase 0.5: Read Verification Checklist **While agents are running**, read `changelog/best-practice/claude-settings/verification-checklist.md`. This file contains accumulated verification rules — each rule specifies what to check, at what depth, and against which source. Every rule MUST be executed during Phase 2. The checklist is the project's regression test suite for drift detection. --- ## Phase 1: Read Previous Changelog Entries **Before merging findings**, read the file `changelog/best-practice/claude-settings/changelog.md` to get the last 25 changelog entries. Each entry is separated by `---`. Parse the priority actions from those previous entries so you can compare them against the current findings. This lets you identify: - **Recurring items** — issues that appeared before and are still unresolved - **Newly resolved items** — issues from previous runs that are now fixed - **New items** — issues that appear for the first time in this run --- ## Phase 2: Merge Findings & Generate Report **Wait for both agents to complete.** Once you have: - **workflow-claude-settings-agent findings** — detailed report analysis with local file reads, external doc fetches, and drift detection - **claude-code-guide findings** — independent research on latest Claude Code settings features and changes Cross-reference the two. The dedicated agent provides report-specific drift analysis, while the claude-code-guide agent may surface things it missed (e.g. very recent changes, undocumented features, or context from web searches). Flag any contradictions between the two for the user to resolve. **Execute the verification checklist:** For every rule in `changelog/best-practice/claude-settings/verification-checklist.md`, perform the check at the specified depth using the agent findings as source data. Include a **Verification Log** section in the report showing each rule's result: ``` Verification Log: Rule # | Category | Depth | Result | Notes 1 | Settings Keys | field-level | PASS | All keys match 2 | Permission Syntax | content-match | FAIL | New tool pattern added ... ``` **Update the checklist if needed:** If a finding reveals a new type of drift that no existing checklist rule covers (or covers at insufficient depth), append a new rule to `changelog/best-practice/claude-settings/verification-checklist.md`. The rule must include: category, what to check, depth level, what source to compare against, date added, and the origin (what error prompted this rule). Do NOT add rules for one-off issues that won't recur. Also compare the current findings against the previous changelog entries (from Phase 1). For each priority action, mark it as: - `NEW` — first time this issue appears
Research agent that fetches GitHub repos, counts agents/skills/commands, gets star counts, and analyzes Claude Code workflow repositories
PROACTIVELY use this agent whenever the user wants to update, modify, rearrange, or fix the CLAUDE-CODE-BEST-PRACTICE presentation (`presentation/claude-code-best-practice/index.html`) — slides, structure, styling, level transitions, or content reuse from other decks. This is the canonical reusable Claude Code best-practices deck. Do NOT use this agent for the vibe-coding presentation (use `presentation-vibe-coding`) or the GDG Kolachi claude-gemini presentation (use `presentation-claude-gemini`).
PROACTIVELY use this agent whenever the user wants to update, modify, rearrange, or fix the CLAUDE-GEMINI presentation (`presentation/2026-04-25-gdg-kolachi-cli-claude-code-gemini/index.html`) — slides, structure, styling, journey bar levels, or day/level organization. Do NOT use this agent for the vibe-coding presentation (use `presentation-vibe-coding` instead).
PROACTIVELY use this agent whenever the user wants to update, modify, or fix the VIBE-CODING presentation (`presentation/vibe-coding-to-agentic-engineering/index.html`) — slides, structure, styling, or level transitions. Do NOT use this agent for the claude-gemini presentation (use `presentation-claude-gemini` instead).
Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5). (root scope — see agent-teams for Dubai time)
Use this agent PROACTIVELY when you need to fetch weather data for Dubai, UAE. This agent fetches real-time temperature by invoking the weather-fetcher skill via the Skill tool.
Display the current time in Pakistan Standard Time (PKT, UTC+5)
Fetch Dubai weather and create an SVG weather card