Universal project analysis

From event4u-app/agent-config · View interactive version

Universal project analysis is an AI agent skill from the GitHub repository event4u-app/agent-config. Deep multi-pass codebase audit — orchestrates project-analysis-core plus the framework-specific project-analysis-*; explicit request only. Single-pass scan → project-analyzer.

How to use this skill

Skill file

universal-project-analysis

When to use

Use this skill when:

Do NOT use when:

Mission

Run the deep multi-pass audit itself, and hand each pass to the right

specialist. Picking which skill a request needs in the first place belongs to

CODE0 — that chooser and

this orchestrator are deliberately separate files, and the scope test, the

detection step, and the decision table live there, not here.

This skill must NOT become:

Core principles

  1. Never assume — verify against code, config, docs, and evidence
  2. Version dictates behavior
  3. Broad understanding comes before narrow conclusions
  4. Use framework-specific skills once the stack is known
  5. Use hypothesis-driven analysis when root cause is unclear
  6. Mark uncertainty explicitly

Thinking model

Always think in this order:

  1. Observe
  2. Understand
  3. Verify
  4. Route
  5. Investigate
  6. Conclude

Analysis modes

Exploration mode

Use when the system is unknown.

Goal: understand structure, identify major components, detect investigation paths, choose the next specialist skill.

Investigation mode

Use when there is a concrete issue inside a large or unclear system.

Goal: isolate the affected area, route into root-cause analysis, verify likely causes with evidence.

Optimization mode

Use when the system works but may be inefficient or over-complex.

Goal: identify hot paths, find expensive boundaries, route into architecture or performance specialists.

Procedure

1. Confirm scope

Invoked through the router, this is already settled — proceed. Invoked

directly, apply the router's scope test before spending a multi-pass audit on

something a specialist covers.

2. Discover the project

Identify: language, framework, runtime environment, package managers, major entrypoints, documentation locations.

Look at: package manifests, lock files, bootstrap files, Docker/CI config, README/AGENTS/docs.

3. Choose the primary route

4. Chain specialists where needed

5. Consolidate findings

Combine: system overview, framework-specific findings, verified risks, explicit uncertainties, next investigation steps.

6. Validate analysis quality

Check:

Ingestion preprocessor

images, or audio that need to feed into any of the routes in steps 3–4.

Convert first via the upstream markitdown-mcp server, then

route the resulting Markdown into the relevant deep-dive skill.

Never read a binary office format raw.

The route lists in steps 3 and 4 are the routing map. A second copy of them

lived here until 2026-08-02 and was removed — one list, one place.

When to add a new framework analysis skill

A framework gets its own project-analysis-* skill ONLY if:

Examples that qualify: Laravel, Symfony, Express, React, Next.js.

Examples that do NOT qualify: Tailwind, small utility libraries, CSS frameworks, simple state libs.

Output format

  1. Investigation summary
  2. Detected stack and framework
  3. Chosen analysis mode
  4. Routed specialist skills
  5. Consolidated findings
  6. Risks and next steps

Gotcha

Do NOT

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.