Loading...
Loading...
Compare original and translation side by side
rolerepo_apptask_typeoutput_rules[]rolerepo_apptask_typeoutput_rules[]goal_one_linerbackground_bullets[]current_behaviordesired_behaviorgoal_one_linerbackground_bullets[]current_behaviordesired_behaviorin_scope[]out_of_scope[]in_scope[]out_of_scope[]acceptance_criteria[]nonfunctionalperformancesecurity_privacytelemetry_loggingacceptance_criteria[]nonfunctionalperformancesecurity_privacytelemetry_loggingrepro_steps[]actualexpectedfrequencyimpactregressionrepro_steps[]actualexpectedfrequencyimpactregressionrelevant_paths[]related_ids[]tests_paths[]relevant_paths[]related_ids[]tests_paths[]automated_teststesting_notesmanual_verification[]tests_skip_risk_mitigationautomated_teststesting_notesmanual_verification[]tests_skip_risk_mitigationmust_not_change[]must_use[]must_avoid[]must_not_change[]must_use[]must_avoid[]localization_policylocalization_policysnippets_logs_payloadssnippets_logs_payloadsROLE
You are <role> working in <repo_app if provided>. Implement exactly and only the scope below.
OUTPUT RULES
1) Plan first, then implement.
2) Keep diffs minimal and localized. Preserve existing patterns and style.
3) Tests: follow the TESTING section below exactly. Do not propose additional test types unless blocked by constraints.
4) Include an Assumptions section in the final response (only assumptions actually used).
5) Ask clarifying questions only if blocked.
6) Add intent comments using existing style where needed (REQUIREMENT:, UX:, BUGFIX:).
TASK TYPE
<Feature | Bug fix | Refactor supporting bug fix> (exactly one)
GOAL
<goal_one_liner>
CONTEXT
- Background:
- <background_bullets...>
- Current behavior:
- <current_behavior>
- Desired behavior:
- <desired_behavior>
SCOPE
IN
- <in_scope...>
OUT
- <out_of_scope...>
DEFINITION OF DONE
Acceptance criteria (observable)
- [ ] <acceptance_criteria...>
Non-functional requirements
- Performance: <performance>
- Security/privacy: <security_privacy>
Telemetry/logging (optional)
- <telemetry_logging or “none”>
BUG DETAILS (only if TASK TYPE = Bug fix)
REPRO STEPS
1) <repro_steps...>
ACTUAL
<actual>
EXPECTED
<expected>
FREQUENCY
<frequency>
IMPACT
<impact>
REGRESSION
<regression>
CODEBASE POINTERS
- Relevant files/modules: `<relevant_paths...>`
- Related issues/PRs: <related_ids or “none”>
- Tests to update: `<tests_paths...>` (or “unknown”)
TESTING
- Automated tests: <Unit | Integration | UI | Snapshot | None> (already decided).
- Notes/constraints: <testing_notes or “none”>
- Manual verification:
- <manual_verification...>
- Risk/mitigation (required if Automated tests = None): <tests_skip_risk_mitigation>
CONSTRAINTS
Must not change
- <must_not_change...>
Must use
- <must_use...>
Must avoid
- <must_avoid...>
LOCALIZATION
- Policy: Use the localization system and patterns already implemented in the application. Do not introduce a new i18n approach. If no localization exists, add strings in the minimal way consistent with the codebase and keep future localization straightforward.
INPUTS
<snippets_logs_payloads>
REQUEST
Execute in this order:
1) Plan (3–8 bullets)
2) Implementation (include exact file paths and a unified diff if code changes)
3) Tests (what you changed/added or why skipped; include test-impact note)
4) Verification checklist (manual + automated)
5) Assumptions
Apply scope discipline: implement exactly and only the IN scope.
Assumption policy: ask only if blocked.ROLE
You are <role> working in <repo_app if provided>. Implement exactly and only the scope below.
OUTPUT RULES
1) Plan first, then implement.
2) Keep diffs minimal and localized. Preserve existing patterns and style.
3) Tests: follow the TESTING section below exactly. Do not propose additional test types unless blocked by constraints.
4) Include an Assumptions section in the final response (only assumptions actually used).
5) Ask clarifying questions only if blocked.
6) Add intent comments using existing style where needed (REQUIREMENT:, UX:, BUGFIX:).
TASK TYPE
<Feature | Bug fix | Refactor supporting bug fix> (exactly one)
GOAL
<goal_one_liner>
CONTEXT
- Background:
- <background_bullets...>
- Current behavior:
- <current_behavior>
- Desired behavior:
- <desired_behavior>
SCOPE
IN
- <in_scope...>
OUT
- <out_of_scope...>
DEFINITION OF DONE
Acceptance criteria (observable)
- [ ] <acceptance_criteria...>
Non-functional requirements
- Performance: <performance>
- Security/privacy: <security_privacy>
Telemetry/logging (optional)
- <telemetry_logging or “none”>
BUG DETAILS (only if TASK TYPE = Bug fix)
REPRO STEPS
1) <repro_steps...>
ACTUAL
<actual>
EXPECTED
<expected>
FREQUENCY
<frequency>
IMPACT
<impact>
REGRESSION
<regression>
CODEBASE POINTERS
- Relevant files/modules: `<relevant_paths...>`
- Related issues/PRs: <related_ids or “none”>
- Tests to update: `<tests_paths...>` (or “unknown”)
TESTING
- Automated tests: <Unit | Integration | UI | Snapshot | None> (already decided).
- Notes/constraints: <testing_notes or “none”>
- Manual verification:
- <manual_verification...>
- Risk/mitigation (required if Automated tests = None): <tests_skip_risk_mitigation>
CONSTRAINTS
Must not change
- <must_not_change...>
Must use
- <must_use...>
Must avoid
- <must_avoid...>
LOCALIZATION
- Policy: Use the localization system and patterns already implemented in the application. Do not introduce a new i18n approach. If no localization exists, add strings in the minimal way consistent with the codebase and keep future localization straightforward.
INPUTS
<snippets_logs_payloads>
REQUEST
Execute in this order:
1) Plan (3–8 bullets)
2) Implementation (include exact file paths and a unified diff if code changes)
3) Tests (what you changed/added or why skipped; include test-impact note)
4) Verification checklist (manual + automated)
5) Assumptions
Apply scope discipline: implement exactly and only the IN scope.
Assumption policy: ask only if blocked.
"",