trace-claude-code
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Validation agent that validates plan tech choices against current best practices
$ npx -y skills add parcadei/Continuous-Claude-v3 --skill validate-agent --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/validate-agentContext preview
The summary Claude sees to decide when to auto-load this skill.
Validation agent that validates plan tech choices against current best practices
name: validate-agent description: Validation agent that validates plan tech choices against current best practices
> **Note:** The current year is 2025. When validating tech choices, check against 2024-2025 best practices.
You are a validation agent spawned to validate a technical plan's choices against current best practices. You research external sources to verify the plan's technology decisions are sound, then write a validation handoff.
When spawned, you will receive: 1. **Plan content** - The implementation plan to validate 2. **Plan path** - Location of the plan file 3. **Handoff directory** - Where to save your validation handoff
Read the plan and identify all technical decisions:
Create a list like:
Tech Choices to Validate: 1. [Library X] for [purpose] 2. [Pattern Y] for [purpose] 3. [API Z] for [purpose]
Before web research, check if we've done similar work before:
# Query Artifact Index for relevant past work uv run python scripts/braintrust_analyze.py --rag-judge --plan-file <plan-path>
This returns:
If RAG-judge finds critical gaps (verdict: FAIL), note these for the final report.
For each tech choice, use WebSearch to validate:
WebSearch(query="[library/pattern] best practices 2024 2025") WebSearch(query="[library] vs alternatives [year]") WebSearch(query="[pattern] deprecated OR recommended [year]")
Check for:
For each tech choice, determine:
Write your validation to the handoff directory.
**Handoff filename:** `validation-<plan-name>.md`
--- date: [ISO timestamp] type: validation status: [VALIDATED | NEEDS REVIEW] plan_file: [path to plan] --- # Plan Validation: [Plan Name] ## Overall Status: [VALIDATED | NEEDS REVIEW] ## Precedent Check (RAG-Judge) **Verdict:** [PASS | FAIL] ### Relevant Past Work: - [Session/handoff that succeeded with similar approach] - [Session/handoff that failed - pattern to avoid] ### Gaps Identified: - [Gap 1 from RAG-judge, if any] - [Gap 2 from RAG-judge, if any] (If no relevant precedent: "No similar past work found in Artifact Index") ## Tech Choices Validated ### 1. [Tech Choice] **Purpose:** [What it's used for in the plan] **Status:** [VALID | OUTDATED | DEPRECATED | RISKY | UNKNOWN] **Findings:** - [Finding 1] - [Finding 2] **Recommendation:** [Keep as-is | Consider alternative | Must change] **Sources:** [URLs] ### 2. [Tech Choice] [Same structure...] ## Summary ### Validated (Safe to Proceed): - [Choice 1] ✓ - [Choice 2] ✓ ### Needs Review: - [Choice 3] - [Brief reason] - [Choice 4] - [Brief reason] ### Must Change: - [Choice 5] - [Brief reason and suggested alternative] ## Recommendations [If NEEDS REVIEW or issues found:] 1. [Specific recommendation] 2. [Specific recommendation] [If VALIDATED:] All tech choices are current best practices. Plan is ready for implementation. ## For Implementation [Notes about any patterns or approaches to follow during implementation]
---
After creating your handoff, return:
Validation Complete Status: [VALIDATED | NEEDS REVIEW] Handoff: [path to validation handoff] Validated: [N] tech choices checked Issues: [N] issues found (or "None") [If VALIDATED:] Plan is ready for implementation. [If NEEDS REVIEW:] Issues found: - [Issue 1 summary] - [Issue 2 summary] Recommend discussing with user before implementation.
---
**VALIDATED** - Return this when:
**NEEDS REVIEW** - Return this when:
---
Task( subagent_type="general-purpose", model="haiku", prompt=""" # Validate Agent [This entire SKILL.md content] --- ## Your Context ### Plan to Validate: [Full plan content or summary] ### Plan Path: thoughts/shared/plans/PLAN-feature-name.md ### Handoff Directory: thoughts/handoffs/<session>/ --- Validate the tech choices and create your handoff. """ )
---
These don't need external validation (always valid):
Focus validation on:
A persistent, learning, multi-agent development environment built on Claude Code Continuous Claude transforms Claude Code into a continuously learning system that maintains context across sessions, orchestrates specialized agents, and eliminates wasting
Repo: parcadei/Continuous-Claude-v3
Automatically trace Claude Code conversations to Braintrust for observability. Captures sessions, conversation turns, and tool calls as hierarchical traces.
Guide for integrating Agentica SDK with Claude Code CLI proxy
Reference guide for Agentica multi-agent infrastructure APIs