agentleFS
motao123motao123/dev-workflow-kit/performance-investigation/SKILL.md

performance-investigation

Skill1 starsChanged 5 months agoMITView on GitHub

Use when the main problem is latency, throughput, memory, resource usage, render slowness, or another performance bottleneck that needs investigation and prioritization.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when slowness or resource pressure is the core issue.

    line 9
  2. Distinctive:

    Use this skill when:

    line 13
  3. Distinctive:

    Do not use this skill for generic logic bugs that do not involve performance symptoms.

    line 20
  4. Distinctive:

    Call out what evidence would most improve confidence.

    line 29
  5. Very specific:

    use incident-observability-triage if the issue is live and user-facing

    line 44
  6. Very specific:

    use systematic-debugging if the performance symptom turns out to be a broader logic issue

    line 45

“Common” is measured: kept by at least 6 in 10 of the 8 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

Performance Investigation

Use this skill when slowness or resource pressure is the core issue.

Trigger Conditions

Use this skill when:

  • latency or throughput regressed
  • a page, endpoint, query, or job is slower than expected
  • CPU, memory, or resource usage is driving the problem
  • the user wants to know where the performance bottleneck likely is
  • performance confidence is blocking release or scaling decisions

Do not use this skill for generic logic bugs that do not involve performance symptoms.

Workflow

  1. Identify the performance symptom and the affected surface.
  2. Clarify whether the problem is latency, throughput, memory, CPU, rendering, or another resource bottleneck.
  3. Narrow the likely hotspots and measurement points.
  4. Separate likely root bottlenecks from downstream symptoms.
  5. Recommend the best next investigation or mitigation step.
  6. Call out what evidence would most improve confidence.

Output

For non-trivial work, provide:

  • performance symptom summary
  • likely bottleneck class
  • likely hotspots
  • next measurements or checks
  • mitigation direction
  • recommended next step

Coordination

After performance investigation:

  • use incident-observability-triage if the issue is live and user-facing
  • use systematic-debugging if the performance symptom turns out to be a broader logic issue
  • move into the active implementation workflow if optimization work is next

Invocation Examples

  • "Use performance-investigation to figure out why this endpoint got slower after the last change."
  • "Use performance-investigation to narrow the likely bottleneck before we start optimizing."
  • "Use performance-investigation because release confidence is blocked by latency regression."

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.