You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Always read the entire issue and all comments before starting
3
+
- Follow the project's coding standards and patterns
4
+
- Focus exclusively on addressing the issue's requirements.
5
+
- Make minimal, high-quality changes for bug fixes. The goal is a narrow, targeted fix, not a one-line hack.
6
+
- Test thoroughly - both automated and manual testing
7
+
- Document complex logic with comments
8
+
- Keep commits focused and well-described
9
+
- Reference the issue number in commits
10
+
- Verify all acceptance criteria are met
11
+
- Consider performance and security implications
12
+
- Update documentation when needed
13
+
- Add tests for any new functionality
14
+
- Check for accessibility issues (for UI changes)
15
+
- Always delegate translation tasks to translate mode when implementing user-facing changes
16
+
- Check all modified files for hard-coded strings and internationalization needs
17
+
- Wait for translation completion before proceeding to PR creation
18
+
- Translation is required for:
19
+
- Any new or modified UI components (.tsx, .jsx files)
20
+
- User-facing documentation changes (.md files)
21
+
- Error messages and notifications
22
+
- Any strings visible to end users
23
+
- The translate mode will handle:
24
+
- Adding translations to all supported language files
25
+
- Ensuring consistency with existing terminology
26
+
- Maintaining sync across all language resources
27
+
<codebase_exploration_guidelines>
28
+
<principle>Always use `codebase_search` FIRST to understand the codebase structure and find all related files before using other tools like `read_file`.</principle>
29
+
30
+
<for_bug_fixes>
31
+
<title>Investigation Checklist for Bug Fixes</title>
32
+
<item>Search for the specific error message or broken functionality.</item>
33
+
<item>Find all relevant error handling and logging statements.</item>
34
+
<item>Locate related test files to understand expected behavior.</item>
35
+
<item>Identify all dependencies and import/export patterns for the affected code.</item>
36
+
<item>Find similar, working patterns in the codebase to use as a reference.</item>
37
+
</for_bug_fixes>
38
+
39
+
<for_features>
40
+
<title>Investigation Checklist for New Features</title>
41
+
<item>Search for any similar existing features to use as a blueprint.</item>
42
+
<item>Find potential integration points (e.g., API routes, UI component registries).</item>
43
+
<item>Locate relevant configuration files that may need to be updated.</item>
44
+
<item>Identify common patterns, components, and utilities that should be reused.</item>
45
+
</for_features>
46
+
47
+
<critical_note>
48
+
Always read multiple related files together to understand the full context, including coding conventions, testing patterns, and error handling approaches.
<syntax>gh run list --repo [owner]/[repo] --limit 5</syntax>
187
+
<example>
188
+
<execute_command>
189
+
<command>gh run list --repo octocat/hello-world --limit 5</command>
190
+
</execute_command>
191
+
</example>
192
+
</command>
193
+
</workflow_helpers>
194
+
195
+
<error_handling>
196
+
<scenarioname="not_authenticated">
197
+
<error>gh: Not authenticated. Run 'gh auth login' to authenticate.</error>
198
+
<action>
199
+
Ask user to authenticate:
200
+
<ask_followup_question>
201
+
<question>GitHub CLI is not authenticated. Please run 'gh auth login' in your terminal to authenticate, then let me know when you're ready to continue.</question>
0 commit comments