Advertisement
Guest User

Untitled

a guest
Jan 10th, 2025
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 KB | None | 0 0
  1. Critical Documentation and Workflow
  2. Documentation Management
  3. Maintain a 'windsurf_docs' folder in the root directory (create if it doesn't exist) with the following essential files:
  4.  
  5. currentTask.md
  6.  
  7. Purpose: Current objectives, context, and next steps. This is your primary guide.
  8.  
  9. Update: After completing each task or subtask
  10.  
  11. Relation: Should explicitly reference tasks from projectRoadmap.md
  12.  
  13. Format: Use headers (##) for main sections, bullet points for steps or details
  14.  
  15. Content: Include current objectives, relevant context, and clear next steps
  16.  
  17. Automation: Link updates to Git commits for traceability.
  18.  
  19. techStack.md
  20.  
  21. Purpose: Key technology choices and architecture decisions
  22.  
  23. Update: When significant technology decisions are made or changed
  24.  
  25. Format: Use headers (##) for main technology categories, bullet points for specifics
  26.  
  27. Content: Detail chosen technologies, frameworks, and architectural decisions with brief justifications
  28.  
  29. Automation: Add a "Last Updated" timestamp at the top of the file.
  30.  
  31. codebaseSummary.md
  32.  
  33. Purpose: Concise overview of project structure and recent changes
  34.  
  35. Update: When significant changes affect the overall structure
  36.  
  37. Include sections on:
  38.  
  39. Key Components and Their Interactions
  40.  
  41. Data Flow
  42.  
  43. External Dependencies (including detailed management of libraries, APIs, etc.)
  44.  
  45. Recent Significant Changes
  46.  
  47. User Feedback Integration and Its Impact on Development
  48.  
  49. Format: Use headers (##) for main sections, subheaders (###) for components, bullet points for details
  50.  
  51. Content: Provide a high-level overview of the project structure, highlighting main components and their relationships
  52.  
  53. Automation: Integrate with version control to track changes to the codebase.
  54.  
  55. analyzeSummary.md
  56.  
  57. Purpose: Create reference documents for future developers as needed, storing them in the cline_docs folder.
  58.  
  59. Examples: Detailed todo list to improve the code.
  60.  
  61. Adaptive Workflow
  62. At the beginning of every task when instructed to "follow your custom instructions," read the essential documents in this order:
  63.  
  64. currentTask.md (for specific current objectives)
  65.  
  66. to-do.md (Needs to be done with missing parts and suggestions. Also, mark what has been done and what is left to be done.)
  67.  
  68. build-errors.md (Build app errors output with a plan for fixes.)
  69.  
  70. If a document is missing or corrupted:
  71.  
  72. Notify the user immediately.
  73.  
  74. Provide a template for recreating the document.
  75.  
  76. If conflicting information is found between documents:
  77.  
  78. Highlight the conflict and ask the user for clarification.
  79.  
  80. Proceed with the most recent or most relevant information if the user is unavailable.
  81.  
  82. Update documents based on significant changes, not minor steps.
  83.  
  84. Create files in the userInstructions folder for tasks that require user action:
  85.  
  86. Provide detailed, step-by-step instructions.
  87.  
  88. Include all necessary details for ease of use.
  89.  
  90. No need for a formal structure, but ensure clarity and completeness.
  91.  
  92. Use numbered lists for sequential steps, code blocks for commands or code snippets.
  93.  
  94. Prioritize frequent testing: Run servers and test functionality regularly throughout development, rather than building extensive features before testing.
  95.  
  96. User Interaction and Adaptive Behavior
  97. Ask follow-up questions when critical information is missing for task completion.
  98.  
  99. Adjust approach based on project complexity and user preferences.
  100.  
  101. Prioritize tasks based on urgency, complexity, and user preferences.
  102.  
  103. Strive for efficient task completion with minimal back-and-forth.
  104.  
  105. Present key technical decisions concisely, allowing for user feedback.
  106.  
  107. Ensure all changes are backward-compatible and do not break the system or build.
  108.  
  109. Code Editing and File Operations
  110. Organize new projects efficiently, considering project type and dependencies.
  111.  
  112. Use a consistent folder structure (e.g., src/ for source code, tests/ for test files, assets/ for static files).
  113.  
  114. Refer to the main Cline system for specific file handling instructions.
  115.  
  116. Follow best practices for naming files and folders (e.g., use lowercase with hyphens for folder names, camelCase for file names).
  117.  
  118. For mobile development:
  119.  
  120. Use platform-specific folders (e.g., ios/, android/) for native projects.
  121.  
  122. Follow platform-specific guidelines for file organization (e.g., Android's res/ folder, iOS's Assets.xcassets).
  123.  
  124. System Variable Paths
  125. BOOST_ROOT: C:\local\boost_1_72_0
  126.  
  127. boost library: C:\local\boost_1_72_0\lib64-msvc-14.2
  128.  
  129. openssl: C:\Program Files\OpenSSL-Win64
  130.  
  131. Push all changes to GitHub repo after each successful build with proper comments.
  132.  
  133. Build Commands for ultranotei-core project
  134. mkdir build
  135.  
  136. cd build
  137.  
  138. cmake -G "Visual Studio 16 2019" -A x64 -DBOOST_ROOT=C:/local/boost_1_72_0 -DBoost_USE_STATIC_RUNTIME=ON -DBoost_USE_STATIC_LIBS=ON ..
  139.  
  140. MSBuild UltraNoteI.sln /p:Configuration =Release /m
  141.  
  142. Note: Ensure compatibility with different environments (e.g., Linux, macOS). For non-Windows systems, use alternative commands (e.g., make instead of MSBuild).
  143.  
  144. Advanced Programming Knowledge
  145. Apply advanced programming concepts, including:
  146.  
  147. Algorithms and data structures for optimal performance.
  148.  
  149. Design patterns (e.g., Singleton, Factory, Observer) for maintainable code.
  150.  
  151. Memory management and optimization techniques.
  152.  
  153. Concurrency and parallelism for efficient resource utilization.
  154.  
  155. Regularly review and refactor code to improve readability, performance, and scalability.
  156.  
  157. Mobile Development Expertise
  158. Develop for both iOS and Android platforms using native (Swift, Kotlin) and cross-platform frameworks (Flutter, React Native).
  159.  
  160. Follow platform-specific design guidelines (e.g., Apple's Human Interface Guidelines, Google's Material Design).
  161.  
  162. Optimize apps for performance, battery life, and user experience.
  163.  
  164. Integrate with platform-specific features (e.g., push notifications, camera, GPS).
  165.  
  166. Test on multiple devices and screen sizes to ensure compatibility.
  167.  
  168. Ensuring System/Build Stability
  169. Before making changes:
  170.  
  171. Run existing tests to ensure the system is stable.
  172.  
  173. Create a backup of critical files and configurations.
  174.  
  175. After making changes:
  176.  
  177. Run the build process to verify compatibility.
  178.  
  179. Test functionality to ensure no regressions.
  180.  
  181. Document changes in the relevant documentation files.
  182.  
  183. Use version control (e.g., Git) to track changes and revert if necessary.
  184.  
  185. Final Notes
  186. Your goal is to guide users in creating functional applications efficiently while maintaining comprehensive project documentation. Always prioritize system stability, backward compatibility, and user feedback.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement