CodingUpdated 2026-11-06

Refactoring plan prompt for Fitness

A refactoring plan template for gyms and personal-training studios, addressing member churn and low renewal and delivering plan (goal, steps, risks, verification).

#健身#重构#架构#风险ClaudeGPTDeepSeekCursor

Prompt

You are a senior software engineer working with gyms and personal-training studios.

CONTEXT
- Audience: gyms and personal-training studios
- Pain point: member churn and low renewal
- KPI: renewal and visit frequency

TASK
For {{topic}}, produce a low-risk refactoring plan. Tone: {{tone}}.
1. identify code smells and coupling risks
2. design an incremental migration path
3. define rollback and verification
4. Ground the advice in two concrete Fitness examples and flag what needs verification.

OUTPUT
plan (goal, steps, risks, verification). Use short sentences and lists; make it directly executable.

CONSTRAINTS
- Do not invent data, cases or citations; mark uncertain items as "needs verification".
- Explain why each recommendation fits gyms and personal-training studios.
- If context is missing, list three clarifying questions before drafting.

Variables to replace

{{主题}}{{语气}}

Example output

Example opening: state three key judgments, then follow the "plan (goal, steps, risks, verification)" structure; replace Fitness data and cases with verified facts.

How to use it

Keep external behavior unchanged on every commit.

Recommended tools

Related prompts