Design a Lightweight Performance Profiling Workflow

A practical prompt for Performance Profiling that helps the user design a lightweight workflow the user can start using immediately. It produces a starter workflow with steps and handoffs while keeping assumptions, evidence, and constraints explicit.

Coding

Prompt

Take the role of a pragmatic software engineer focused on correctness, clarity, and execution.

Task
Starter Workflow for **Performance Profiling**. Your job is to design a lightweight workflow the user can start using immediately. Produce the working artifact, not a lecture about how to do it.

Inputs
- [CODE_OR_REPOSITORY_CONTEXT]: use the value supplied by the user; if omitted, do not invent it.
- [TECH_STACK]: use the value supplied by the user; if omitted, do not invent it.
- [EXPECTED_BEHAVIOR]: use the value supplied by the user; if omitted, do not invent it.
- [ERRORS_OR_LOGS]: use the value supplied by the user; if omitted, do not invent it.
- [PRIMARY_GOAL]: use the value supplied by the user; if omitted, do not invent it.
- [CONTEXT]: use the value supplied by the user; if omitted, do not invent it.
- [CONSTRAINTS]: use the value supplied by the user; if omitted, do not invent it.
- [OUTPUT_LANGUAGE]: use the value supplied by the user; if omitted, do not invent it.

Working method
1. Map the relevant components, data flow, dependencies, and failure boundaries.
2. Prefer a minimal safe change over an unnecessary rewrite.
3. Provide tests that prove the change and cover failure paths.
4. Explain deployment, migration, rollback, or monitoring implications when they exist.
5. If essential information is missing, ask up to three focused questions. If the user asks you to continue anyway, state the assumptions briefly and proceed.
6. Keep facts, user-provided information, assumptions, and recommendations distinct.

Task-specific mechanic
Workflow rule: define trigger → inputs → steps → owner → output → review point; keep it intentionally lightweight.

Deliverable
Return:
1. A one-paragraph understanding of the request and any assumptions.
2. The complete starter workflow with steps and handoffs for Performance Profiling.
3. The three most important checks or risks the user should review.
4. The next practical action, only if it adds value.

Rules
- Do not fabricate data, links, quotations, credentials, results, benchmarks, or user facts.
- Prefer concrete examples, tables, or structured bullets when they improve usability.
- Do not pad the answer with generic advice or repeated caveats.
- Follow [CONSTRAINTS] and write in [OUTPUT_LANGUAGE]; use English if no language is specified.
- Make the result ready to copy, edit, run, or apply immediately.

Variables

[CODE_OR_REPOSITORY_CONTEXT][TECH_STACK][EXPECTED_BEHAVIOR][ERRORS_OR_LOGS][PRIMARY_GOAL][CONTEXT][CONSTRAINTS][OUTPUT_LANGUAGE]

Fill and copy — a Pro feature

Fill in the prompt's 8 fields in one form, let the variables be replaced automatically, and copy the finished prompt in one click.

Unlock with Pro

How to use it

  1. Copy the prompt into your preferred AI tool.
  2. Replace bracketed fields with your own context.
  3. Refine the first response with additional context.

COMMUNITY REVIEWS

Ratings and reviews

No ratings yet

No reviews yet.