analyzing-codebases
Detects project languages and monorepo state, runs language-appropriate static analysis (dependency graph, complexity, duplication, semantic patterns), and…
Scans project structure and agent system components, runs 11-category weakness analysis, and produces actionable restructuring recommendations. Use when analyzing an existing agent system for weaknesses. Use when user says "analyze agent system", "check agent setup", "audit
$ npx -y skills add wayne930242/Reflexive-Claude-Code --skill analyzing-agent-systems --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/analyzing-agent-systemsContext preview
The summary Claude sees to decide when to auto-load this skill.
Scans project structure and agent system components, runs 11-category weakness analysis, and produces actionable restructuring recommendations. Use when analyzing an existing agent system for weaknesses. Use when user says "analyze agent system", "check agent setup", "audit
name: analyzing-agent-systems description: Scans project structure and agent system components, runs 11-category weakness analysis, and produces actionable restructuring recommendations. Use when analyzing an existing agent system for weaknesses. Use when user says "analyze agent system", "check agent setup", "audit agent config". Use when called by migrating-agent-systems or refactoring-skills.
**Analyzing agent systems IS understanding the project context, detecting weaknesses, and producing actionable restructuring recommendations.**
Scan the project structure, inventory every agent component (CLAUDE.md, rules, hooks, skills, agents), check against 11 weakness categories, generate restructuring recommendations, and produce a severity-rated report.
**Core principle:** Analyze the project first, then the agent system. Recommendations without project context are guesses.
**Pattern:** Chain **Handoff:** user-confirmation **Next:** `planning-agent-systems` (if recommendations are clear) or `brainstorming-workflows` (if more exploration needed) **Chain:** main
Follow [task initialization protocol](../../references/task-initialization.md).
**Tasks:** 1. Scan project structure 2. Scan agent components 3. Run weakness analysis 4. Produce restructuring recommendations 5. Produce analysis report 6. Present findings to user
Announce: "Created 6 tasks. Starting execution..."
**Goal:** Understand the project before analyzing its agent system.
**Important:** Read [references/project-scanning.md](references/project-scanning.md) for the full scanning guide.
**Scan areas:**
**Record findings in Project Overview format:**
**Verification:** Project overview complete with all aspects filled.
**Goal:** Find all agent system components in the project.
**Scan locations:**
**For each component found, record:**
**User-root gap analysis:** Compare `~/.claude/rules/` against `.claude/rules/`:
**Verification:** Complete inventory of all components with paths, types, and scope. Gap analysis between user-root and project level documented.
**Goal:** Check every component against the 11-category weakness checklist.
**Important:** Read [references/weakness-checklist.md](references/weakness-checklist.md) for the full 11-category checklist.
**For each weakness found, record:**
**Severity guidelines:** | Severity | Criteria | |----------|----------| | CRITICAL | Blocks normal operation, causes errors, security risk | | WARNING | Degrades experience, causes confusion, maintenance burden | | INFO | Minor improvement, cosmetic, nice-to-have |
**Cross-component checks:**
**Pipeline checks:**
**Verification:** Every checklist item evaluated. At least one pass through each category. Pipeline checks complete.
**Goal:** Transform weakness findings and project overview into actionable recommendations.
**Important:** Read [references/restructuring-guide.md](references/restructuring-guide.md) for the full recommendation guide.
**Generate recommendations by type:**
**Merge recommendations:**
**Extract recommendations:**
**Pipeline recommendations:**
**Traceabili
A Claude Code plugin marketplace for skills-driven Agentic Context Engineering (ACE) — build, analyze, and maintain agent systems with structured workflows.
Repo: wayne930242/Reflexive-Claude-Code
Detects project languages and monorepo state, runs language-appropriate static analysis (dependency graph, complexity, duplication, semantic patterns), and…
Executes a refactor plan phase-by-phase on a dedicated branch with per-phase commits and mandatory reviewer checkpoints. Use when characterization-tests…
Writes AGENTS.md per subproject, archives run artifacts, and suggests rcc handoff conditionally. Use when verifying-refactors passes (PASS or…
Converts a refactor map into a phased plan using parallel-change, branch-by-abstraction, or strangler fig patterns. Use when user has approved the refactor map…
Adds golden/snapshot tests to untested hotspot modules before refactoring. Use when refactor plan marks any phase with…
Validates hard structural rules (no cycles, file/fn line caps, cognitive/cyclomatic complexity) and runs mutation testing on touched modules. Use when…