Surfer12 multidisciplinary-analysis-of-prompts .cursorrules file for Mojo


---
header1: [Cursor Rules for ClaudeMetaResearch Project]
---
<analysis>
This section outlines the comprehensive .cursorrules guidelines for the ClaudeMetaResearch project, derived from the provided code snippets and overall project goals. These rules are designed to ensure consistency, quality, and efficiency in code development and documentation.
</analysis>

<analysis>
The rules are categorized into several key areas: Language and Style, File Naming and Structure, Documentation, Code Structure and Logic, Testing and Quality Assurance, and Project-Specific Rules. Each category addresses specific aspects of the development process, reflecting the project's emphasis on cognitive frameworks, meta-analysis, and adaptive systems.
</analysis>

---
header2: [Language and Style]
---
<analysis>
- **Rule 1:** Use Mojo as the primary programming language for all new code development. Python should only be used for integrating with existing libraries or when explicitly required.
  - *Rationale:* Aligns with the project's focus on leveraging Mojo's capabilities for systems programming and compile-time metaprogramming.
  - *Source:* `mojo-not-python.cursorrules`
</analysis>

<analysis>
- **Rule 2:** Follow Mojo's style guide for code formatting, including indentation, spacing, and naming conventions.
  - *Rationale:* Ensures code readability and consistency across the project.
</analysis>

<analysis>
- **Rule 3:** Prioritize explicit type management and immutability in struct definitions.
  - *Rationale:* Enhances code safety and predictability, aligning with Mojo's design principles.
  - *Source:* `cognitive-design-framework/docs/Philosophical Approach Explanation:.md`
</analysis>

---
header3: [File Naming and Structure]
---
<analysis>
- **Rule 4:** Use kebab-case for all file names (e.g., `example-file-name.md`).
  - *Rationale:* Improves readability and consistency in file naming.
  - *Source:* `ClaudeMetaResearch/README.md`
</analysis>

<analysis>
- **Rule 5:** Follow the defined project structure for organizing source code, documentation, and configuration files.
  - *Rationale:* Facilitates navigation and management of project files.
  - *Source:* `ClaudeMetaResearch/README.md`
</analysis>

<analysis>
- **Rule 6:** Use specific naming conventions for different types of documents:
  - Research documents: `YYYY-MM-DD-topic-name.md`
  - Analysis files: `topic-analysis-vX.md`
  - Meta-observations: `meta-observation-topic-name.md`
  - Framework documents: `framework-name-vX.md`
  - *Rationale:* Provides a clear and organized structure for documentation.
  - *Source:* `ClaudeMetaResearch/README.md`
</analysis>

---
header4: [Documentation]
---
<analysis>
- **Rule 7:** Document all code thoroughly, including docstrings for functions, classes, and modules.
  - *Rationale:* Enhances code understanding and maintainability.
</analysis>

<analysis>
- **Rule 8:** Maintain a comprehensive README.md file at the root of the project, outlining the project structure, goals, and setup instructions.
  - *Rationale:* Provides a central entry point for understanding the project.
  - *Source:* `ClaudeMetaResearch/README.md`
</analysis>

<analysis>
- **Rule 9:** Create detailed documentation for each module and major component, explaining its purpose, functionality, and usage.
  - *Rationale:* Facilitates understanding and collaboration among developers.
</analysis>

<analysis>
- **Rule 10:** Document the evolution of the project, including key decisions, discoveries, and changes in approach.
  - *Rationale:* Provides a historical context for the project's development.
  - *Source:* `ClaudeMetaResearch/docs/analysis/evolution/README.md`
</analysis>

---
header5: [Code Structure and Logic]
---
<analysis>
- **Rule 11:** Design structs with clear, immutable state and comprehensive error handling.
  - *Rationale:* Promotes safe operations and explicit type management.
  - *Source:* `cognitive-design-framework/docs/Philosophical Approach Explanation:.md`
</analysis>

<analysis>
- **Rule 12:** Leverage Mojo's compile-time type system to provide safe, predictable interfaces and minimize runtime overhead.
  - *Rationale:* Aligns with the project's key design principles.
  - *Source:* `cognitive-design-framework/docs/Philosophical Approach Explanation:.md`
</analysis>

<analysis>
- **Rule 13:** Structure code to enable future native implementations and optimize for performance.
  - *Rationale:* Supports the project's roadmap for gradual optimization and contribution to the Mojo ecosystem.
  - *Source:* `cognitive-design-framework/docs/Philosophical Approach Explanation:.md`
</analysis>

<analysis>
- **Rule 14:** Implement placeholder methods and gradually replace Python dependencies with Mojo equivalents.
  - *Rationale:* Facilitates the transition to a Mojo-centric codebase.
  - *Source:* `cognitive-design-framework/docs/Philosophical Approach Explanation:.md`
</analysis>

<analysis>
- **Rule 15:** Use Mojo's `struct` for defining data structures and `fn` for functions, adhering to the language's syntax and semantics.
  - *Rationale:* Ensures consistency and leverages Mojo's features for performance and safety.
</analysis>

---
header6: [Testing and Quality Assurance]
---
<analysis>
- **Rule 16:** Write unit tests for all critical components and functions.
  - *Rationale:* Ensures code correctness and prevents regressions.
</analysis>

<analysis>
- **Rule 17:** Use CodeQL for static analysis and security scanning.
  - *Rationale:* Identifies potential code quality and security issues early in the development process.
  - *Source:* `ClaudeMetaResearch/.github/workflows/codeql.yml`
</analysis>

<analysis>
- **Rule 18:** Regularly review and update the testing strategy to cover new features and address emerging patterns.
  - *Rationale:* Maintains the effectiveness of the testing process as the project evolves.
</analysis>

---
header7: [Project-Specific Rules]
---
<analysis>
- **Rule 19:** Track the evolution of cognitive frameworks and document key insights, particularly regarding encoding patterns and meta-cognitive elements.
  - *Rationale:* Supports the project's focus on understanding and enhancing AI cognitive processes.
  - *Source:* `ClaudeMetaResearch/docs/analysis/INDEX.md`, `ClaudeMetaResearch/docs/analysis/evolution/encoding-patterns-evolution.md`
</analysis>

<analysis>
- **Rule 20:** Document the implementation timeline and future development path, including technical and cognitive aspects.
  - *Rationale:* Provides a roadmap for the project's evolution and tracks progress.
  - *Source:* `ClaudeMetaResearch/docs/analysis/TIMELINE.md`
</analysis>

<analysis>
- **Rule 21:** Analyze potential areas for tool use to enhance Claude's capabilities, focusing on data processing, automation, communication, and specialized domains.
  - *Rationale:* Guides the development of tools and integrations to improve Claude's functionality.
  - *Source:* `ClaudeMetaResearch/areas-of-claude-improvement-tools`
</analysis>

<analysis>
- **Rule 22:** When developing cognitive frameworks, consider the integration of structural and emergent approaches, cultural-technical integration, and system boundaries.
  - *Rationale:* Aligns with the project's exploration of advanced cognitive architectures.
  - *Source:* `ClaudeMetaResearch/docs/analysis/INDEX.md`
</analysis>

<analysis>
- **Rule 23:** Use the defined cognitive framework stages (e.g., Understanding, Analysis, Exploration) and associated tags (e.g., `<cognitive_process>`, `<thinking>`) in documentation and analysis.
  - *Rationale:* Maintains consistency in the analysis and documentation of cognitive processes.
  - *Source:* `ClaudeMetaResearch/docs/analysis/frameworks/base-cognitive-framework.md`
</analysis>

<analysis>
- **Rule 24:** When working with the advanced cognitive framework, follow the guidelines for recursive processing, dynamic interaction modeling, and logging.
  - *Rationale:* Ensures proper usage and extension of the framework.
  - *Source:* `ClaudeMetaResearch/docs/analysis/meta-analysis/advanced-cognitive-framework.py`
</analysis>

<analysis>
- **Rule 25:** For distributed processing, adhere to the guidelines outlined in `distributed-cognitive-processessing-framekwork.py`.
  - *Rationale:* Ensures efficient and correct implementation of parallel processing.
  - *Source:* `ClaudeMetaResearch/docs/analysis/meta-analysis/distributed-cognitive-processessing-framekwork.py`
</analysis>

<analysis>
- **Rule 26:** When developing plugins for the extensible plugin system, follow the `CognitivePlugin` protocol.
  - *Rationale:* Ensures compatibility and consistency across plugins.
  - *Source:* `ClaudeMetaResearch/docs/analysis/meta-analysis/extensible-plugin-system`
</analysis>

<analysis>
- **Rule 27:** Refer to `customization-recomendations.md` and `implimentation-ideas.md` for guidance on extending and customizing the cognitive framework.
  - *Rationale:* Provides a starting point for advanced development and customization.
  - *Source:* `ClaudeMetaResearch/docs/analysis/meta-analysis/customization-recomendations.md`, `ClaudeMetaResearch/docs/analysis/meta-analysis/implimentation-ideas.md`
</analysis>

<analysis>
- **Rule 28:** When researching and documenting cognitive theories (e.g., Bloom's Taxonomy, Cognitive Load Theory), follow the structure and depth of analysis demonstrated in the `gemini-research` directory.
  - *Rationale:* Ensures thoroughness and consistency in the exploration of relevant cognitive concepts.
  - *Source:* `ClaudeMetaResearch/docs/analysis/gemini-research/`
</analysis>

<analysis>
- **Rule 29:** For intelligent computational design using Mojo, adhere to the principles outlined in `intelligent-computational-design-mojo.md`, including cognitive adaptation, performance optimization, safety, and interoperability.
  - *Rationale:* Guides the development of intelligent systems within the project.
  - *Source:* `ClaudeMetaResearch/docs/analysis/intelligent-computational-design-mojo.md`
</analysis>

<analysis>
- **Rule 30:** When analyzing key insights related to tagging and anti-tagging, refer to the structure and approach used in `key-insights-gemini-anti-tagging-brief.md`.
  - *Rationale:* Ensures consistency in the analysis of emergent behaviors and meta-cognitive elements.
  - *Source:* `ClaudeMetaResearch/docs/analysis/key-insights-gemini-anti-tagging-brief.md`
</analysis>

<analysis>
- **Rule 31:** When performing comparative analysis, consider the points raised in `comparative-analysis-notes.md` regarding structural vs. organic approaches, meta-analysis within the system, and boundary testing.
  - *Rationale:* Guides the evaluation of different approaches and their implications.
  - *Source:* `ClaudeMetaResearch/docs/analysis/meta-analysis/comparative-analysis-notes.md`
</analysis>
c
cmake
codeql
css
dockerfile
golang
html
javascript
+14 more

First Time Repository

Mojo

Languages:

C: 7.3KB
CMake: 0.8KB
CSS: 4.5KB
CodeQL: 7.0KB
Dockerfile: 9.9KB
HTML: 869.3KB
JavaScript: 12.9KB
Jinja: 4.6KB
Jupyter Notebook: 1981.8KB
MDX: 437.1KB
Mermaid: 59.7KB
Mojo: 3386.3KB
Mustache: 1.4KB
Perl: 9.2KB
PowerShell: 8.6KB
Python: 873.6KB
Roff: 5.3KB
SCSS: 0.4KB
Shell: 78.3KB
TypeScript: 178.6KB
Vue: 3.1KB
Created: 12/31/2024
Updated: 1/11/2025

All Repositories (1)