agentleFS
JkudjoJkudjo/oh-my-cursor/skills/analyze/SKILL.md

analyze

Skill1 starsChanged 8 months agoMITView on GitHub

Deep codebase analysis — complexity, coupling, dead code, tech debt hotspots

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use write, monitor and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • DockerSkill

    write

    Write or edit reader-facing technical prose for immediate comprehension. Use for documentation, PR titles and descriptions, release notes, design documents, user-facing explanations, and substantive comments. Also use when asked to make writing clearer, more natural, less AI-generated, or easier to read. For documentation fixes, handles edits, formatting, self-review, and commits after research identifies what to change. Do not use for code-only tasks with no prose deliverable.

    Also in 4 projects that use this

  • MicrosoftSkill

    monitor

    Run a bounded, self-checking polling loop (sleep -> check -> decide, repeat) WITHOUT ENDING THE TURN. The turn ends only when the watched thing is done, has failed, or genuinely needs the user's attention — which is what makes Amplifier's end-of-turn notification fire correctly and honestly. Primarily invoked explicitly via `/monitor <thing to watch>`, e.g. `/monitor the CI run for PR 412, check every 2m, stop after 1h`. May also be self-invoked in the rare case you are about to tell the user "I'll keep working and let you know" for something with a genuinely checkable, bounded condition — see the self-invocation guard below before doing that. For continuous multi-lane parallel work toward an outcome, see the ten-lane-highway skill (ships with the Amplifier CLI).

    Also in 3 projects that use this

  • jihe520Skill

    doctor

    环境检查与安装向导。检查数学建模工作流所需的全部依赖是否已安装,对缺失项提供安装命令,并在用户确认后执行安装。手动触发。

    Also in 4 projects that use this

  • Hashaam101Skill

    optimize

    Automatically refines every user prompt into a structured, actionable version, then immediately executes the optimized prompt. When triggered explicitly with "/optimize {prompt}", "optimize:", or "optimize prompt:", outputs the refined prompt as text instead.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before a large refactor — understand what you're dealing with

    line 13

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

analyze

Invoke this skill for a structured analytical deep-dive into a codebase area.

When to use

  • Before a large refactor — understand what you're dealing with
  • Investigating performance issues
  • Finding tech debt hotspots
  • Understanding why something is complex or fragile

Analysis dimensions

  • Complexity — functions > 40 lines, deeply nested logic, cyclomatic complexity hotspots
  • Coupling — what depends on what, blast radius of changes
  • Dead code — unused exports, unreachable branches, zombie files
  • Tech debt — TODO/FIXME/HACK comments, workarounds, legacy patterns
  • Test coverage — which paths have no tests
  • Dependencies — outdated packages, circular imports, unnecessary deps

Output

## Analysis: {area}

### Summary
[3-sentence overview]

### Hotspots
- `file:line` — issue and why it matters

### Dependency map
[key relationships]

### Recommended actions
Priority 1: ...
Priority 2: ...

Saves to memory key analyze-{area} and artifact type=specs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.