claude-code-ultimate-guide-mcp 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1625 @@
1
+ # claude-code-reference.yaml
2
+ # Quick lookup for Claude Code - comprehensive index
3
+ # Source: guide/ultimate-guide.md
4
+ # Purpose: Condensed index for LLMs to quickly answer user questions about Claude Code
5
+
6
+ version: "3.29.0"
7
+ updated: "2026-02-26"
8
+
9
+ # ════════════════════════════════════════════════════════════════
10
+ # DEEP DIVE - Line numbers in guide/ultimate-guide.md
11
+ # Usage: Read file at line N for detailed documentation on topic
12
+ # For architecture internals, see guide/architecture.md
13
+ # ════════════════════════════════════════════════════════════════
14
+ deep_dive:
15
+ # Visual Diagrams Series (40 Mermaid diagrams)
16
+ mermaid_diagrams:
17
+ path: "guide/diagrams/"
18
+ description: "41 interactive Mermaid diagrams: model selection, agent lifecycle, memory hierarchy, security threats, multi-agent patterns, AI fluency paths"
19
+ files: 10
20
+ total_diagrams: 40
21
+ # AI-Assisted Development Workflows (from MetalBear/arXiv research)
22
+ exploration_workflow: "guide/workflows/exploration-workflow.md"
23
+ script_generation: "guide/workflows/iterative-refinement.md:200"
24
+ anti_anchoring_prompts: "examples/semantic-anchors/anchor-catalog.md:248"
25
+ session_limits: "guide/architecture.md:442"
26
+ claudemd_sizing: 3054
27
+ scope_success_rates: "guide/adoption-approaches.md:26"
28
+ # Claude Code Releases
29
+ claude_code_releases: "guide/claude-code-releases.md"
30
+ claude_code_releases_yaml: "machine-readable/claude-code-releases.yaml"
31
+ # Code Review Automation (Pat Cullen, Jan 2026)
32
+ review_pr_advanced: "examples/commands/review-pr.md:81"
33
+ review_anti_hallucination: "examples/agents/code-reviewer.md:77"
34
+ review_auto_fix_loop: "guide/workflows/iterative-refinement.md:353"
35
+ # Review Plan Command (Garry Tan-inspired, Feb 2026)
36
+ review_plan_command: "examples/commands/review-plan.md"
37
+ # GitHub Actions: Prompt-Based Code Review (Feb 2026)
38
+ github_actions_code_review_workflow: "examples/github-actions/claude-code-review.yml"
39
+ github_actions_code_review_prompt: "examples/github-actions/prompts/code-review.md"
40
+ github_actions_code_review_pattern: "externalized prompt + anti-hallucination protocol + /claude-review on-demand trigger"
41
+ github_actions_code_review_tools: "Read, Glob, Grep + GitHub PR inspection (read-only)"
42
+ github_actions_code_review_auth: "OAuth token (Claude Max plan, 0$ API) or ANTHROPIC_API_KEY"
43
+ github_actions_cost_per_review: "0$ with OAuth/Max plan; ~0.05-0.15$ with API key (Sonnet, ~5K tokens diff)"
44
+ # Rules Templates (auto-loaded .claude/rules/)
45
+ rules_templates_directory: "examples/rules/"
46
+ rules_architecture_review: "examples/rules/architecture-review.md"
47
+ rules_code_quality_review: "examples/rules/code-quality-review.md"
48
+ rules_test_review: "examples/rules/test-review.md"
49
+ rules_performance_review: "examples/rules/performance-review.md"
50
+ # Team Configuration at Scale (Profile-Based Module Assembly)
51
+ team_ai_instructions_section: "guide/ultimate-guide.md#35-team-configuration-at-scale"
52
+ team_ai_instructions_workflow: "guide/workflows/team-ai-instructions.md"
53
+ team_ai_instructions_profile_template: "examples/team-config/profile-template.yaml"
54
+ team_ai_instructions_skeleton: "examples/team-config/claude-skeleton.md"
55
+ team_ai_instructions_sync_script: "examples/team-config/sync-script.ts"
56
+ team_ai_instructions_pattern: "profiles YAML + shared modules + skeleton + assembler script"
57
+ team_ai_instructions_problem: "N devs × M tools × P OS = fragmented AI instructions"
58
+ team_ai_instructions_token_savings: "59% context token reduction (measured, 5-dev team)"
59
+ team_ai_instructions_threshold: "Team 5+ devs with multiple AI tools"
60
+ # Known Issues & Critical Bugs (verified community reports)
61
+ known_issues: "guide/known-issues.md"
62
+ known_issues_github_bug: "guide/known-issues.md:7" # GitHub auto-creation bug
63
+ known_issues_token_consumption: "guide/known-issues.md:105" # Excessive token usage
64
+ known_issues_model_quality_aug2025: "guide/known-issues.md:197" # Resolved: Aug 2025 degradation
65
+ # Template Installation
66
+ install_templates_script: "scripts/install-templates.sh"
67
+ # Session management
68
+ session_search: "guide/observability.md:38"
69
+ session_search_script: "examples/scripts/session-search.sh"
70
+ cc_sessions_script: "examples/scripts/cc-sessions.py"
71
+ session_resume_limitations: "guide/observability.md:126"
72
+ session_cross_folder_migration: "guide/observability.md:126"
73
+ session_migration_manual: "guide/observability.md:126"
74
+ session_migration_risks: "guide/observability.md:126"
75
+ session_migration_community_tool: "guide/observability.md:52"
76
+ session_migration_issue: "https://github.com/anthropics/claude-code/issues/1516"
77
+ session_migration_weller_skill: "https://github.com/jimweller/dotfiles/tree/main/dotfiles/claude-code/skills/claude-migrate-session"
78
+ # Activity monitoring
79
+ activity_monitoring: "guide/observability.md:467" # Tool call audit via JSONL
80
+ activity_monitoring_queries: "guide/observability.md:467" # jq queries for audit
81
+ activity_monitoring_alerts: "guide/observability.md:467" # Sensitive pattern detection
82
+ external_monitoring_tools: "guide/observability.md:527" # ccusage, claude-code-otel, Akto, MLflow, ccboard
83
+ proxying_claude_code: "guide/observability.md:699" # Proxyman, mitmproxy, ANTHROPIC_API_URL
84
+ ccboard_activity_plan: "docs/resource-evaluations/ccboard-activity-module-plan.md"
85
+ # Cost optimization - Local execution bridge
86
+ bridge_script: "examples/scripts/bridge.py"
87
+ bridge_schema: "examples/scripts/bridge-plan-schema.json"
88
+ bridge_guide: "guide/ultimate-guide.md:20003"
89
+ # Cost optimization - RTK (Rust Token Killer)
90
+ rtk_upstream: "https://github.com/rtk-ai/rtk"
91
+ rtk_website: "https://www.rtk-ai.app/"
92
+ rtk_evaluation: "docs/resource-evaluations/rtk-evaluation.md"
93
+ rtk_guide: "guide/ultimate-guide.md:14553"
94
+ rtk_third_party: "guide/third-party-tools.md:7"
95
+ rtk_claude_md: "examples/claude-md/rtk-optimized.md"
96
+ rtk_skill: "examples/skills/rtk-optimizer/SKILL.md"
97
+ rtk_hook: "examples/hooks/bash/rtk-auto-wrapper.sh"
98
+ rtk_purpose: "Command output filtering before LLM context (60-90% avg reduction)"
99
+ rtk_version_tested: "v0.16.0"
100
+ rtk_score: "5/5"
101
+ rtk_installation: "cargo install rtk or brew install rtk-ai/tap/rtk"
102
+ # Google Antigravity (Agent-First IDE)
103
+ antigravity_guide: "guide/ai-ecosystem.md:1366"
104
+ antigravity_evaluation: "docs/resource-evaluations/google-antigravity-evaluation.md"
105
+ antigravity_proxy: "https://www.npmjs.com/package/antigravity-claude-proxy"
106
+ antigravity_codelabs: "https://codelabs.developers.google.com/getting-started-google-antigravity"
107
+ antigravity_vs_claude: "Claude Code = terminal-first predictability; Antigravity = agent-first autonomy"
108
+ # PDF Generation
109
+ pdf_generation: "guide/workflows/pdf-generation.md"
110
+ pdf_generator_skill: "examples/skills/pdf-generator.md"
111
+ # Talk Preparation Pipeline (6-stage: extract → research → concepts → position → script → revision)
112
+ talk_pipeline_workflow: "guide/workflows/talk-pipeline.md"
113
+ talk_pipeline_skills: "examples/skills/talk-pipeline/"
114
+ talk_pipeline_orchestrator: "examples/skills/talk-pipeline/orchestrator/SKILL.md"
115
+ talk_pipeline_stage1: "examples/skills/talk-pipeline/stage-1-extract/SKILL.md"
116
+ talk_pipeline_stage2: "examples/skills/talk-pipeline/stage-2-research/SKILL.md"
117
+ talk_pipeline_stage3: "examples/skills/talk-pipeline/stage-3-concepts/SKILL.md"
118
+ talk_pipeline_stage4: "examples/skills/talk-pipeline/stage-4-position/SKILL.md"
119
+ talk_pipeline_stage5: "examples/skills/talk-pipeline/stage-5-script/SKILL.md"
120
+ talk_pipeline_stage6: "examples/skills/talk-pipeline/stage-6-revision/SKILL.md"
121
+ talk_pipeline_kimi_template: "examples/skills/talk-pipeline/stage-5-script/templates/kimi-prompt-template.md"
122
+ talk_pipeline_feedback_template: "examples/skills/talk-pipeline/stage-4-position/templates/feedback-draft.md"
123
+ talk_pipeline_modes: "REX (git archaeology) | Concept (skip stage 2)"
124
+ talk_pipeline_outputs: "13-14 files REX mode, 10 files Concept mode"
125
+ talk_pipeline_patterns: "skill chaining + file-based state + tool permission scoping + human-in-the-loop gate + AI-to-AI handoff (Claude → Kimi)"
126
+ talk_pipeline_checkpoint: "Stage 4 CHECKPOINT: user selects angle + title before script starts"
127
+ talk_pipeline_kimi: "kimi.com (free) — copy-paste Stage 5 prompt for AI slide generation"
128
+ # reMarkable 2 + AI (guide/remarkable-ai.md)
129
+ remarkable_ai_guide: "guide/remarkable-ai.md"
130
+ remarkable_mcp_server: "guide/remarkable-ai.md#1-remarkable-mcp--le-game-changer"
131
+ remarkable_mcp_repo: "https://github.com/SamMorrowDrums/remarkable-mcp"
132
+ remarkable_ghostwriter: "guide/remarkable-ai.md#2-ghostwriter--interface-vision-llm"
133
+ remarkable_obsidian_sync: "guide/remarkable-ai.md#3-sync-remarkable--obsidian"
134
+ remarkable_ocr_pipeline: "guide/remarkable-ai.md#4-ocr--ai-pipeline-custom"
135
+ remarkable_ssh_tools: "guide/remarkable-ai.md#5-accès-ssh-et-outils-communautaires"
136
+ remarkable_meeting_workflow: "guide/remarkable-ai.md#10-meeting-notes--ai-summary"
137
+ remarkable_workflows_to_build: "guide/remarkable-ai.md#14-workflows-ai-augmentés-à-construire"
138
+ remarkable_getting_started: "guide/remarkable-ai.md#15-par-où-commencer"
139
+ remarkable_community: "https://github.com/reHackable/awesome-reMarkable"
140
+ # Whitepapers (FR + EN) — 9 focused whitepapers on Claude Code
141
+ whitepapers_url: "https://www.florian.bruniaux.com/guides"
142
+ whitepapers_fr: "whitepapers/fr/" # FR sources (Quarto .qmd)
143
+ whitepapers_en: "whitepapers/en/" # EN sources (Quarto .qmd)
144
+ whitepapers_topics: "foundations, prompting, customization, security, architecture, team, privacy, reference, agent-teams"
145
+ # Learning with AI (guide/learning-with-ai.md)
146
+ learning_quick_check: "guide/learning-with-ai.md:38"
147
+ learning_uval_protocol: "guide/learning-with-ai.md:218"
148
+ learning_claude_config: "guide/learning-with-ai.md:458"
149
+ learning_breaking_dependency: "guide/learning-with-ai.md:575"
150
+ learning_embracing_ai: "guide/learning-with-ai.md:623"
151
+ learning_30day_plan: "guide/learning-with-ai.md:815"
152
+ learning_red_flags: "guide/learning-with-ai.md:612"
153
+ # Productivity Research RCTs
154
+ productivity_rct_metr: "guide/learning-with-ai.md:925" # METR 2025: experienced devs 19% slower on large codebases despite perceiving 20% faster
155
+ productivity_rct_echoes: "guide/learning-with-ai.md:926" # Borg 2025: 30.7% faster (median), ~55.9% habitual users, no maintainability impact downstream
156
+ productivity_maintainability_empirical: "guide/learning-with-ai.md:926" # Empirical data on "AI code is unmaintainable" claim — blind RCT shows no significant difference
157
+ trust_calibration_maintainability_nuance: "guide/ultimate-guide.md:1097" # Nuance: defect rates ≠ maintenance burden (Borg et al. 2025)
158
+ learning_mode_template: "examples/claude-md/learning-mode.md"
159
+ learn_quiz_command: "examples/commands/learn/quiz.md"
160
+ learn_teach_command: "examples/commands/learn/teach.md"
161
+ learn_alternatives_command: "examples/commands/learn/alternatives.md"
162
+ learning_capture_hook: "examples/hooks/bash/learning-capture.sh"
163
+ # Anti-patterns
164
+ vibe_coding_trap: "guide/learning-with-ai.md:87"
165
+ vibe_coding_context_overload: 13097
166
+ vibe_coding_context_overload_source: "Jens Rusitschka, 'Vibe Coding, Level 2' (Jan 2026)"
167
+ vibe_coding_phased_strategy: 13097
168
+ # AI Traceability & Attribution (guide/ai-traceability.md) - Added 2026-01-24
169
+ ai_traceability_guide: "guide/ai-traceability.md"
170
+ ai_traceability_why: "guide/ai-traceability.md:29"
171
+ ai_traceability_disclosure_spectrum: "guide/ai-traceability.md:64"
172
+ ai_traceability_co_authored_by: "guide/ai-traceability.md:98"
173
+ ai_traceability_assisted_by: "guide/ai-traceability.md:120"
174
+ ai_traceability_git_ai: "guide/ai-traceability.md:170"
175
+ ai_traceability_llvm_policy: "guide/ai-traceability.md:201"
176
+ ai_traceability_ghostty_policy: "guide/ai-traceability.md:236"
177
+ ai_traceability_fedora_policy: "guide/ai-traceability.md:261"
178
+ ai_traceability_promptpwnd: "guide/ai-traceability.md:501"
179
+ ai_traceability_implementation: "guide/ai-traceability.md:566"
180
+ ai_traceability_templates: "guide/ai-traceability.md:648"
181
+ # AI Disclosure Templates
182
+ ai_disclosure_contributing: "examples/config/CONTRIBUTING-ai-disclosure.md"
183
+ ai_disclosure_pr_template: "examples/config/PULL_REQUEST_TEMPLATE-ai.md"
184
+ # TTS Integration (Agent Vibes) - Added 2026-01-22
185
+ tts_integration_guide: "examples/integrations/agent-vibes/README.md"
186
+ tts_installation: "examples/integrations/agent-vibes/installation.md"
187
+ tts_voice_catalog: "examples/integrations/agent-vibes/voice-catalog.md"
188
+ tts_troubleshooting: "examples/integrations/agent-vibes/troubleshooting.md"
189
+ tts_workflow: "guide/workflows/tts-setup.md"
190
+ tts_ai_ecosystem: "guide/ai-ecosystem.md:1124"
191
+ tts_hook_example: "examples/hooks/bash/tts-selective.sh"
192
+ tts_claude_md_template: "examples/claude-md/tts-enabled.md"
193
+ # Sandbox Isolation for Coding Agents (guide/sandbox-isolation.md) - Added 2026-01-31
194
+ sandbox_isolation_guide: "guide/sandbox-isolation.md"
195
+ sandbox_isolation_decision_tree: "guide/sandbox-isolation.md:7"
196
+ sandbox_docker_sandboxes: "guide/sandbox-isolation.md:67"
197
+ sandbox_docker_network: "guide/sandbox-isolation.md:121"
198
+ sandbox_docker_templates: "guide/sandbox-isolation.md:165"
199
+ sandbox_docker_docs: "https://docs.docker.com/ai/sandboxes/"
200
+ sandbox_docker_claude_config: "https://docs.docker.com/ai/sandboxes/claude-code/"
201
+ sandbox_docker_network_docs: "https://docs.docker.com/ai/sandboxes/network-policies/"
202
+ sandbox_docker_templates_docs: "https://docs.docker.com/ai/sandboxes/templates/"
203
+ sandbox_flyio_sprites: "https://sprites.dev"
204
+ sandbox_cloudflare_sdk: "https://developers.cloudflare.com/sandbox/tutorials/claude-code/"
205
+ sandbox_vercel: "https://vercel.com/docs/vercel-sandbox/"
206
+ sandbox_e2b: "https://e2b.dev"
207
+ sandbox_native_cc: "guide/architecture.md:606"
208
+ # Native Claude Code Sandbox (Official docs, v2.1.0+) - Added 2026-02-02
209
+ sandbox_native_guide: "guide/sandbox-native.md"
210
+ sandbox_native_why: "guide/sandbox-native.md:47" # Why Native Sandboxing
211
+ sandbox_native_os_primitives: "guide/sandbox-native.md:68" # Seatbelt vs bubblewrap
212
+ sandbox_native_filesystem: "guide/sandbox-native.md:178" # Filesystem isolation
213
+ sandbox_native_network: "guide/sandbox-native.md:221" # Network proxy architecture
214
+ sandbox_native_modes: "guide/sandbox-native.md:7" # Auto-allow vs Regular
215
+ sandbox_native_escape_hatch: "guide/sandbox-native.md:341" # dangerouslyDisableSandbox
216
+ sandbox_native_security_limits: "guide/sandbox-native.md:396" # Domain fronting, Unix sockets
217
+ sandbox_native_opensource: "guide/sandbox-native.md:481" # Open-source runtime
218
+ sandbox_native_platforms: "guide/sandbox-native.md:505" # Platform support
219
+ sandbox_native_decision_tree: "guide/sandbox-native.md:517" # Native vs Docker
220
+ sandbox_native_config_examples: "guide/sandbox-native.md:564" # Configuration examples
221
+ sandbox_native_best_practices: "guide/sandbox-native.md:637" # Best practices
222
+ sandbox_native_troubleshooting: "guide/sandbox-native.md:650" # Troubleshooting
223
+ sandbox_runtime_oss: "https://github.com/anthropic-experimental/sandbox-runtime"
224
+ sandbox_runtime_npm: "https://www.npmjs.com/package/@anthropic-ai/sandbox-runtime"
225
+ sandbox_official_docs: "https://code.claude.com/docs/en/sandboxing"
226
+ sandbox_comparison_native_docker: "guide/sandbox-isolation.md:238" # Section 4 Native CC
227
+ sandbox_native_evaluation: "docs/resource-evaluations/native-sandbox-official-docs.md"
228
+ sandbox_native_score: "5/5"
229
+ # Templates (Added 2026-02-02)
230
+ sandbox_native_config_template: "examples/config/sandbox-native.json"
231
+ sandbox_status_command: "examples/commands/sandbox-status.md"
232
+ sandbox_validation_hook: "examples/hooks/bash/sandbox-validation.sh"
233
+ # Docker Sandboxes (existing)
234
+ sandbox_evaluation: "docs/resource-evaluations/docker-sandboxes-isolation.md"
235
+ sandbox_safe_autonomy: "guide/sandbox-isolation.md:496" # Safe Autonomy Workflows
236
+ sandbox_anti_patterns: "guide/sandbox-isolation.md:546" # Anti-Patterns
237
+ sandbox_comparison_matrix: "guide/sandbox-isolation.md:477" # Comparison Matrix
238
+ sandbox_score: "4/5"
239
+ # Third-Party Tools (guide/third-party-tools.md) - Added 2026-02-01
240
+ third_party_tools_guide: "guide/third-party-tools.md"
241
+ third_party_tools_cost_tracking: "guide/third-party-tools.md:42"
242
+ third_party_tools_rtk: "guide/third-party-tools.md:7"
243
+ third_party_tools_session_mgmt: "guide/third-party-tools.md:126"
244
+ third_party_tools_config_mgmt: "guide/third-party-tools.md:214"
245
+ third_party_tools_alternative_uis: "guide/third-party-tools.md:259"
246
+ third_party_tools_known_gaps: "guide/third-party-tools.md:375"
247
+ third_party_tools_recommendations: "guide/third-party-tools.md:391"
248
+ third_party_ccusage: "https://www.npmjs.com/package/ccusage"
249
+ third_party_ccusage_site: "https://ccusage.com"
250
+ third_party_ccburn: "https://github.com/JuanjoFuchs/ccburn"
251
+ third_party_claude_code_viewer: "https://www.npmjs.com/package/@kimuson/claude-code-viewer"
252
+ third_party_claude_code_config: "https://github.com/joeyism/claude-code-config"
253
+ third_party_aiblueprint: "https://github.com/Melvynx/aiblueprint"
254
+ third_party_claude_chic: "https://pypi.org/project/claudechic/"
255
+ third_party_toad: "https://github.com/batrachianai/toad"
256
+ third_party_conductor: "https://docs.conductor.build"
257
+ # Configuration Management & Backup (Added 2026-02-02)
258
+ config_management_guide: "guide/ultimate-guide.md:4217" # Section 3.1 Memory Files
259
+ config_hierarchy: "guide/ultimate-guide.md:4336" # Global → Project → Local precedence
260
+ config_git_strategy_project: "guide/ultimate-guide.md:4634" # What Goes Where
261
+ config_git_strategy_global: "guide/ultimate-guide.md:4634" # Version control ~/.claude/
262
+ config_backup_strategies: "guide/ultimate-guide.md:4634" # Git, cloud sync, cron
263
+ config_multi_machine_sync: "guide/ultimate-guide.md:4634" # Laptop + desktop workflows
264
+ config_security_considerations: "guide/ultimate-guide.md:4419" # CLAUDE.md Injection warning
265
+ config_disaster_recovery: "guide/ultimate-guide.md:4634" # Restore from backup
266
+ config_community_solutions: "guide/ultimate-guide.md:4634" # brianlovin + Ratinaud
267
+ config_github_issue: "https://github.com/anthropics/claude-code/issues/16204" # Migration guidance request
268
+ config_brianlovin_repo: "https://github.com/brianlovin/claude-config" # Community example with sync.sh
269
+ config_ratinaud_approach: "https://www.linkedin.com/posts/martinratinaud_claudecode-devtools-buildinpublic-activity-7424055660247629824-hBsL" # 504 sessions tested
270
+ config_ratinaud_evaluation: "docs/resource-evaluations/ratinaud-config-management-evaluation.md" # Full evaluation
271
+ # MCP Secrets Management (Added 2026-02-02)
272
+ mcp_secrets_management: "guide/ultimate-guide.md:10589" # Section 8.3.1
273
+ mcp_secrets_principles: "guide/ultimate-guide.md:10589" # Security principles
274
+ mcp_secrets_os_keychain: "guide/ultimate-guide.md:10589" # Approach 1: OS Keychain
275
+ mcp_secrets_env_file: "guide/ultimate-guide.md:10589" # Approach 2: .env + .gitignore
276
+ mcp_secrets_vaults: "guide/ultimate-guide.md:10589" # Approach 3: HashiCorp Vault, AWS, 1Password
277
+ mcp_secrets_rotation: "guide/ultimate-guide.md:10589" # Rotation workflow
278
+ mcp_secrets_pre_commit: "guide/ultimate-guide.md:8417" # Security Hooks section
279
+ mcp_secrets_verification: "guide/ultimate-guide.md:10589" # Verification checklist
280
+ mcp_secrets_best_practices: "guide/ultimate-guide.md:10589" # Summary table
281
+ # Templates & Scripts (Configuration Management)
282
+ sync_claude_config_script: "examples/scripts/sync-claude-config.sh" # Full automation script
283
+ pre_commit_secrets_hook: "examples/hooks/bash/pre-commit-secrets.sh" # Git hook for secret detection
284
+ settings_local_example: "examples/config/settings.local.json.example" # Machine-specific overrides template
285
+ # Tool-qualified deny format (Added 2026-02-26)
286
+ permissions_deny_tool_qualified: "guide/ultimate-guide.md:5008" # Permission Patterns table + full example
287
+ # Terminal personalization (Added 2026-02-27)
288
+ spinner_personalization: "guide/ultimate-guide.md:4978" # spinnerVerbs + spinnerTipsOverride settings
289
+ permissions_deny_tool_qualified_syntax: "Read(file_path:*.env*) | Edit(file_path:*.pem) | Write(file_path:*.key) | Bash(command:*rm -rf*)"
290
+ permissions_deny_tool_qualified_vs_simple: "file_path: glob matches full path arg; simple '*.env' matches filename only"
291
+ permissions_deny_known_limitation: "background indexing may expose via system reminders before checks — GitHub #4160"
292
+ permissions_deny_defense_in_depth: "store secrets outside project dir for guaranteed protection"
293
+ # Visual Reference (ASCII diagrams)
294
+ visual_reference: "guide/visual-reference.md"
295
+ # Architecture internals (guide/architecture.md)
296
+ architecture_visual_overview: "guide/architecture.md:51"
297
+ architecture_visual_source: "https://www.linkedin.com/posts/mohamed-ali-ben-salem-2b777b9a_en-ce-moment-je-vois-passer-des-posts-du-activity-7420592149110362112-eY5a"
298
+ architecture_master_loop: "guide/architecture.md:82"
299
+ architecture_tools: "guide/architecture.md:219"
300
+ architecture_context: "guide/architecture.md:312"
301
+ architecture_subagents: "guide/architecture.md:471"
302
+ architecture_permissions: "guide/architecture.md:541"
303
+ architecture_mcp: "guide/architecture.md:746"
304
+ architecture_mcp_visual: "guide/images/mcp-architecture-diagram.svg"
305
+ architecture_philosophy: "guide/architecture.md:1205"
306
+ # Official LLM-Optimized Documentation - Added 2026-02-25
307
+ official_llms_index: "https://code.claude.com/docs/llms.txt" # Index ~65 pages, ~15-20K tokens — use first for discovery
308
+ official_llms_full: "https://code.claude.com/docs/llms-full.txt" # Full doc ~98KB, ~25-30K tokens — source de vérité officielle
309
+ # System Prompts (Official Sources) - Added 2026-01-26
310
+ system_prompts_official: "https://platform.claude.com/docs/en/release-notes/system-prompts"
311
+ system_prompts_willison_analysis: "https://simonwillison.net/2025/May/25/claude-4-system-prompt/"
312
+ system_prompts_prompthub: "https://www.prompthub.us/blog/an-analysis-of-the-claude-4-system-prompt"
313
+ system_prompts_architecture: "guide/architecture.md:360"
314
+ # MCP Apps Extension (SEP-1865) - Added 2026-01-27
315
+ mcp_apps_architecture: "guide/architecture.md:753"
316
+ mcp_apps_evolution: "guide/ultimate-guide.md:9252"
317
+ mcp_apps_spec: "https://github.com/modelcontextprotocol/ext-apps"
318
+ mcp_apps_blog_mcp: "https://blog.modelcontextprotocol.io/posts/2026-01-26-mcp-apps/"
319
+ mcp_apps_blog_claude: "https://claude.com/blog/interactive-tools-in-claude"
320
+ mcp_apps_sdk: "https://www.npmjs.com/package/@modelcontextprotocol/ext-apps"
321
+ mcp_apps_announcement_date: "2026-01-26"
322
+ mcp_apps_cli_relevance: "Indirect (ecosystem understanding, MCP server dev, hybrid workflows)"
323
+ # Main guide (guide/ultimate-guide.md) - Updated 2026-01-27
324
+ installation: 221
325
+ first_workflow: 305
326
+ essential_commands: 47
327
+ trust_calibration: 1039
328
+ working_with_images: 450
329
+ wireframing_tools: 520
330
+ figma_mcp: 569
331
+ image_optimization: 594
332
+ permission_modes: 818
333
+ interaction_loop: 1364
334
+ context_management: 1335
335
+ context_triage: 1520
336
+ session_vs_memory: 1553
337
+ fresh_context_pattern: 1597
338
+ subscription_limits: 1933
339
+ subscription_token_budgets: 1948
340
+ subscription_opus_ratio: 1946
341
+ subscription_monitoring: 2113
342
+ plan_mode: 576
343
+ rewind: 2566
344
+ mental_model: 2815
345
+ xml_prompting: 3016
346
+ prompting_provocation: 3469
347
+ prompting_provocation_source: "https://paddo.dev/blog/claude-code-team-tips/"
348
+ semantic_anchors: 3503
349
+ semantic_anchors_catalog: "examples/semantic-anchors/anchor-catalog.md"
350
+ memory_files: 4205
351
+ # Auto-Memories (v2.1.32+) - Added 2026-02-09
352
+ auto_memories: 4439
353
+ auto_memories_vs_claudemd: 4439
354
+ # Fast Mode (v2.1.36+) - Added 2026-02-09
355
+ fast_mode_command: 720 # /fast in commands table
356
+ fast_mode_api: 720 # API breaking changes section
357
+ fast_mode_pricing: 1788 # Pricing table
358
+ fast_mode_behavior: "2.5x faster, 6x price, same Opus 4.6 model"
359
+ # Sonnet 4.6 + 1M Context (Feb 2026) - Added 2026-02-18
360
+ sonnet_4_6_default: 1887 # Pricing table, Sonnet 4.6 now default
361
+ context_200k_vs_1m: 1793 # Decision guide: 200K vs 1M context window
362
+ context_200k_vs_1m_perf: "Opus 4.6: 93% @ 256K, 76% @ 1M (MRCR v2). Sonnet 4.6 scores not yet published."
363
+ context_200k_vs_1m_cost: "Sonnet 4.6: ~$0.23 bug fix, ~$0.75 module refactor, ~$2.25 full 1M session"
364
+ context_1m_beta_requirement: "API only, requires anthropic-beta header. Opus: pricing doubles >200K."
365
+ # Debug Command (v2.1.30+) - Added 2026-02-09
366
+ debug_command: 47 # Essential Commands table
367
+ debug_purpose: "Systematic troubleshooting and error investigation"
368
+ # Model Selection & Thinking Guide (Section 2.5) - Added 2026-02-21
369
+ model_selection_guide: 2704 # Section 2.5 — canonical table, effort levels, agent patterns
370
+ model_selection_anchor: "#25-model-selection--thinking-guide"
371
+ # Configuration Decision Guide (Section 2.7) - Added 2026-02-22
372
+ configuration_decision_guide: 2872 # Section 2.7 — mechanism comparison, decision tree, 56% warning
373
+ configuration_decision_guide_anchor: "#27-configuration-decision-guide"
374
+ mechanism_comparison_table: 2960 # Semantic roles + mechanism comparison tables
375
+ fifty_six_percent_warning: 2955 # Section 2.7 Configuration Decision Guide
376
+ planner_agent: "examples/agents/planner.md"
377
+ implementer_agent: "examples/agents/implementer.md"
378
+ architecture_reviewer_agent: "examples/agents/architecture-reviewer.md"
379
+ # Opus 4.6 Features (Feb 2026) - Added 2026-02-09, line numbers updated 2026-02-21
380
+ opus_4_6_adaptive_thinking: 11622
381
+ opus_4_6_effort_parameter: 11636
382
+ opus_4_6_pricing: 1788
383
+ opus_4_6_api_breaking_changes: 11734
384
+ opus_4_6_assistant_prefill_removed: 11737
385
+ # Summarize from Here (v2.1.32+) - Added 2026-02-09
386
+ summarize_from_here: 1506 # Context Recovery Strategies section
387
+ # Agent Teams Hook Events (v2.1.32+) - Added 2026-02-09
388
+ hook_teammate_idle: 7934
389
+ hook_task_completed: 7935
390
+ # Agent Memory Field (v2.1.32+) - Added 2026-02-09
391
+ agent_memory_frontmatter: 5636 # Agent Template section (memory field in frontmatter)
392
+ # Xcode Integration (Feb 2026) - Added 2026-02-09
393
+ xcode_integration: 12556
394
+ claude_agent_sdk: 12558
395
+ # Task Management System (v2.1.16+) - Added 2026-01-26
396
+ task_management_system: 3726
397
+ task_management_comparison: 3732
398
+ tasks_api_overview: 973
399
+ tasks_api_tools: 3746
400
+ tasks_api_capabilities: 3752
401
+ tasks_api_configuration: 3759
402
+ tasks_api_schema: 3773
403
+ tasks_api_when_to_use: 3790
404
+ tasks_api_limitations: 3796
405
+ tasks_api_field_visibility: "TaskList: id/subject/status/owner/blockedBy only. TaskGet: all fields."
406
+ tasks_api_cost_overhead: "Reviewing N task descriptions = 1 + N API calls"
407
+ tasks_api_workarounds: 3819
408
+ todowrite_legacy: 3837
409
+ todowrite_when_to_use: 3846
410
+ todowrite_migration_flag: 3855
411
+ task_best_practices: 3862
412
+ task_hierarchy_design: 3726
413
+ task_dependency_management: 3726
414
+ task_status_transitions: 3756
415
+ task_metadata_conventions: 3757
416
+ task_complete_workflow: 3947
417
+ task_sources: 3835
418
+ # Task Management Workflow (guide/workflows/task-management.md)
419
+ workflows_task_management: "guide/workflows/task-management.md"
420
+ task_workflow_overview: "guide/workflows/task-management.md:15"
421
+ task_workflow_planning: "guide/workflows/task-management.md:52"
422
+ task_workflow_execution: "guide/workflows/task-management.md:137"
423
+ task_workflow_session_mgmt: "guide/workflows/task-management.md:215"
424
+ task_workflow_tdd_integration: "guide/workflows/task-management.md:312"
425
+ task_workflow_plan_integration: "guide/workflows/task-management.md:367"
426
+ task_workflow_migration: "guide/workflows/task-management.md:439"
427
+ task_workflow_patterns: "guide/workflows/task-management.md:525"
428
+ task_workflow_troubleshooting: "guide/workflows/task-management.md:667"
429
+ task_workflow_advanced: "guide/workflows/task-management.md:741"
430
+ claude_folder: 4595
431
+ settings: 4879
432
+ precedence_rules: 5103
433
+ agents: 5546
434
+ agent_template: 5636
435
+ agent_examples: 5836
436
+ skills: 6246
437
+ skill_template: 6384
438
+ skill_examples: 6452
439
+ design_patterns_skill: 6630
440
+ design_patterns_skill_location: "examples/skills/design-patterns/"
441
+ design_patterns_skill_modes: "Detection, Suggestion, Evaluation"
442
+ design_patterns_skill_patterns: "23 GoF patterns (Creational 5, Structural 7, Behavioral 11)"
443
+ design_patterns_skill_stacks: "React, Angular, NestJS, Vue, Express, RxJS, Redux, ORMs"
444
+ community_skills_cybersec: 6780
445
+ community_skills_iac: 6863
446
+ # Automatic skill generation (meta-skill)
447
+ claudeception: "https://github.com/blader/Claudeception"
448
+ claudeception_guide: 6915
449
+ # Skill Lifecycle: Automatic improvement (added 2026-01-24)
450
+ skill_lifecycle: 6246
451
+ claude_reflect_system: 6246
452
+ claude_reflect_system_repo: "https://github.com/haddock-development/claude-reflect-system"
453
+ claude_reflect_system_agent_skills: "https://agent-skills.md/skills/haddock-development/claude-reflect-system/reflect"
454
+ skill_improvement_pattern: 6630
455
+ skill_improvement_how_it_works: 6630
456
+ skill_improvement_safety: 6373
457
+ skill_improvement_security_warnings: 6373
458
+ skill_improvement_comparison: 6250
459
+ skill_improvement_workflow: 6328
460
+ # Design Intelligence Skill (added 2026-02-23)
461
+ ui_ux_pro_max: "https://github.com/nextlevelbuilder/ui-ux-pro-max-skill"
462
+ ui_ux_pro_max_site: "https://ui-ux-pro-max-skill.nextlevelbuilder.io"
463
+ ui_ux_pro_max_guide: 7092
464
+ ui_ux_pro_max_stars: 33700
465
+ ui_ux_pro_max_styles: 67
466
+ ui_ux_pro_max_palettes: 96
467
+ # Agent Skills Open Standard (added 2026-02-01)
468
+ agentskills_spec: "https://agentskills.io"
469
+ agentskills_spec_repo: "https://github.com/agentskills/agentskills"
470
+ agentskills_spec_stars: "8.2K"
471
+ agentskills_platforms: "26+ (Claude Code, Cursor, VS Code, GitHub, Codex, Gemini CLI, Goose, Roo Code, Spring AI, Databricks...)"
472
+ agentskills_ref_cli: "https://github.com/agentskills/agentskills/tree/main/skills-ref"
473
+ agentskills_ref_cli_usage: "skills-ref validate <path> | skills-ref to-prompt <path>"
474
+ anthropics_skills_repo: "https://github.com/anthropics/skills"
475
+ anthropics_skills_stars: "60K+"
476
+ anthropics_skills_categories: "Documents (docx/pdf/pptx/xlsx), Creative & Design, Development, Enterprise"
477
+ anthropics_skills_install: "/plugin marketplace add anthropics/skills"
478
+ anthropics_plugins_official_repo: "https://github.com/anthropics/claude-plugins-official"
479
+ anthropics_plugins_official_installs: "3.1K"
480
+ anthropics_plugins_official_skills: "claude-md-improver, claude-automation-recommender, playground, plugin dev meta-skills"
481
+ anthropics_plugins_official_install: "npx add-skill anthropics/claude-plugins-official"
482
+ agentskills_threat_model: "https://safedep.io/agent-skills-threat-model"
483
+ agentskills_threat_model_finding: "8-14% of public skills have vulnerabilities (prompt injection, data exfiltration, privilege escalation)"
484
+ agentskills_blog: "https://anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills"
485
+ agentskills_guide_section: "guide/ultimate-guide.md:6383"
486
+ agentskills_evaluation: "docs/resource-evaluations/agentskills-io-specification.md"
487
+ agentskills_score: "4/5"
488
+ # claude-code-best-practice repo evaluations (Added 2026-02-26)
489
+ ccbp_repo_evaluation: "docs/resource-evaluations/069-claude-code-best-practice-repo-eval.md"
490
+ ccbp_repo_score: "4/5"
491
+ ccbp_repo_source: "https://github.com/shanraisshan/claude-code-best-practice"
492
+ ccbp_repo_critical_finding: "bug at guide/ultimate-guide.md:5646 — official agent fields misclassified as community patterns (fixed)"
493
+ ccbp_dotclaude_evaluation: "docs/resource-evaluations/070-claude-code-best-practice-dot-claude-eval.md"
494
+ ccbp_dotclaude_score: "4/5"
495
+ ccbp_dotclaude_patterns: "self-evolving agent, Command→Agent→Skills architecture, allowed-tools wildcard scoping"
496
+ # Skills Marketplace (added 2026-01-23)
497
+ skills_marketplace: 7212
498
+ skills_marketplace_url: "https://skills.sh/"
499
+ skills_marketplace_github: "https://github.com/vercel-labs/agent-skills"
500
+ skills_marketplace_install: "npx add-skill <owner/repo>"
501
+ skills_marketplace_top_skills:
502
+ - "vercel-react-best-practices: 35K+ installs"
503
+ - "web-design-guidelines: 26.6K installs"
504
+ - "supabase-postgres-best-practices: 1K+ installs"
505
+ - "better-auth-best-practices: 2K+ installs"
506
+ - "test-driven-development: 721 installs"
507
+ skills_marketplace_status: "Community (Vercel Labs), launched Jan 21, 2026"
508
+ skills_marketplace_changelog: "https://vercel.com/changelog/introducing-skills-the-open-agent-skills-ecosystem"
509
+ # Plugin System & Community Marketplaces (updated 2026-01-24)
510
+ plugins_system: 11048
511
+ plugins_commands: 11062
512
+ plugins_marketplace: 11100
513
+ plugins_community_marketplaces: 11358 # New section with ecosystem stats
514
+ plugins_recommended: "examples/plugins/"
515
+ plugins_se_cove: "examples/plugins/se-cove.md"
516
+ plugins_official_docs: "https://code.claude.com/docs/en/plugins"
517
+ plugins_official_reference: "https://code.claude.com/docs/en/plugins-reference"
518
+ plugins_official_marketplaces: "https://code.claude.com/docs/en/plugin-marketplaces"
519
+ # Community plugin resources
520
+ plugins_wshobson_agents:
521
+ url: "https://github.com/wshobson/agents"
522
+ stats: "67 plugins, 99 agents, 107 skills"
523
+ updated: "2026-01-24"
524
+ plugins_registry_claude_plugins_dev:
525
+ url: "https://claude-plugins.dev"
526
+ stats: "11,989 plugins, 63,065 skills indexed"
527
+ plugins_registry_claudemarketplaces:
528
+ url: "https://claudemarketplaces.com"
529
+ purpose: "Auto-scan GitHub for .claude-plugin/marketplace.json"
530
+ plugins_popular:
531
+ - "Context7: ~72k installs (library docs lookup)"
532
+ - "Ralph Wiggum: ~57k installs (code review)"
533
+ - "Figma MCP: ~18k installs (design-to-code)"
534
+ - "Linear MCP: ~9.5k installs (issue tracking)"
535
+ plugins_awesome_list: "https://github.com/hesreallyhim/awesome-claude-code"
536
+ plugins_awesome_list_stars: "20k+"
537
+ chain_of_verification: "guide/methodologies.md:230"
538
+ chain_of_verification_paper: "https://arxiv.org/abs/2309.11495"
539
+ chain_of_verification_acl: "https://aclanthology.org/2024.findings-acl.212/"
540
+ # Verification Loops & Eval Harness (added 2026-01-23)
541
+ verification_loops: "guide/methodologies.md:245"
542
+ verification_loops_source: "https://www.anthropic.com/engineering/claude-code-best-practices"
543
+ eval_harness: "guide/methodologies.md:289"
544
+ eval_harness_source: "https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents"
545
+ # GSD (Get Shit Done) methodology (added 2026-01-25)
546
+ gsd_methodology: "guide/methodologies.md:53"
547
+ gsd_evaluation: "docs/resource-evaluations/gsd-evaluation.md"
548
+ gsd_source: "https://github.com/glittercowboy/get-shit-done"
549
+ gsd_note: "Overlap with existing patterns (Ralph Loop, Gas Town, BMAD)"
550
+ # Resource Evaluations (added 2026-01-26, updated 2026-02-07)
551
+ resource_evaluations_directory: "docs/resource-evaluations/"
552
+ resource_evaluations_count: 84
553
+ resource_evaluations_methodology: "docs/resource-evaluations/README.md"
554
+ resource_evaluations_watchlist: "docs/resource-evaluations/watch-list.md"
555
+ resource_evaluations_appendix: "guide/ultimate-guide.md:20886"
556
+ resource_evaluations_readme_section: "README.md:307"
557
+ resource_evaluations_git_mcp: "docs/resource-evaluations/git-mcp-server-evaluation.md"
558
+ resource_evaluations_anaconda_croce: "docs/resource-evaluations/anaconda-croce-evaluation.md"
559
+ resource_evaluations_grenier_quality: "docs/resource-evaluations/grenier-agent-skill-quality.md"
560
+ resource_evaluations_grenier_score: "3/5"
561
+ resource_evaluations_grenier_gap: "No automated quality checks for agents/skills (29.5% deploy without evaluation per LangChain 2026)"
562
+ resource_evaluations_grenier_integration: "Created /audit-agents-skills command + skill + criteria.yaml"
563
+ # Agent/Skill Quality Audit (added 2026-02-07)
564
+ audit_agents_skills_command: "examples/commands/audit-agents-skills.md"
565
+ audit_agents_skills_skill: "examples/skills/audit-agents-skills/SKILL.md"
566
+ audit_agents_skills_criteria: "examples/skills/audit-agents-skills/scoring/criteria.yaml"
567
+ audit_agents_skills_framework: "16 criteria (Identity 3x, Prompt 2x, Validation 1x, Design 2x)"
568
+ audit_agents_skills_scoring: "32 points max (agents/skills), 20 points (commands)"
569
+ audit_agents_skills_grades: "A-F scale, 80% production threshold"
570
+ audit_agents_skills_modes: "Quick (top-5), Full (all 16), Comparative (vs templates)"
571
+ audit_agents_skills_output: "Markdown + JSON for CI/CD integration"
572
+ audit_agents_skills_industry_context: "29.5% deploy without evaluation (LangChain 2026), 18% cite agent bugs as top challenge"
573
+ audit_agents_skills_guide_refs: "guide/ultimate-guide.md:4951 (after Agent Validation Checklist), guide/ultimate-guide.md:5495 (after Skill Validation)"
574
+ # Practitioner Insights (external validation)
575
+ practitioner_insights: "guide/ai-ecosystem.md:2170"
576
+ practitioner_dave_van_veen: "guide/ai-ecosystem.md:2174"
577
+ practitioner_matteo_collina: "guide/ai-ecosystem.md:2203"
578
+ # Outcome Engineering (o16g) - Emerging manifesto (2026-02-13)
579
+ outcome_engineering_o16g: "guide/ai-ecosystem.md:2366"
580
+ outcome_engineering_url: "https://o16g.com/"
581
+ outcome_engineering_author: "Cory Ondrejka (CTO Onebrief, co-creator Second Life, ex-VP Google/Meta)"
582
+ outcome_engineering_status: "Emerging - on watch list for community adoption"
583
+ practitioner_collina_source: "https://adventures.nodeland.dev/archive/the-human-in-the-loop/"
584
+ practitioner_steinberger: "guide/ai-ecosystem.md:2242"
585
+ practitioner_steinberger_source: "https://steipete.me/posts/2025/shipping-at-inference-speed"
586
+ practitioner_addy_osmani: "guide/ai-ecosystem.md:2269"
587
+ practitioner_osmani_source: "https://addyo.substack.com/p/the-80-problem-in-agentic-coding"
588
+ practitioner_alan: "guide/ai-ecosystem.md:2299"
589
+ practitioner_alan_source: "https://www.linkedin.com/pulse/le-principe-de-la-tour-eiffel-et-ralph-wiggum-maxime-le-bras-psmxe/"
590
+ verification_paradox: "guide/production-safety.md:639"
591
+ verification_paradox_source: "https://www.linkedin.com/pulse/le-principe-de-la-tour-eiffel-et-ralph-wiggum-maxime-le-bras-psmxe/"
592
+ eighty_percent_problem: "guide/ai-ecosystem.md:2269"
593
+ comprehension_debt_secondary: "guide/ai-ecosystem.md:2269" # See also: vibe_coding_trap (primary)
594
+ # DevOps/SRE Guide (guide/devops-sre.md)
595
+ devops_sre_guide: "guide/devops-sre.md"
596
+ devops_fire_framework: "guide/devops-sre.md:46"
597
+ devops_k8s_troubleshooting: "guide/devops-sre.md:129"
598
+ devops_k8s_prompts: "guide/devops-sre.md:151"
599
+ devops_incident_response: "guide/devops-sre.md:333"
600
+ devops_iac_patterns: "guide/devops-sre.md:504"
601
+ devops_guardrails: "guide/devops-sre.md:687"
602
+ devops_limitations: "guide/devops-sre.md:297"
603
+ devops_quick_reference: "guide/devops-sre.md:794"
604
+ devops_agent: "examples/agents/devops-sre.md"
605
+ devops_claude_md: "examples/claude-md/devops-sre.md"
606
+ # Product Designer (design-to-code workflow)
607
+ product_designer_workflow: "guide/workflows/design-to-code.md"
608
+ product_designer_claudemd: "examples/claude-md/product-designer.md"
609
+ design_system_handoff: "guide/workflows/design-to-code.md:263"
610
+ figma_make_integration: "guide/workflows/design-to-code.md:85"
611
+ pencil_canvas: "guide/ultimate-guide.md:528"
612
+ pencil_workflow: "guide/workflows/design-to-code.md:453"
613
+ pencil_vs_figma: "guide/workflows/design-to-code.md:476"
614
+ commands: 47
615
+ command_template: 7592
616
+ hooks: 8077
617
+ hook_templates: 8155
618
+ security_hooks: 8161
619
+ security_gate_hook_line: 8481
620
+ security_gate_hook_source: "https://paddo.dev/blog/claude-code-team-tips/"
621
+ mcp_servers: 9204
622
+ serena_indexation: 9373
623
+ serena_mcp: 9373
624
+ doobidoo_memory_mcp: 10142
625
+ mcp_memory_stack_patterns: 10325
626
+ mcp_config: 10556
627
+ mcp_security: 11402
628
+ cicd: 11827
629
+ ide_integration: 12528
630
+ feedback_loops: 12613
631
+ batch_operations: 13243
632
+ pitfalls: 13366
633
+ git_best_practices: 13831
634
+ cost_optimization: 1784
635
+ session_teleportation: 15178
636
+ remote_control: 18833
637
+ multi_instance_workflows: 15283
638
+ boris_cherny_case_study: 15332
639
+ boris_cherny_team_patterns: 5492
640
+ # Dual-Instance Planning Pattern (Jon Williams, Feb 2026)
641
+ dual_instance_planning: 15385
642
+ dual_instance_workflow: "guide/workflows/dual-instance-planning.md"
643
+ dual_instance_overview: 15385
644
+ dual_instance_setup: "guide/workflows/dual-instance-planning.md:71"
645
+ dual_instance_complete_workflow: "guide/workflows/dual-instance-planning.md:145"
646
+ dual_instance_plan_template: "guide/workflows/dual-instance-planning.md:522"
647
+ dual_instance_cost_analysis: "guide/workflows/dual-instance-planning.md:614"
648
+ dual_instance_comparison: 15385 # Boris vs Jon comparison table
649
+ dual_instance_source: "https://www.linkedin.com/posts/thatjonwilliams_ive-been-using-cursor-for-six-months-now-activity-7424481861802033153-k8bu"
650
+ dual_instance_author: "Jon Williams (Product Designer, UK)"
651
+ dual_instance_date: "2026-02-03"
652
+ dual_instance_pattern: "Vertical separation (planner vs implementer) - orthogonal to Boris horizontal scaling"
653
+ dual_instance_cost: "$100-200/month (vs $500-1K Boris pattern)"
654
+ dual_instance_audience: "Solo devs, spec-heavy work, quality > speed"
655
+ # Boris Tane Pattern (Annotation Cycle, Feb 2026)
656
+ annotation_cycle_pattern: "guide/workflows/plan-driven.md#the-annotation-cycle"
657
+ custom_markdown_plans: "guide/workflows/plan-driven.md#why-custom-plans-over-plan"
658
+ boris_tane_source: "https://boristane.com/blog/how-i-use-claude-code/"
659
+ boris_tane_author: "Boris Tane (Engineering Lead, Cloudflare)"
660
+ # External resource: Claude Code team tips (paddo.dev, Feb 2026)
661
+ team_tips_paddo: "https://paddo.dev/blog/claude-code-team-tips/"
662
+ team_tips_paddo_source: "Boris Cherny thread (x.com/bcherny/status/2017742741636321619)"
663
+ team_tips_paddo_evaluation: "docs/resource-evaluations/paddo-team-tips-eval.md"
664
+ team_tips_paddo_score: "4/5"
665
+ anthropic_study_metrics: 11555
666
+ # Contribution Metrics (Jan 2026 - platform feature, not CLI release)
667
+ contribution_metrics: 15970
668
+ contribution_metrics_source: "https://claude.com/blog/contribution-metrics"
669
+ contribution_metrics_date: "2026-01-29"
670
+ contribution_metrics_availability: "Public beta - Team and Enterprise plans"
671
+ contribution_metrics_stats: "+67% PRs merged/engineer/day, 70-90% AI-assisted code (Anthropic internal)"
672
+ # Git Worktree Commands (Feb 2026)
673
+ git_worktree_command: "examples/commands/git-worktree.md"
674
+ git_worktree_status_command: "examples/commands/git-worktree-status.md"
675
+ git_worktree_remove_command: "examples/commands/git-worktree-remove.md"
676
+ git_worktree_clean_command: "examples/commands/git-worktree-clean.md"
677
+ git_worktrees_multi_instance: 14013
678
+ advanced_worktree_tooling: 15763
679
+ worktree_tooling_self_assessment: 15763
680
+ anthropic_internal_study: 15934
681
+ multi_instance_costs: 15283
682
+ orchestration_frameworks: 16029
683
+ headless_pm_framework: 11841
684
+ multi_instance_implementation: 15283
685
+ multi_instance_monitoring: 15283
686
+ multi_instance_decision_matrix: 15283
687
+ # External orchestration systems
688
+ external_orchestrators:
689
+ gas_town:
690
+ repo: "https://github.com/steveyegge/gastown"
691
+ author: "Steve Yegge"
692
+ description: "Multi-agent workspace manager using Claude Code instances"
693
+ status: "Experimental (Jan 2026)"
694
+ guide_section: "guide/ai-ecosystem.md:850"
695
+ multiclaude:
696
+ repo: "https://github.com/dlorenc/multiclaude"
697
+ author: "dlorenc"
698
+ description: "Self-hosted multi-agent Claude Code spawner (tmux + git worktrees)"
699
+ status: "Active development (Jan 2026, 383 stars)"
700
+ guide_section: "guide/ai-ecosystem.md:850"
701
+ agent_chat:
702
+ repo: "https://github.com/justinabrahms/agent-chat"
703
+ author: "Justin Abrahms"
704
+ description: "Real-time monitoring UI for Gas Town and multiclaude (SSE + SQLite)"
705
+ status: "Early preview (Jan 2026, v0.2.0)"
706
+ guide_section: "guide/ai-ecosystem.md:850"
707
+ # External research & alignment tools
708
+ external_research:
709
+ claude_constitution:
710
+ url: "https://www.anthropic.com/constitution"
711
+ pdf: "https://www-cdn.anthropic.com/9214f02e82c4489fb6cf45441d448a1ecd1a3aca/claudes-constitution.pdf"
712
+ announcement: "https://www.anthropic.com/news/claude-new-constitution"
713
+ description: "Claude's Constitutional AI framework - value hierarchy (safety > ethics > compliance > utility)"
714
+ license: "CC0 1.0 (public domain)"
715
+ published: "2026-01-21"
716
+ guide_section: "guide/data-privacy.md:296"
717
+ petri_v2:
718
+ repo: "https://github.com/safety-research/petri"
719
+ blog: "https://alignment.anthropic.com/2026/petri-v2/"
720
+ description: "Open-source AI behavior audit tool (Anthropic Alignment Science)"
721
+ features:
722
+ - "70 scenarios: collusion, ethics conflicts, info sensitivity"
723
+ - "Eval-awareness mitigations"
724
+ - "Benchmarks: Claude Opus 4.5, GPT-5.2, Gemini 3 Pro, Grok 4"
725
+ published: "2026-01-21"
726
+ guide_section: "README.md:338"
727
+ # Section 9.18 - Codebase Design for Agent Productivity
728
+ codebase_design_agents: 16311
729
+ codebase_design_source: "https://marmelab.com/blog/2026/01/21/agent-experience.html"
730
+ codebase_design_author: "François Zaninotto (Marmelab)"
731
+ codebase_design_llms_txt: 16797 # llms.txt standard for AI-optimized documentation
732
+ codebase_design_llms_txt_spec: "https://llmstxt.org/"
733
+ codebase_design_llms_txt_example: "machine-readable/llms.txt"
734
+ # Section 9.19 - Permutation Frameworks
735
+ permutation_frameworks: 18314
736
+ # Section 9.20 - Agent Teams (v2.1.32+ experimental)
737
+ agent_teams: "guide/workflows/agent-teams.md"
738
+ agent_teams_quick_start: "guide/workflows/agent-teams-quick-start.md" # Practical 8-10 min guide with copy-paste patterns
739
+ agent_teams_overview: 18498 # Section 9.20 in ultimate-guide.md
740
+ agent_teams_architecture: "guide/workflows/agent-teams.md:137"
741
+ agent_teams_setup: "guide/workflows/agent-teams.md:250"
742
+ agent_teams_use_cases: "guide/workflows/agent-teams.md:346"
743
+ agent_teams_fountain_case_study: "guide/workflows/agent-teams.md:358"
744
+ agent_teams_cred_case_study: "guide/workflows/agent-teams.md:391"
745
+ agent_teams_c_compiler_case_study: "guide/workflows/agent-teams.md:308"
746
+ agent_teams_paul_rayner_workflows: "guide/workflows/agent-teams.md:450"
747
+ agent_teams_workflow_impact: "guide/workflows/agent-teams.md:552"
748
+ agent_teams_limitations: "guide/workflows/agent-teams.md:644"
749
+ agent_teams_decision_tree: "guide/workflows/agent-teams.md:804"
750
+ agent_teams_best_practices: "guide/workflows/agent-teams.md:928"
751
+ agent_teams_troubleshooting: "guide/workflows/agent-teams.md:1092"
752
+ agent_teams_experimental_flag: "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true"
753
+ agent_teams_model_requirement: "Opus 4.6 minimum"
754
+ agent_teams_sources:
755
+ - "https://www.anthropic.com/news/claude-opus-4-6"
756
+ - "https://www.anthropic.com/engineering/building-c-compiler"
757
+ - "https://resources.anthropic.com/hubfs/2026%20Agentic%20Coding%20Trends%20Report.pdf"
758
+ - "https://dev.to/thegdsks/claude-opus-46-for-developers-agent-teams-1m-context-and-what-actually-matters-4h8c"
759
+ - "https://www.linkedin.com/posts/thepaulrayner_this-is-wild-i-just-upgraded-claude-code-activity-7425635159678414850-MNyv"
760
+ # Anthropic 2026 Trends (diffused across sections, not standalone)
761
+ agentic_trends_2026_report: "https://resources.anthropic.com/hubfs/2026%20Agentic%20Coding%20Trends%20Report.pdf"
762
+ agentic_trends_2026_evaluation: "docs/resource-evaluations/anthropic-2026-agentic-coding-trends.md"
763
+ agentic_trends_integration_strategy: "Diffusion transversale (industry data in 9.17, 9.20, 9.11, 9 intro)"
764
+ agentic_trends_research_data:
765
+ ai_usage: "60% of work (Anthropic internal study)"
766
+ full_delegation: "0-20% tasks (collaboration > delegation)"
767
+ productivity_gain: "67% more PRs merged/engineer/day"
768
+ new_work: "27% tasks wouldn't be done without AI"
769
+ agentic_trends_case_studies:
770
+ fountain: "50% faster screening (hierarchical multi-agent)"
771
+ rakuten: "7h autonomous vLLM (12.5M lines, 99.9% accuracy)"
772
+ cred: "2x execution speed, quality maintained (fintech)"
773
+ telus: "500K hours saved, 13K solutions, 30% faster"
774
+ legora: "Legal platform, lawyers automate without coding"
775
+ zapier: "89% adoption, 800+ internal agents"
776
+ augment_code: "4-8 months project → 2 weeks"
777
+ agentic_trends_benchmarks:
778
+ multi_instance_cost: "$500-1K/month (Boris pattern validation)"
779
+ agent_teams_timeline: "3-6 months adoption (enterprise)"
780
+ productivity_multiplier: "3x (capabilities × orchestration × experience)"
781
+ timeline_compression: "weeks → days (feature implementation)"
782
+ onboarding_speedup: "2-4 weeks → 4-8 hours (new codebase)"
783
+ agentic_trends_anti_patterns:
784
+ over_delegation: ">5 agents = coordination overhead"
785
+ premature_automation: "Automate before mastering manual"
786
+ tool_sprawl: ">10 MCP servers = maintenance burden"
787
+ no_roi_tracking: "Can't optimize what you don't measure"
788
+ # AI Fluency Research (Anthropic, Feb 2026) - Added 2026-02-23
789
+ ai_fluency_index: "https://www.anthropic.com/research/AI-fluency-index"
790
+ ai_fluency_evaluation: "docs/resource-evaluations/2026-02-23-anthropic-ai-fluency-index.md"
791
+ ai_fluency_score: "4/5"
792
+ ai_fluency_sample: "9,830 conversations, 7-day window, January 2026"
793
+ ai_fluency_iteration_stat: "5.6× more likely to question reasoning (iterative vs non-iterative users)"
794
+ ai_fluency_fluency_ratio: "2.67 vs 1.33 behaviors (iterative vs non-iterative)"
795
+ ai_fluency_collaboration_terms: "Only 30% of users set collaboration terms explicitly"
796
+ ai_fluency_artifact_paradox: "Artifact production → −5.2pp missing context, −3.7pp fact-check, −3.1pp questioning reasoning"
797
+ ai_fluency_plan_review_section: "guide/ultimate-guide.md:2542" # Rev the Engine callout
798
+ ai_fluency_claudemd_section: "guide/ultimate-guide.md:4421" # CLAUDE.md Best Practices callout
799
+ ai_fluency_artifact_section: "guide/ultimate-guide.md:13485" # Artifact Paradox callout (Common Pitfalls)
800
+ ai_fluency_authors: "Swanson, Bent, Huang, Ludwig, Dakan, Feller (Anthropic)"
801
+ ai_fluency_published: "2026-02-23"
802
+ ai_fluency_future: "Claude Code platform analysis (mentioned in paper's future directions)"
803
+ ai_fluency_diagram: "guide/diagrams/06-development-workflows.md#ai-fluency--high-vs-low-fluency-paths"
804
+ ai_fluency_diagram_type: "flowchart — Artifact Paradox: 70% vs 30% user paths, behavioral drop data, iteration outcomes"
805
+ # Advanced Plan Mode Patterns
806
+ rev_the_engine: 2490
807
+ mechanic_stacking: 2538
808
+ # Sub-Agent Patterns (Refactored 2026-02-09)
809
+ agent_anti_patterns: 4032 # Critical: Roles vs Context Control (Dex Horty principle)
810
+ scope_focused_agents: 4079 # Formerly "Split-Role Sub-Agents", refactored for context isolation
811
+ teammatetool_experimental: 3976 # Multi-agent orchestration parent section
812
+ # Task Management Diagnostic
813
+ task_lists_diagnostic: 3884
814
+ # Mental Model
815
+ main_thread_orchestrator: 2886
816
+ # CLAUDE.md Patterns
817
+ continuous_context_update: 4297
818
+ # Hook Patterns
819
+ smart_hook_dispatching: 8689
820
+ # Workflows
821
+ skeleton_projects_workflow: "guide/workflows/skeleton-projects.md"
822
+ # Spec-First Development (Addy Osmani, Jan 2026)
823
+ spec_first_workflow: "guide/workflows/spec-first.md"
824
+ spec_modular_design: "guide/workflows/spec-first.md:363"
825
+ spec_operational_boundaries: "guide/workflows/spec-first.md:461"
826
+ spec_command_template: "guide/workflows/spec-first.md:573"
827
+ spec_anti_monolithic: "guide/workflows/spec-first.md:717"
828
+ spec_osmani_source: "https://addyosmani.com/blog/good-spec/"
829
+ spec_osmani_evaluation: "docs/resource-evaluations/addy-osmani-good-spec.md"
830
+ spec_osmani_score: "4/5"
831
+ spec_task_granularity: "guide/workflows/spec-first.md:62" # Vertical slices + PRD checklist (Allan Hill, Feb 2026)
832
+ spec_prd_checklist: "guide/workflows/spec-first.md:68" # 6-dimension PRD quality checklist
833
+ atdd_with_agents: "guide/methodologies.md:161" # ATDD + Gherkin for agentic workflows
834
+ commands_table: 47
835
+ shortcuts_table: 368
836
+ troubleshooting: 11311
837
+ cheatsheet: 19597
838
+ daily_workflow: 19673
839
+ # AI Ecosystem (Section 11, ~line 10525)
840
+ ai_ecosystem: 20004
841
+ ai_ecosystem_complementarity: 20004
842
+ ai_ecosystem_tool_matrix: 20031
843
+ ai_ecosystem_workflows: 20166
844
+ ai_ecosystem_integration: 20294
845
+ ai_ecosystem_detailed: "guide/ai-ecosystem.md"
846
+ ai_ecosystem_goose: "guide/ai-ecosystem.md:2074"
847
+ ai_ecosystem_goose_comparison: "guide/ai-ecosystem.md:2090"
848
+ ai_ecosystem_context_packing: "guide/ai-ecosystem.md:2533"
849
+ ai_ecosystem_multi_ide_sync: "guide/ai-ecosystem.md:1282"
850
+ agents_md_support_status: "guide/ai-ecosystem.md:1348"
851
+ ai_ecosystem_build_vs_use: "guide/ai-ecosystem.md:2399" # Section 11.3 - When to Build vs Use (ADK, LangChain, Vercel AI SDK)
852
+ # Architecture Diagrams as Context (advanced pattern) - Added 2026-01-25
853
+ architecture_diagrams_input: "guide/ai-ecosystem.md:2567"
854
+ architecture_diagrams_mcp_tools:
855
+ - "Archy MCP: https://www.pulsemcp.com/servers/phxdev1-archy"
856
+ - "Mermaid MCP: 61.4K users"
857
+ - "Blueprint MCP (ArcadeAI)"
858
+ llm_oop_research: "https://dl.acm.org/doi/10.1145/3639474.3640052"
859
+ architecture_diagrams_source: "https://www.linkedin.com/posts/tigraff_uml-claude-wibecoding-activity-7420595633826258944-gGO5"
860
+ ai_ecosystem_voice_to_text: "guide/ai-ecosystem.md:1066"
861
+ ai_ecosystem_alternative_providers: "guide/ai-ecosystem.md:2639"
862
+ voice_refine_skill: "examples/skills/voice-refine/SKILL.md"
863
+ # Cowork documentation (v1.0 - migrated to dedicated repo)
864
+ cowork_reference: "machine-readable/cowork-reference.yaml" # Dedicated YAML index (kept local)
865
+ cowork_hub: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/README.md"
866
+ cowork_summary: "guide/cowork.md" # Summary remains in this repo
867
+ cowork_overview: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/00-overview.md"
868
+ cowork_getting_started: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/01-getting-started.md"
869
+ cowork_capabilities: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/02-capabilities.md"
870
+ cowork_security: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/03-security.md"
871
+ cowork_troubleshooting: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/04-troubleshooting.md"
872
+ cowork_cheatsheet: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/reference/cheatsheet.md"
873
+ cowork_comparison: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/reference/comparison.md"
874
+ cowork_faq: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/reference/faq.md"
875
+ cowork_prompts: "https://github.com/FlorianBruniaux/claude-cowork-guide/tree/main/prompts"
876
+ cowork_workflows: "https://github.com/FlorianBruniaux/claude-cowork-guide/tree/main/workflows"
877
+ cowork_section: "guide/ai-ecosystem.md:1809"
878
+ cowork_ultimate_guide: 20348
879
+ # Experimental Features
880
+ teammatetool: 3976
881
+ teammatetool_status: "Experimental, progressive rollout, feature-flagged"
882
+ teammatetool_capabilities: "Multi-agent coordination, team messaging, swarm patterns"
883
+ teammatetool_sources:
884
+ - "https://gist.github.com/kieranklaassen/4f2aba89594a4aea4ad64d753984b2ea"
885
+ - "https://github.com/anthropics/claude-code/issues/3013"
886
+ - "https://github.com/mikekelly/claude-sneakpeek"
887
+ # Appendix
888
+ appendix_a_file_locations: 20574
889
+ appendix_b_faq: 20750
890
+ faq_clawdbot_vs_claudecode: 20764
891
+ faq_product_managers: 20821
892
+ appendix_c_resource_evaluation: 20886
893
+ appendix_d_myths_vs_reality: 20929
894
+ myths_hidden_features: 20933
895
+ myths_tasks_api_autonomous: 20965
896
+ myths_100x_faster: 20997
897
+ myths_reliable_sources: 20983
898
+ # Quiz System (264 questions, 15 categories)
899
+ quiz_overview: "quiz/README.md"
900
+ quiz_file: "quiz/questions.json"
901
+ quiz_count: 264
902
+ quiz_categories: 15
903
+ quiz_beginner: "quiz/categories/basics,commands,shortcuts,reference"
904
+ quiz_beginner_count: 60
905
+ quiz_intermediate: "quiz/categories/workflows,context,agents,hooks"
906
+ quiz_intermediate_count: 100
907
+ quiz_advanced: "quiz/categories/mcp,production,advanced,learning,ecosystem"
908
+ quiz_advanced_count: 97
909
+ quiz_estimated_time_beginner: "15-20 min"
910
+ quiz_estimated_time_intermediate: "25-30 min"
911
+ quiz_estimated_time_advanced: "30-40 min"
912
+ # Onboarding matrix required keys (added for v2.0.0 adaptive architecture)
913
+ rules: 89 # Golden Rules section
914
+ workflow: 58 # Workflow (9 steps)
915
+ fix: 11948 # Troubleshooting section
916
+ architecture: 919 # Architecture internals
917
+ production_safety: "guide/production-safety.md" # Production safety rules
918
+ security_hardening: "guide/security-hardening.md" # Security best practices
919
+ security_cve_summary: "guide/security-hardening.md:15" # Decision Matrix + CVEs
920
+ security_supply_chain_stats: "guide/security-hardening.md:137" # Agent Skills Supply Chain Risks
921
+ security_mcp_scan_tool: "guide/security-hardening.md:32" # MCP Vetting Workflow
922
+ security_malicious_extensions: "guide/security-hardening.md:252" # .claude/ attack surface (§1.5)
923
+ security_kill_switch: "guide/security-hardening.md:630" # AI Kill Switch & Containment Architecture (§3.5)
924
+ security_claude_folder_audit: "guide/security-hardening.md:228" # Repository Pre-Scan (§1.4)
925
+ security_toxicskills_evaluation: "docs/resource-evaluations/snyk-toxicskills-evaluation.md"
926
+ security_check_command: "examples/commands/security-check.md" # Quick config check vs known threats
927
+ security_audit_command: "examples/commands/security-audit.md" # Full 6-phase security audit (score /100)
928
+ security_threat_db: "examples/commands/resources/threat-db.yaml" # Threat intelligence database (authors, skills, CVEs, patterns)
929
+ security_update_threat_db: "examples/commands/update-threat-db.md" # /update-threat-db — research & update threat database
930
+ security_cc_scanner: "guide/security-hardening.md:780" # Claude Code Security (research preview) — Anthropic native vuln scanner, adversarial validation, patch suggestions
931
+ security_patcher_agent: "examples/agents/security-patcher.md" # Agent: applies patches from security-auditor findings, human approval gate, Write/Edit tools
932
+ security_gate_hook: "examples/hooks/bash/security-gate.sh" # PreToolUse hook: blocks 7 vuln patterns at write time (SQLi, XSS, hardcoded secrets, eval, weak hash, cmd injection, path traversal)
933
+ security_pr_review_workflow: "guide/security-hardening.md:712" # PR security review workflow — 3-agent pipeline, git hook integration
934
+ agent_validation_checklist: 5744 # Agent validation section in ultimate-guide.md
935
+ git_mcp_guide: "guide/mcp-servers-ecosystem.md:113" # Git MCP server documentation
936
+
937
+ # ════════════════════════════════════════════════════════════════
938
+ # DECISION TREE (most important - en premier)
939
+ # ════════════════════════════════════════════════════════════════
940
+ decide:
941
+ simple_task: "just ask Claude"
942
+ complex_task: "/plan first, then use Tasks API (v2.1.16+) or TodoWrite"
943
+ complex_task_multi_session: "use Tasks API with CLAUDE_CODE_TASK_LIST_ID"
944
+ context_high: "/compact (>70%) or /clear (>90%)"
945
+ repeating: "create agent or command"
946
+ need_docs: "Context7 MCP"
947
+ deep_debug: "use Opus (thinking enabled by default) - Alt+T to toggle"
948
+
949
+ # ════════════════════════════════════════════════════════════════
950
+ # PROMPTING FORMULA (see deep_dive.xml_prompting for details)
951
+ # ════════════════════════════════════════════════════════════════
952
+ prompt_formula:
953
+ WHAT: "concrete deliverable"
954
+ WHERE: "file paths"
955
+ HOW: "constraints, approach"
956
+ VERIFY: "success criteria"
957
+ example: |
958
+ Add input validation to login form.
959
+ WHERE: src/components/LoginForm.tsx
960
+ HOW: Use Zod, inline errors
961
+ VERIFY: Empty email shows error
962
+
963
+ # ════════════════════════════════════════════════════════════════
964
+ # WORKFLOW (9 steps) - see deep_dive.first_workflow
965
+ # ════════════════════════════════════════════════════════════════
966
+ workflow:
967
+ 1: "claude"
968
+ 2: "/status"
969
+ 3: "Shift+Tab×2 for plan mode (if risky)"
970
+ 4: "describe task (WHAT/WHERE/HOW/VERIFY)"
971
+ 5: "review diff"
972
+ 6: "y/n"
973
+ 7: "run tests"
974
+ 8: "commit"
975
+ 9: "/compact when >70%"
976
+
977
+ # ════════════════════════════════════════════════════════════════
978
+ # CRITICAL COMMANDS - see deep_dive.essential_commands
979
+ # ════════════════════════════════════════════════════════════════
980
+ commands:
981
+ /compact: "compress context - USE AT >70%"
982
+ /clear: "reset conversation - USE AT >90%"
983
+ /status: "show context % and cost"
984
+ /plan: "read-only mode (safe exploration)"
985
+ /execute: "exit plan mode"
986
+ /rewind: "undo changes"
987
+ /model: "switch: sonnet|opus|opusplan"
988
+ /mcp: "show MCP server status"
989
+ /context: "detailed token breakdown"
990
+ /teleport: "bring web session to local CLI"
991
+ /tasks: "monitor background tasks"
992
+ /remote-env: "configure cloud environment"
993
+ /remote-control: "start remote control session (Research Preview, Pro/Max only)"
994
+ /rc: "alias for /remote-control"
995
+ /mobile: "get Claude mobile app download links (iOS + Android)"
996
+
997
+ # ════════════════════════════════════════════════════════════════
998
+ # SHORTCUTS - see deep_dive.shortcuts_table
999
+ # ════════════════════════════════════════════════════════════════
1000
+ shortcuts:
1001
+ Shift+Tab: "cycle: default → auto-accept → plan"
1002
+ Esc×2: "rewind/undo"
1003
+ Ctrl+C: "interrupt"
1004
+ Ctrl+R: "search command history"
1005
+ Ctrl+B: "background all tasks"
1006
+ "@file": "reference file"
1007
+ "!cmd": "shell command"
1008
+
1009
+ # ════════════════════════════════════════════════════════════════
1010
+ # CLI FLAGS - see deep_dive.commands_table
1011
+ # ════════════════════════════════════════════════════════════════
1012
+ cli:
1013
+ "-c": "continue last session"
1014
+ "-r <id>": "resume specific session"
1015
+ "--teleport": "bring web session to local CLI"
1016
+ "remote-control": "subcommand: start remote control session"
1017
+ "-p": "non-interactive (pipe mode)"
1018
+ "--model X": "select model"
1019
+ "--dangerously-skip-permissions": "auto-accept ALL (danger)"
1020
+ "--debug": "verbose output"
1021
+ "--add-dir": "grant tool access to directories outside CWD"
1022
+
1023
+ # ════════════════════════════════════════════════════════════════
1024
+ # CONTEXT MANAGEMENT - see deep_dive.context_management
1025
+ # ════════════════════════════════════════════════════════════════
1026
+ context:
1027
+ zones:
1028
+ green: "0-50% → work freely"
1029
+ yellow: "50-70% → be selective"
1030
+ orange: "70-90% → /compact NOW"
1031
+ red: "90%+ → /clear required"
1032
+ fresh_context: "Reset per task for long autonomous sessions - see Section 2.2 Fresh Context Pattern"
1033
+ symptoms:
1034
+ short_responses: "/compact"
1035
+ forgetting_instructions: "/clear"
1036
+ inconsistent: "context bleeding → /clear"
1037
+ slow: "/compact or /clear"
1038
+
1039
+ # ════════════════════════════════════════════════════════════════
1040
+ # MEMORY FILES - see deep_dive.memory_files
1041
+ # ════════════════════════════════════════════════════════════════
1042
+ memory:
1043
+ global: "~/.claude/CLAUDE.md (not committed)"
1044
+ project_team: "./CLAUDE.md (committed)"
1045
+ project_personal: "./.claude/CLAUDE.md (not committed)"
1046
+ priority: "project > global"
1047
+
1048
+ # ════════════════════════════════════════════════════════════════
1049
+ # .claude/ STRUCTURE - see deep_dive.claude_folder
1050
+ # ════════════════════════════════════════════════════════════════
1051
+ folder_structure:
1052
+ CLAUDE.md: "local instructions"
1053
+ settings.json: "hooks config (committed)"
1054
+ settings.local.json: "permissions (not committed)"
1055
+ agents/: "custom AI personas"
1056
+ commands/: "slash commands"
1057
+ hooks/: "event scripts"
1058
+ skills/: "knowledge modules"
1059
+ rules/: "auto-loaded rules"
1060
+
1061
+ # ════════════════════════════════════════════════════════════════
1062
+ # PERMISSION MODES - see deep_dive.permission_modes
1063
+ # ════════════════════════════════════════════════════════════════
1064
+ permissions:
1065
+ default: "editing=ask, execution=ask"
1066
+ auto_accept: "editing=auto, execution=ask"
1067
+ plan_mode: "editing=blocked, execution=blocked"
1068
+ switch: "Shift+Tab"
1069
+
1070
+ # ════════════════════════════════════════════════════════════════
1071
+ # MCP SERVERS - see deep_dive.mcp_servers
1072
+ # ════════════════════════════════════════════════════════════════
1073
+ mcp:
1074
+ serena: "symbol search + session memory (write_memory/read_memory) + project indexation"
1075
+ claude_mem: "automatic session capture + AI compression + progressive disclosure + Web dashboard (localhost:37777)"
1076
+ claude_mem_repo: "https://github.com/thedotmack/claude-mem"
1077
+ claude_mem_guide: "guide/ultimate-guide.md:1585"
1078
+ claude_mem_plugin: "examples/plugins/claude-mem.md"
1079
+ claude_mem_installation: "/plugin marketplace add thedotmack/claude-mem"
1080
+ claude_mem_stars: "26.5k"
1081
+ claude_mem_license: "AGPL-3.0 + PolyForm Noncommercial"
1082
+ claude_mem_cost: "$0.15 per 100 observations (API compression)"
1083
+ claude_mem_storage: "10-20 MB/month (light), 100-200 MB/month (heavy)"
1084
+ claude_mem_dashboard: "http://localhost:37777"
1085
+ claude_mem_vs_serena: "claude-mem=auto capture, Serena=manual memory"
1086
+ claude_mem_progressive_disclosure: "3-layer retrieval: search→timeline→observations (10x token reduction)"
1087
+ claude_mem_evaluation: "docs/resource-evaluations/claude-mem-evaluation.md"
1088
+ claude_mem_score: "4/5 (High Value)"
1089
+ doobidoo_memory: "semantic memory search + Knowledge Graph dashboard + 13+ clients (⚠️ under testing)"
1090
+ doobidoo_install: "pip install mcp-memory-service && python -m mcp_memory_service.scripts.installation.install --quick"
1091
+ doobidoo_dashboard: "http://localhost:8000"
1092
+ doobidoo_vs_serena: "Serena=key-value (requires known key), doobidoo=semantic search (finds by meaning)"
1093
+ doobidoo_backends: "sqlite_vec (local), cloudflare (multi-device), hybrid (local+cloud sync)"
1094
+ doobidoo_tools: "store_memory, retrieve_memory, search_by_tag, delete_memory, list_memories, check_database_health, memory_graph"
1095
+ doobidoo_data_location: "~/.mcp-memory-service/memories.db"
1096
+ mcp_memory_stack: "4 layers: doobidoo (decisions) → Serena (symbols) → grepai (code search) → Context7 (docs)"
1097
+ mcp_complementarity_patterns: "onboarding, ADR, debug persistence, multi-IDE coordination"
1098
+ serena_indexation: "uvx --from git+https://github.com/oraios/serena serena project index [--force-full|--incremental] [--parallel N]"
1099
+ serena_cache: ".serena/cache/typescript/ (add to .gitignore)"
1100
+ context7: "library docs lookup"
1101
+ sequential: "structured multi-step reasoning"
1102
+ playwright: "browser automation / E2E"
1103
+ figma: "design file access, tokens, structure (official)"
1104
+ git_mcp: "version control automation (official Anthropic) - 12 tools for commits, branches, diffs, logs"
1105
+ git_mcp_guide: "guide/mcp-servers-ecosystem.md:102"
1106
+ git_mcp_tools: "git_status, git_log, git_diff, git_commit, git_add, git_reset, git_branch, git_create_branch, git_checkout, git_show, git_diff_unstaged, git_diff_staged"
1107
+ git_mcp_install: "uvx mcp-server-git --repository /path/to/repo"
1108
+ git_mcp_decision_matrix: "guide/mcp-servers-ecosystem.md:212" # Git MCP vs GitHub MCP vs Bash tool
1109
+ git_mcp_repo: "https://github.com/modelcontextprotocol/servers/tree/main/src/git"
1110
+ git_mcp_score: "8.5/10"
1111
+ git_mcp_status: "Early development (API subject to change)"
1112
+ git_mcp_advanced_filtering: "ISO 8601 dates, relative dates (2 weeks ago), absolute dates"
1113
+ git_mcp_use_cases: "automated commits, log analysis, branch management, token-efficient diffs, multi-repo"
1114
+ ast_grep: "optional plugin for AST-based code search (explicit invocation required)"
1115
+ ast_grep_guide: "guide/ultimate-guide.md:9845"
1116
+ ast_grep_skill: "examples/skills/ast-grep-patterns.md"
1117
+ ast_grep_install: "npx skills add ast-grep/agent-skill"
1118
+ ast_grep_when: "structural patterns (>50k lines, migrations, AST rules)"
1119
+ ast_grep_not_for: "simple string search, small projects (<10k lines)"
1120
+ search_decision_tree: "grep (text) | ast-grep (structure) | Serena (symbols) | grepai (semantic)"
1121
+ search_tools_comparison: "guide/ultimate-guide.md:9845"
1122
+ search_tools_mastery_workflow: "guide/workflows/search-tools-mastery.md"
1123
+ grep_vs_rag_history: "guide/architecture.md:232"
1124
+ ripgrep_native: "Grep tool (Claude Code built-in, ~20ms)"
1125
+ grepai_semantic: "Semantic search + call graph (Ollama-based, ~500ms)"
1126
+ grepai_benchmark:
1127
+ source: "https://yoandev.co/grepai-benchmark"
1128
+ guide_section: "guide/workflows/search-tools-mastery.md:240"
1129
+ date: "2026-01-20"
1130
+ summary: "-55% tool calls, -97% tokens vs grep (Excalidraw 155k TS)"
1131
+ caveat: "Benchmark by tool maintainer, single-project validation"
1132
+ serena_symbols: "Symbol-aware + session memory (~100ms)"
1133
+ astgrep_structural: "AST patterns for large refactoring (~200ms)"
1134
+ search_combined_workflow: "guide/workflows/search-tools-mastery.md:205"
1135
+ check: "/mcp"
1136
+ config: "~/.claude.json (mcpServers field) or .mcp.json (project root)"
1137
+ tool_search: "lazy loading MCP tools (v2.1.7+) - 85% token reduction - auto:N threshold config"
1138
+ tool_search_config: "ENABLE_TOOL_SEARCH=auto|auto:N|true|false"
1139
+ tool_search_deep_dive: "guide/architecture.md:284"
1140
+
1141
+ # ════════════════════════════════════════════════════════════════
1142
+ # ARCHITECTURE INTERNALS - see guide/architecture.md
1143
+ # ════════════════════════════════════════════════════════════════
1144
+ architecture:
1145
+ master_loop: "while(tool_call) - no DAG, no classifier, no RAG"
1146
+ core_tools: "Bash, Read, Edit, Write, Grep, Glob, Task, TodoWrite"
1147
+ context_budget: "~200K tokens, auto-compact at 75-92%"
1148
+ subagents: "Task tool spawns isolated agents (depth=1 max)"
1149
+ teammatetool: "Experimental multi-agent coordination (v3294)"
1150
+ philosophy: "less scaffolding, more model - trust Claude's reasoning"
1151
+ mcp_protocol: "JSON-RPC 2.0, treated as native tools"
1152
+ permissions: "interactive prompts + allow/deny rules + hooks"
1153
+ deep_dive: "guide/architecture.md"
1154
+
1155
+ # ════════════════════════════════════════════════════════════════
1156
+ # COST OPTIMIZATION - see deep_dive.cost_optimization
1157
+ # ════════════════════════════════════════════════════════════════
1158
+ cost:
1159
+ haiku: "simple fixes, reviews ($)"
1160
+ sonnet: "most development ($$)"
1161
+ opus: "architecture, complex bugs ($$$)"
1162
+ opusplan: "plan=opus + execute=sonnet ($$)"
1163
+ tip: "--add-dir grants tool access to additional directories (permissions, not context loading)"
1164
+ rtk: "Command output filtering (72.6% avg reduction) - rtk git log/status/diff"
1165
+
1166
+ # ════════════════════════════════════════════════════════════════
1167
+ # TOOL SELECTION
1168
+ # ════════════════════════════════════════════════════════════════
1169
+ tools:
1170
+ file_search: "Glob (not find)"
1171
+ content_search: "Grep (not grep bash)"
1172
+ file_read: "Read (not cat)"
1173
+ file_edit: "Edit (not sed)"
1174
+ multi_file: "MultiEdit"
1175
+ deep_analysis: "Sequential MCP"
1176
+ library_docs: "Context7 MCP"
1177
+ browser: "Playwright MCP"
1178
+
1179
+ # ════════════════════════════════════════════════════════════════
1180
+ # ANTI-PATTERNS - see deep_dive.pitfalls
1181
+ # ════════════════════════════════════════════════════════════════
1182
+ dont:
1183
+ - "vague prompts → be specific"
1184
+ - "accept without reading → read every diff"
1185
+ - "ignore >70% context → /compact"
1186
+ - "skip permissions in prod → never"
1187
+ - "bloated CLAUDE.md → keep concise (<200 lines)"
1188
+ - "only negative constraints → provide alternatives"
1189
+
1190
+ # ════════════════════════════════════════════════════════════════
1191
+ # TROUBLESHOOTING - see deep_dive.troubleshooting
1192
+ # ════════════════════════════════════════════════════════════════
1193
+ fix:
1194
+ "command not found": "npm i -g @anthropic-ai/claude-code"
1195
+ "context too high": "/compact or /clear"
1196
+ "slow responses": "/compact"
1197
+ "MCP not working": "claude mcp list, check config"
1198
+ "permission denied": "check settings.local.json"
1199
+ "hook blocking": "check exit code (0=ok, 2=block)"
1200
+
1201
+ # ════════════════════════════════════════════════════════════════
1202
+ # DEBUG COMMANDS
1203
+ # ════════════════════════════════════════════════════════════════
1204
+ debug:
1205
+ version: "claude --version"
1206
+ update: "claude update"
1207
+ diagnostic: "claude doctor"
1208
+ verbose: "claude --debug"
1209
+ mcp_debug: "claude --mcp-debug"
1210
+
1211
+ # ════════════════════════════════════════════════════════════════
1212
+ # AGENT TEMPLATE - see deep_dive.agent_template
1213
+ # ════════════════════════════════════════════════════════════════
1214
+ agent_template: |
1215
+ ---
1216
+ name: agent-name
1217
+ description: Use when [trigger]
1218
+ model: sonnet|opus|haiku
1219
+ tools: Read, Write, Edit, Bash
1220
+ ---
1221
+ # Instructions here
1222
+
1223
+ # Agent frontmatter — all official fields (verified 2026-02-26 against code.claude.com/docs/en/sub-agents)
1224
+ agent_frontmatter_official_fields:
1225
+ name: "display name + /slash-command trigger"
1226
+ description: "trigger description (required for auto-discovery)"
1227
+ model: "sonnet (default) | opus | haiku | inherit"
1228
+ tools: "comma-separated list: Read, Write, Edit, Bash, Grep, Glob, Task(agent_type)..."
1229
+ disallowedTools: "tools to block (array)"
1230
+ permissionMode: "default | acceptEdits | dontAsk | bypassPermissions | plan"
1231
+ maxTurns: "integer — limit agent turns"
1232
+ skills: "skills to preload at startup (full content injected)"
1233
+ mcpServers: "MCP server configs"
1234
+ hooks: "lifecycle hooks (same format as settings.json hooks)"
1235
+ memory: "user | project | local — persistent memory scope"
1236
+ background: "true = always run as background task"
1237
+ isolation: "worktree = temporary git worktree isolation"
1238
+ color: "CLI output color"
1239
+ agent_frontmatter_memory_scopes:
1240
+ user: "~/.claude/memory/<agent-name>.md — cross-project"
1241
+ project: ".claude/memory/<agent-name>.md — shared with team"
1242
+ local: ".claude/memory/<agent-name>.local.md — gitignored"
1243
+ agent_frontmatter_guide_line: 5639 # Official fields table in ultimate-guide.md
1244
+
1245
+ # ════════════════════════════════════════════════════════════════
1246
+ # HOOK EVENTS - see deep_dive.hooks
1247
+ # ════════════════════════════════════════════════════════════════
1248
+ hook_events:
1249
+ PreToolUse: "before tool (exit 2 to block)"
1250
+ PostToolUse: "after tool"
1251
+ UserPromptSubmit: "before prompt sent"
1252
+ Notification: "alerts"
1253
+
1254
+ # Hook Execution Model (v2.1.0+)
1255
+ hooks_execution_model: 7969 # Section in ultimate-guide.md
1256
+ hooks_async_support: "v2.1.0+ - add 'async: true' for non-blocking execution"
1257
+ hooks_async_use_cases: "logging, notifications, formatting, metrics (no feedback needed)"
1258
+ hooks_sync_use_cases: "validation, type checking, security (feedback required)"
1259
+ hooks_decision_matrix: 6091 # Decision matrix table
1260
+ hooks_async_limitations: "no exit code feedback, no additionalContext, no blocking"
1261
+ hooks_async_bug_fix: "v2.1.23 - fixed cancellation in headless streaming"
1262
+
1263
+ # ════════════════════════════════════════════════════════════════
1264
+ # GOLDEN RULES
1265
+ # ════════════════════════════════════════════════════════════════
1266
+ rules:
1267
+ 1: "Always review diffs before accepting"
1268
+ 2: "Use /compact before >70%"
1269
+ 3: "Be specific (WHAT/WHERE/HOW/VERIFY)"
1270
+ 4: "Plan Mode first for complex/risky"
1271
+ 5: "Create CLAUDE.md for every project"
1272
+ 6: "Commit frequently after each task"
1273
+
1274
+ # ════════════════════════════════════════════════════════════════
1275
+ # ECOSYSTEM - Related resources & positioning
1276
+ # ════════════════════════════════════════════════════════════════
1277
+ ecosystem:
1278
+ this_guide:
1279
+ focus: "Education - Learn & master"
1280
+ unique: ["architecture docs", "TDD/SDD methodologies", "264-question quiz", "YAML index"]
1281
+ complementary:
1282
+ claude_code_templates:
1283
+ url: "github.com/davila7/claude-code-templates"
1284
+ focus: "Distribution - Install & use (CLI)"
1285
+ stars: "17k+"
1286
+ awesome_claude_code:
1287
+ url: "github.com/hesreallyhim/awesome-claude-code"
1288
+ focus: "Curation - Discover & link"
1289
+ awesome_claude_skills:
1290
+ url: "github.com/BehiSecc/awesome-claude-skills"
1291
+ maintainer: "BehiSecc"
1292
+ focus: "Skills taxonomy - 62 skills across 12 categories"
1293
+ categories: ["Development", "Design", "Documentation", "Testing", "DevOps", "Security", "Data", "AI/ML", "Productivity", "Content", "Integration", "Fun"]
1294
+ positioning: "Complementary to awesome-claude-code (skills-only vs full ecosystem)"
1295
+ evaluation: "docs/resource-evaluations/awesome-claude-skills-github.md"
1296
+ score: "3/5 (Moderate - Useful complement)"
1297
+ note: "Distinct from ComposioHQ/awesome-claude-skills (different maintainer, taxonomy approach)"
1298
+ claude_code_everything:
1299
+ url: "github.com/wesammustafa/Claude-Code-Everything"
1300
+ focus: "Visual walkthrough - Screenshots, BMAD method"
1301
+ everything_claude_code:
1302
+ url: "github.com/affaan-m/everything-claude-code"
1303
+ author: "Affaan Mustafa (Anthropic hackathon winner - Zenith project)"
1304
+ focus: "Production configs - Battle-tested from 10+ months intensive use"
1305
+ stars: "45k+"
1306
+ verified: "2026-02-15"
1307
+ created: "2026-01-18"
1308
+ unique: ["hookify (conversational hooks)", "pass@k metrics", "Plugin ecosystem", "Sandboxed subagents", "Strategic compaction skills"]
1309
+ evaluation: "docs/resource-evaluations/015-everything-claude-code-github-repo.md"
1310
+ score: "5/5 (CRITICAL)"
1311
+ positioning: "Complementary to Ultimate Guide (production configs vs educational content)"
1312
+ note: "Consolidates existing patterns; author hackathon win was for Zenith project, not this repo"
1313
+ caveat: "Node.js hooks not officially recommended by Anthropic (shell preferred)"
1314
+ coding_agents_matrix:
1315
+ url: "coding-agents-matrix.dev"
1316
+ github: "github.com/PackmindHub/coding-agents-matrix"
1317
+ maintainer: "Packmind (Cédric Teyton, Arthur Magne)"
1318
+ license: "Apache-2.0"
1319
+ focus: "Interactive comparison of 23 AI coding agents across 11 criteria"
1320
+ updated: "2026-01-19"
1321
+ tech_stack: "React, Vite, Tailwind CSS"
1322
+ features:
1323
+ - "11 technical criteria (CLI, MCP, Skills, Commands, Subagents, Plan Mode, AGENTS.md, BYO LLM, Custom Rules, Dedicated IDE, IDE Extension)"
1324
+ - "Sortable columns and multi-filter (AND logic)"
1325
+ - "Community-driven updates (GitHub issue templates)"
1326
+ - "Open source data structure (JSON-based)"
1327
+ agents_snapshot: 23 # As of 2026-01-19 (evolves over time)
1328
+ positioning: "Discovery tool - Use Matrix to find/compare agents, use this guide to master Claude Code"
1329
+ note: "External resource - verify data freshness as agents/criteria evolve"
1330
+ context_evaluator:
1331
+ url: "context-evaluator.ai"
1332
+ github: "github.com/PackmindHub/context-evaluator"
1333
+ maintainer: "Packmind (Cédric Teyton)"
1334
+ license: "Apache-2.0"
1335
+ focus: "Scanner for CLAUDE.md/AGENTS.md/copilot-instructions.md — 17 evaluators (13 error detectors + 4 suggestion generators)"
1336
+ updated: "2026-02-23"
1337
+ tech_stack: "Bun, React, Tailwind CSS, TypeScript"
1338
+ supports: ["Claude Code", "Cursor", "GitHub Copilot", "OpenCode", "OpenAI Codex"]
1339
+ interface: ["CLI", "Web UI"]
1340
+ guide_section: "ai-ecosystem.md#related-resources"
1341
+ note: "v0.3.0, experimental (8 stars as of 2026-02-25) — mention only, no dedicated section"
1342
+ practitioner_insights:
1343
+ dave_van_veen:
1344
+ url: "davevanveen.com/blog/agentic_coding/"
1345
+ author: "Dave Van Veen (PhD Stanford, Principal AI Scientist @ HOPPR)"
1346
+ focus: "Production-grade agentic coding guardrails (TDD, worktrees, manual commits)"
1347
+ academic: "Co-author 'Agentic Systems in Radiology' (ArXiv 2025)"
1348
+ alignment: "Validates patterns already documented in this guide"
1349
+ guide_section: "guide/ai-ecosystem.md:1209"
1350
+ install_templates: "scripts/install-templates.sh"
1351
+ cowork:
1352
+ description: "Claude Code for non-developers (desktop app)"
1353
+ status: "Research preview - Max/macOS only (Jan 2026)"
1354
+ blog: "https://claude.com/blog/cowork-research-preview"
1355
+ github: "https://github.com/FlorianBruniaux/claude-cowork-guide"
1356
+ guide_summary: "guide/cowork.md" # Summary in this repo
1357
+ guide_full: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/README.md"
1358
+ getting_started: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/01-getting-started.md"
1359
+ capabilities: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/02-capabilities.md"
1360
+ security: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/03-security.md"
1361
+ troubleshooting: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/guide/04-troubleshooting.md"
1362
+ cheatsheet: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/reference/cheatsheet.md"
1363
+ comparison: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/reference/comparison.md"
1364
+ faq: "https://github.com/FlorianBruniaux/claude-cowork-guide/blob/main/reference/faq.md"
1365
+ prompts: "https://github.com/FlorianBruniaux/claude-cowork-guide/tree/main/prompts"
1366
+ workflows: "https://github.com/FlorianBruniaux/claude-cowork-guide/tree/main/workflows"
1367
+ landing_sites:
1368
+ description: "Marketing sites for guide discovery and navigation"
1369
+ architecture: "4-repo ecosystem: 2 sources (docs) + 2 landings (vitrine)"
1370
+ code_landing:
1371
+ local: "/Users/florianbruniaux/Sites/perso/claude-code-ultimate-guide-landing/"
1372
+ purpose: "Marketing site for Claude Code guide"
1373
+ audience: "Developers discovering the guide"
1374
+ features: ["badges (version, templates, lines)", "quiz (264 questions)", "FAQ", "cross-links to Cowork"]
1375
+ sync_with: "Guide Code (version, templates count, guide lines)"
1376
+ cowork_landing:
1377
+ local: "/Users/florianbruniaux/Sites/perso/claude-cowork-guide-landing/"
1378
+ purpose: "Marketing site for Cowork guide"
1379
+ audience: "Knowledge workers discovering Cowork"
1380
+ features: ["prompts showcase", "workflows preview", "cross-links to Code"]
1381
+ sync_with: "Cowork guide (version, prompts count)"
1382
+ sync_triggers:
1383
+ - "Version bump → Update corresponding landing"
1384
+ - "Templates/prompts added → Update counts"
1385
+ - "Cross-links modified → Update all 4 repos"
1386
+ history:
1387
+ - date: "2026-01-20"
1388
+ event: "Code Landing sync v3.29.0, 66 templates, cross-links"
1389
+ commit: "5b5ce62"
1390
+ - date: "2026-01-20"
1391
+ event: "Cowork Landing fix (paths, README, UI badges)"
1392
+ commits: "cab83f5, af497b7, 539912b"
1393
+
1394
+ # ════════════════════════════════════════════════════════════════
1395
+ # ONBOARDING MATRIX METADATA
1396
+ # ════════════════════════════════════════════════════════════════
1397
+ onboarding_matrix_meta:
1398
+ version: "2.0.0"
1399
+ last_updated: "2026-02-05"
1400
+ aligned_with_guide: "3.29.0"
1401
+ changelog:
1402
+ - version: "2.0.0"
1403
+ date: "2026-02-05"
1404
+ changes: "Adaptive architecture (core+adaptive topics), v3.21-3.22 coverage (git_mcp, sandbox_native, config_hierarchy, mcp_secrets, dual_instance), security-first (sandbox in beginner_5min), time budgets validated, learn_security goal added"
1405
+ - version: "1.0.0"
1406
+ date: "2025-12-01"
1407
+ changes: "Initial static matrix"
1408
+ maintenance:
1409
+ review_trigger: "Every CRITICAL (5/5) or HIGH VALUE (4/5) feature addition in resource evaluations"
1410
+ automation: "scripts/detect-new-onboarding-topics.sh (run monthly)"
1411
+ responsible: "Guide maintainer (quarterly review)"
1412
+
1413
+ # ════════════════════════════════════════════════════════════════
1414
+ # ONBOARDING MATRIX - Maps user profile → content sections
1415
+ # Used by tools/onboarding-prompt.md for personalized learning paths
1416
+ # Format: Each profile has core (always shown) + adaptive (context-based) topics
1417
+ # ════════════════════════════════════════════════════════════════
1418
+ onboarding_matrix:
1419
+ # Adaptive architecture: Each profile has core (always) + adaptive (context-based) topics
1420
+ # Adaptive triggers: keywords in user messages → relevant v3.21-3.22 topics
1421
+ # Time budgets: Validated (6-8 min/topic average, respects topics_max limits)
1422
+
1423
+ get_started:
1424
+ beginner_5min:
1425
+ core: [rules, sandbox_native_guide, commands]
1426
+ time_budget: "5 min"
1427
+ topics_max: 3
1428
+ note: "SECURITY FIRST - sandbox before commands (v3.29.0 critical fix)"
1429
+
1430
+ beginner_15min:
1431
+ core: [rules, sandbox_native_guide, workflow, essential_commands]
1432
+ time_budget: "15 min"
1433
+ topics_max: 4
1434
+ note: "Core workflow with security foundation"
1435
+
1436
+ beginner_30min:
1437
+ core: [rules, sandbox_native_guide, workflow, context_management]
1438
+ adaptive:
1439
+ - trigger: "permission|allow|deny|mode"
1440
+ topics: [permission_modes]
1441
+ - default: essential_commands
1442
+ time_budget: "30 min"
1443
+ topics_max: 5
1444
+
1445
+ optimize:
1446
+ intermediate_15min:
1447
+ core: [context_management, context_triage, plan_mode]
1448
+ time_budget: "15 min"
1449
+ topics_max: 3
1450
+
1451
+ intermediate_30min:
1452
+ core: [context_management, plan_mode, cost_optimization]
1453
+ adaptive:
1454
+ - trigger: "memory|persist|session|remember"
1455
+ topics: [memory_files]
1456
+ - default: batch_operations
1457
+ time_budget: "30 min"
1458
+ topics_max: 5
1459
+
1460
+ power_30min:
1461
+ core: [context_triage, cost_optimization]
1462
+ adaptive:
1463
+ - trigger: "team|sync|backup|config|multi-machine|laptop|desktop"
1464
+ topics: [config_hierarchy]
1465
+ - trigger: "git|version control|commits|branches|repository"
1466
+ topics: [git_mcp_guide]
1467
+ - trigger: "secrets|API keys|credentials|env|tokens|password"
1468
+ topics: [mcp_secrets_management]
1469
+ - default: batch_operations
1470
+ time_budget: "30 min"
1471
+ topics_max: 4
1472
+ note: "Adaptive: picks up to 2 from adaptive based on user context (v3.21-3.22)"
1473
+
1474
+ power_60min:
1475
+ core: [context_triage, cost_optimization, config_hierarchy]
1476
+ adaptive:
1477
+ - trigger: "git"
1478
+ topics: [git_mcp_guide]
1479
+ - trigger: "secrets"
1480
+ topics: [mcp_secrets_management]
1481
+ - trigger: "security|sandbox|isolation"
1482
+ topics: [sandbox_native_guide]
1483
+ - default: [batch_operations, rtk_guide]
1484
+ time_budget: "60 min"
1485
+ topics_max: 7
1486
+ note: "Comprehensive optimization with all v3.21-3.22 topics"
1487
+
1488
+ build_agents:
1489
+ intermediate_30min:
1490
+ core: [agents, agent_template, agent_examples]
1491
+ time_budget: "30 min"
1492
+ topics_max: 3
1493
+
1494
+ power_30min:
1495
+ core: [agents, skills, commands]
1496
+ adaptive:
1497
+ - trigger: "template|structure|format"
1498
+ topics: [skill_template]
1499
+ - default: hooks
1500
+ time_budget: "30 min"
1501
+ topics_max: 4
1502
+
1503
+ power_60min:
1504
+ core: [agents, skills, commands, hooks]
1505
+ adaptive:
1506
+ - trigger: "quality|review|planner|dual|two instances|spec"
1507
+ topics: [dual_instance_planning]
1508
+ - trigger: "validation|checklist|production|deploy"
1509
+ topics: [agent_validation_checklist]
1510
+ - default: agent_validation_checklist
1511
+ time_budget: "60 min"
1512
+ topics_max: 6
1513
+ note: "Dual-instance pattern for quality workflows (v3.29.0)"
1514
+
1515
+ learn_security:
1516
+ intermediate_30min:
1517
+ core: [sandbox_native_guide, mcp_secrets_management]
1518
+ adaptive:
1519
+ - trigger: "production|deploy|hardening|best practices"
1520
+ topics: [security_hardening]
1521
+ - default: permission_modes
1522
+ time_budget: "30 min"
1523
+ topics_max: 4
1524
+ note: "NEW goal (v3.29.0) - Security-focused learning path"
1525
+
1526
+ power_60min:
1527
+ core: [sandbox_native_guide, mcp_secrets_management, security_hardening]
1528
+ adaptive:
1529
+ - trigger: "production|safe|rules|reliability"
1530
+ topics: [production_safety]
1531
+ - trigger: "docker|isolation|microvm|container"
1532
+ topics: [sandbox_isolation_guide]
1533
+ - default: production_safety
1534
+ time_budget: "60 min"
1535
+ topics_max: 5
1536
+
1537
+ fix_problem:
1538
+ any_any:
1539
+ core: [troubleshooting, fix, context.symptoms]
1540
+ time_budget: "N/A"
1541
+ topics_max: 3
1542
+ note: "Direct troubleshooting, no profiling"
1543
+
1544
+ learn_everything:
1545
+ beginner_60min:
1546
+ core: [rules, sandbox_native_guide, workflow, essential_commands, context_management, plan_mode]
1547
+ time_budget: "60 min"
1548
+ topics_max: 6
1549
+ note: "Security foundation + core workflow (v3.29.0 sandbox added)"
1550
+
1551
+ intermediate_120min:
1552
+ core: [plan_mode, agents, skills, config_hierarchy, git_mcp_guide, hooks, mcp_servers]
1553
+ time_budget: "120 min"
1554
+ topics_max: 7
1555
+ note: "Agents + v3.21-3.22 topics (config/git)"
1556
+
1557
+ power_120min:
1558
+ core: [architecture, dual_instance_planning, mcp_secrets_management, cost_optimization, cicd]
1559
+ adaptive:
1560
+ - trigger: "security"
1561
+ topics: [security_hardening, sandbox_native_guide]
1562
+ - default: [rtk_guide, bridge_guide]
1563
+ time_budget: "120 min"
1564
+ topics_max: 9
1565
+ note: "Advanced patterns + all v3.21-3.22 features"
1566
+
1567
+ # ════════════════════════════════════════════════════════════════
1568
+ # ONBOARDING QUESTIONS - Structure for interactive profiling
1569
+ # ════════════════════════════════════════════════════════════════
1570
+ onboarding_questions:
1571
+ mandatory:
1572
+ goal:
1573
+ ask: "What's your goal right now?"
1574
+ options:
1575
+ get_started: "🚀 Get started quickly"
1576
+ optimize: "📈 Optimize my workflow"
1577
+ build_agents: "🏗️ Build custom agents/skills"
1578
+ learn_security: "🛡️ Learn security best practices"
1579
+ fix_problem: "🐛 Fix a problem"
1580
+ learn_everything: "📚 Learn everything"
1581
+
1582
+ level:
1583
+ ask: "Experience with Claude Code?"
1584
+ options:
1585
+ beginner: "🟢 Beginner (never used / just installed)"
1586
+ intermediate: "🟡 Intermediate (daily use)"
1587
+ power: "🔴 Power User (know basics, want advanced)"
1588
+
1589
+ tone:
1590
+ ask: "How do you prefer me to communicate?"
1591
+ options:
1592
+ pedagogical: "🎓 Pedagogical - Detailed explanations, understand why"
1593
+ direct: "⚡ Direct - Straight to the point"
1594
+ coaching: "🧭 Coaching - Guide me with questions"
1595
+ adaptive: "🔄 Adaptive - Mix based on complexity"
1596
+
1597
+ optional:
1598
+ time:
1599
+ ask: "How much time do you have?"
1600
+ options:
1601
+ 5min: "⚡ 5-10 min"
1602
+ 15min: "⏱️ 15-30 min"
1603
+ 30min: "🎯 30-60 min"
1604
+ 60min: "📚 1+ hour"
1605
+ 120min: "📖 2+ hours"
1606
+ default: "30min"
1607
+
1608
+ style:
1609
+ ask: "How do you prefer to learn?"
1610
+ options:
1611
+ explain: "📖 Explanations (tell me why)"
1612
+ examples: "💻 Examples (show me code)"
1613
+ reference: "🎯 Quick reference (just the facts)"
1614
+ handson: "🏋️ Hands-on (let me try)"
1615
+ trigger: "Only ask if time >= 15min"
1616
+
1617
+ # Logic for progressive questioning
1618
+ question_flow:
1619
+ fix_problem: "goal only → skip to troubleshooting"
1620
+ get_started: "goal → tone → level"
1621
+ optimize: "goal → tone → level → time → style (if time >= 15min)"
1622
+ build_agents: "goal → tone → level → time → style (if time >= 15min)"
1623
+ learn_security: "goal → tone → level → time"
1624
+ learn_everything: "goal → tone → level → time → style"
1625
+