Cc deep code intelligence

From markus41/claude · View interactive version

Cc deep code intelligence is an AI agent skill from the GitHub repository markus41/claude. Evidence-driven deep analysis for hard coding problems — architecture decisions, root-cause investigation, high-stakes refactor planning, performance bottleneck isolation. Use this skill whenever the user asks for "the best approach", a "deep analysis", "root cause", "principal engineer review", or

How to use this skill

Skill file

Deep Code Intelligence

The workflow for problems where speed kills quality — architecture, root cause, high-stakes refactor. Evidence first, recommendation second.

Workflow

1. Frame the problem

Restate in one paragraph: what is the goal, what is the constraint, what is the hidden cost of being wrong? Write it down even if the user already said it — framing shifts under scrutiny.

2. Build an evidence table

| Claim | Source | Confidence | Counter-evidence |
|-------|--------|-----------|------------------|
| X calls Y synchronously | src/a/b.ts:42-58 | high | ... |

No recommendation without this table. If you can't fill it, you don't know enough yet — go read more before synthesizing.

3. Identify invariants and constraints

4. Hypothesis tree

For debugging/diagnosis: root-cause tree with ≥3 branches. Each branch:

For design: alternatives tree with ≥3 options. Each option:

5. Synthesize recommendation

Only now. Recommendation has:

6. Signal certainty honestly

Never upgrade certainty to sound confident. A low-confidence answer clearly labeled is more useful than a high-confidence guess.

When to invoke `principal-engineer-strategist` agent

Route to the agent when:

Agent runs the same workflow with more depth and less context pressure.

MCP delegation

| Need | Tool |

|---|---|

| Task resolution → starting docs | cc_docs_resolve_task(task) |

| Compare two approaches side by side | cc_docs_compare(["approach-a", "approach-b"]) |

| Check pattern fit | cc_kb_pattern_template(name) |

Anti-patterns

Reference

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.