reflect-architecture

Classify recurring Claude Code failures and recommend minimal architectural changes.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/materkey/cc-plugins --skill reflect-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflect-architecture
Source: https://github.com/materkey/cc-plugins/tree/main/plugins/reflect/skills/reflect-architecture
Command: npx skills add https://github.com/materkey/cc-plugins --skill reflect-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you diagnose repeated workflow failures in Claude Code and convert them into the smallest lasting improvement to your setup. It is designed for moments when a task breaks down because the current instructions, skills, hooks, agents, or integrations are missing, overloaded, or shaped incorrectly.

Core Features & Use Cases

  • Root Cause Classification: Reviews conversation signals such as user corrections, rejected approaches, repeated explanations, and context overload, then maps each issue to the best architectural fix.
  • Targeted Change Design: Recommends the narrowest durable change, such as updating CLAUDE.md, patching an existing skill, creating a new skill, splitting or merging skills, adding a subagent, introducing a hook, connecting MCP, or scaffolding a plugin.
  • Approval-Driven Application: Structures findings with confidence, exact file targets, and rationale, then asks whether to apply changes, scaffold drafts, review one by one, or skip.
  • Use Case: After a session repeatedly fails because a workflow needs deterministic execution or a specialized worker, use this Skill to identify whether the right fix is a hook, a subagent, or a refined skill instead of repeating the same correction again.

Quick Start

Ask Claude to use the reflect-architecture skill to analyze the current conversation and propose the smallest durable change for the repeated issue you just encountered.

Frequently Asked Questions about reflect-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix recurring workflow failures in Claude Code?

To fix recurring workflow failures in Claude Code, analyze repeated user corrections and context overload to classify root causes, then apply the smallest durable architectural change such as updating CLAUDE.md rules or adding subagents.

When should I add a hook versus a subagent in Claude Code?

You should add a hook in Claude Code when a workflow requires deterministic execution, whereas you should introduce a subagent when the task needs a specialized worker to handle isolated, complex operations without overloading the main context.

How does architecture review for Claude Code sessions work?

Architecture review for Claude Code sessions works by examining conversation signals like rejected approaches and repeated explanations, mapping each issue to a targeted fix such as skill patches, new skills, hooks, or MCP integrations with exact file-level changes.

Can I use skill design to prevent context overload in Claude Code?

Yes, you can use skill design to prevent context overload in Claude Code by splitting or merging existing skills, refining instructions in CLAUDE.md, or scaffolding a plugin to offload deterministic steps into dedicated workflows.

What is the best way to structure Claude Code plugin scaffolding?

The best way to structure Claude Code plugin scaffolding is to identify the narrowest durable change needed for your recurring issue, define exact file targets, and draft the plugin structure with clear justification before applying changes.

Why does Claude Code keep rejecting my approaches during a session?

Claude Code may keep rejecting your approaches because the current instructions, skills, or integrations are shaped incorrectly or missing, requiring an architectural fix like a CLAUDE.md rule update or a new skill patch rather than repeated manual corrections.