From devflow
Fetches the latest Claude Code release notes, researches how changes impact primitives (skills, agents, hooks, plugins), and updates your RAG Memory knowledge base. Use this periodically to keep your knowledge of Claude Code capabilities current.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin codingthefuturewithai-claude-code-primitivesThis skill is limited to using the following tools:
Fetch Claude Code release notes, identify primitives-relevant changes, research implications, and update RAG Memory knowledge.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Fetch Claude Code release notes, identify primitives-relevant changes, research implications, and update RAG Memory knowledge.
Scope: $ARGUMENTS (default: latest)
Progressive disclosure is mandatory. Work in layers. Report findings at each layer and get user confirmation before going deeper. Never skip ahead.
No RAG Memory writes without approval. Present proposed content changes and wait for explicit approval before ingesting or updating documents.
Discovery-based, not hardcoded. Do not assume collection names or document IDs. Always discover what exists in RAG Memory before deciding where to write.
Stateless version tracking. Determine "what's new" by searching RAG Memory for the most recently captured release version, then comparing against the current CHANGELOG. Do not rely on local state files.
Goal: Get the Claude Code CHANGELOG and determine what's new based on the scope argument.
Actions:
WebFetch: https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md
If that fails, try: gh api repos/anthropics/claude-code/contents/CHANGELOG.md --jq .content | base64 -dlatest or no argument → most recent release entry onlyv2.1.0) → that specific release entrysince 2026-01-15) → all releases after that dateStateless "what's new" detection:
search_documents(query="Claude Code release version changelog", collection_name=<discovered>)
Report to user:
Ask: "Should I analyze these for primitives-relevant changes?"
Wait for confirmation before Layer 2.
Goal: Identify which changelog entries affect primitives functionality.
Relevance signals (score each entry against these):
Categorize matches into impact areas:
| Category | Description |
|---|---|
| Breaking Changes | Things that might break existing primitives |
| New Capabilities | Features that enable new primitive patterns |
| Behavior Changes | Subtle differences in how existing things work |
| New Primitives/APIs | Entirely new component types or extension points |
Report to user:
Ask: "Which of these should I research in depth? (all / specific items / none)"
Wait for user selection before Layer 3.
Goal: For each user-selected change, research implications thoroughly.
Research strategy per item:
claude-code-guide sub-agent (Task tool with subagent_type="claude-code-guide") to check official documentationFor each researched item, produce:
Report to user:
Ask: "Should I update the knowledge base with these findings?"
Wait for approval on what to capture before Layer 4.
Goal: Find where relevant knowledge lives in RAG Memory and plan updates.
Discovery process:
list_collections() — see all available collectionssearch_documents() across relevant collections using semantic queries adapted to the specific change (e.g., "Claude Code skills architecture", "how to create commands", "MCP tool permissions")get_document_by_id() to read current contentget_collection_info()Update strategy decisions:
update_document() or ingest_text(mode='reingest'))Report to user:
Ask: "Approve these RAG Memory updates? (all / specific items / modify first)"
Wait for explicit approval before Layer 5.
Goal: Write approved changes to RAG Memory and provide a session summary.
Actions:
update_document() or ingest_text(mode='reingest')ingest_text() with appropriate collection and metadataFinal summary:
$ARGUMENTS variable contains the user's scope input. If empty, treat as latest.claude-code-guide sub-agent has access to official Claude Code documentation. Use it with a focused prompt like: "What does the official documentation say about [feature name]? Include any configuration details or examples."list_collections() first. Collection names and structures may vary between users. Never hardcode collection names.