Skip to content

Claude/document native tools q xa43#22251

Open
spaceghostp wants to merge 11 commits intoanthropics:mainfrom
spaceghostp:claude/document-native-tools-qXA43
Open

Claude/document native tools q xa43#22251
spaceghostp wants to merge 11 commits intoanthropics:mainfrom
spaceghostp:claude/document-native-tools-qXA43

Conversation

@spaceghostp
Copy link
Copy Markdown

No description provided.

claude and others added 8 commits January 30, 2026 05:37
Synced CHANGELOG.md with the official anthropics/claude-code repository,
adding all entries from 1.0.4 through 2.1.25.

https://claude.ai/code/session_013tSqR2D9mABudqw9vTJ6Uo
Document all 27 native tools available in Claude Code CLI with their
complete anatomy including parameters, types, descriptions, and
behavioral characteristics (read-only, concurrency-safe, etc.).

https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
Distills the architectural principles, quality standards, and
operational patterns from glittercowboy/get-shit-done into a
reusable prompt that can be applied to calibrate any repository.

Covers: project structure, goal-backward planning, execution
standards, verification, git strategy, code quality, debugging
methodology, state preservation, and multi-agent orchestration.

https://claude.ai/code/session_01RnwXz3qc8dPJfQwhxGLeBy
Creates a Claude Code slash command that audits any repository
against GSD engineering principles and applies transformations
incrementally. The skill operates in five phases:

- Phase 1: Deep audit across 6 dimensions (structure, code quality,
  git practices, verification, documentation, dependencies)
- Phase 2: Structured gap analysis report with prioritized findings
- Phase 3: Incremental transformations with atomic commits
- Phase 4: Verification that nothing broke
- Phase 5: Final report with applied changes and remaining gaps

Enforces hard rules: audit before changing, no breaking changes
without asking, no over-application, preserve existing conventions,
tests must still pass.

Usage: /calibrate-repo <repo-path-or-url>

https://claude.ai/code/session_01RnwXz3qc8dPJfQwhxGLeBy
Apply improvements from 6-rubric adversarial review (overall 2.05/5 → targeting 4+/5):

Accuracy fixes:
- Fix AskUserQuestion header max from ~20 to 12 chars
- Add 3 missing Task parameters (name, team_name, mode with enum values)
- Add 6 missing Teammate parameters (agent_id, description, reason, request_id, feedback, assigned_name)
- Add 2 missing AskUserQuestion parameters (answers, metadata)
- Add deprecated shell_id parameter to TaskStop
- Document aliases (KillShell, AgentOutputTool, BashOutputTool)
- Add missing default values for Grep (head_limit, offset, multiline)
- Document AskUserQuestion uniqueness constraints
- Note Task max_turns as positive integer
- Document Bash _simulatedSedEdit as internal parameter
- Add max result sizes for all tools in Full Tool Matrix
- Add Requires Permission property to all 27 tools

Structural enhancements:
- Add Glossary defining 13 domain terms
- Add Quick Reference with essential tools, use-case table, and full tool matrix
- Add Tool Selection Guide (file ops, search, execution, orchestration)
- Add Common Workflow Patterns (Read→Edit, Glob→Grep→Read, background tasks, parallel ops, sub-agent delegation)
- Add Permission & Security Model (auto-allowed list, permission-required table, sandbox, config)
- Add Configuration Reference (env vars, CLI flags, config files)
- Split "Agent/Task Tools" into "Sub-Agent Execution" and "Task Management"
- Split "Interaction & Intelligence" into separate categories
- Document TodoWrite/TaskCreate mutual exclusivity
- Add Historical Names table (View→Read, aliases)
- Add MCP configuration section with CLI commands
- Add cross-references between related tools
- Add examples, best practices, and common errors for core tools
- Document WebSearch platform availability constraints
- Add Glob path guidance (don't enter "undefined"/"null")

https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
@spaceghostp spaceghostp marked this pull request as draft January 31, 2026 20:55
@spaceghostp spaceghostp marked this pull request as ready for review January 31, 2026 20:55
Three composable slash commands extracted from session methodology:

/anatomize <target> — Full two-phase pipeline:
  Phase 1: Document all instances of target with identity, architecture,
  dependencies, constraints, and limitations in structured markdown.
  Phase 2: Launch 6 parallel adversarial subagents with strict rubrics
  (convex wins, extending capabilities, reducing steps, improvement
  integration, accuracy fidelity, structural quality), synthesize
  findings, and apply improvements targeting 4+/5 across all dimensions.

/adversarial-review <artifact> — Standalone Phase 2:
  6-dimension parallel adversarial evaluation with scoring, findings,
  recommendations, and automatic application of improvements.

/extract-anatomy <target> — Standalone Phase 1:
  Comprehensive anatomical extraction with identity, architecture,
  dependencies, constraints per item. Outputs structured markdown
  with glossary, quick reference matrix, and cross-references.

https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
New slash commands extracted from session methodology:

/fan-out-review <target> — The parallel adversarial subagent pattern
  formalized as a reusable skill. Documents the fan-out → synthesize →
  apply pipeline with rubric templates for 4 artifact types:
  documentation, code, tests, and architecture. Includes custom rubric
  design guide for anything that doesn't fit the templates.

/considerations <context> — The 7 key considerations as pre-flight
  checklist and in-flight guard-rails:
  1. Adversarial eval most valuable on first drafts (diminishing returns)
  2. Parallel evaluation beats sequential (narrow mandates, no groupthink)
  3. Fan-out → synthesize → apply is the core reusable unit
  4. Scoring forces accountability (no hand-waving)
  5. Source-of-truth extraction catches documentation lies
  6. Prioritize convex easy wins (impact/effort ratio)
  7. Know when to stop (4+/5 or <3 findings per round)
  Includes calibration table, priority formula, and stopping criteria.

/review-docs <file> — Focused documentation review with 6 parallel
  rubrics tuned for reference material.

/review-code <file> — Focused code review with 6 parallel rubrics
  tuned for implementation (correctness prioritized over cleanup).

/audit-completeness <artifact> — Cross-reference any artifact against
  its source of truth. Produces structured delta report with severity
  classification. Includes "common documentation lies" checklist.

https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
Both /extract-anatomy and /anatomize now use parallel subagent
orchestration for the extraction phase, not just the evaluation phase.

Phase 1 now fans out to 6 simultaneous extraction subagents:
  E1: Identity & Inventory (master checklist)
  E2: Inputs, Outputs & Schemas (parameter tables from source)
  E3: Internal Mechanics & State Effects (runtime behavior)
  E4: Dependencies & Relationships (dependency graph, peer map)
  E5: Constraints, Limitations & Availability (hard/soft limits)
  E6: Configuration & Environment (env vars, CLI flags, config files)

Key additions:
- Phase 0 (Reconnaissance): fast discovery scan before extraction
- Phase 1.5 (Merge): conflict resolution rules (schema > observed)
- Validation checklist before proceeding to evaluation
- Scaling strategy: split E2/E3 by category for >20 instances
- Optional E7 (cross-system) and E8 (versioning) subagents
- Rationale table: why parallel extraction beats serial

Full pipeline is now:
  Recon (1) → Extract (6‖) → Merge → Evaluate (6‖) → Synthesize → Apply

https://claude.ai/code/session_01CJnBiMXiuhsnvvvcqAMPYS
@spaceghostp spaceghostp force-pushed the claude/document-native-tools-qXA43 branch from d26e9c5 to 0d6d802 Compare January 31, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants