How biokraft/my-cursor-framework works
Project Type and Purpose
• This repository is *not* a traditional application or service—it’s a structured documentation/content framework for Cursor AI.
• Its purpose is to provide best‐practice rules, workflows, and tutorials (in Markdown) for both non-developers (“Cursor for Everyone”) and developers (“Cursor for Developers”).
• Key indicators:
• .cursor/rules/… directory with reusable rule files
• Two top‐level content modules: 01-Cursor-for-Everyone/ and 02-Cursor-for-Developers/
• A static README and Yolo-README for orientation
File Structure Analysis
• Top-Level
• .cursor/ – rule definitions consumed by the Cursor AI plugin/engine
• 01-Cursor-for-Everyone/ – user-focused guides
• 02-Cursor-for-Developers/ – developer-focused guides
• README.md, Yolo-README.md – entry points for the site
• assets/ – images and other static resources
• Patterns
• Separation of content into two major modules
• .cursor/rules as a plug-in configuration directory
• Markdown-Driven Planning and Custom Modes as key themes
• Build/Deployment
• No explicit build scripts; likely rendered via a static site generator or viewed in an editor with Cursor integration
• GitHub Actions (implied by Bitbucket rule docs) could be used for CI/CD
README Insights
• Describes the two major parts (Everyone vs Devs)
• Mentions external integrations (Star-History API, Docs feature, MCP ecosystem)
• Encourages CI/CD, rule reuse, and mode customization
a. Main Components
1. Content Repository (GitHub)
2. Static Site Generator / Viewer (e.g., Docsify, Hugo, or Cursor’s built-in preview)
3. Cursor AI Plugin/Engine (reads .cursor/rules + content for code/documentation assistance)
4. CI/CD Pipeline (e.g., GitHub Actions)
5. CDN / Hosting (GitHub Pages or alternative)
6. External Services
– Star-History API for badge generation
– Docs/Confluence/Jira integrations via MCP
b. Relationships & Data Flow
• Authors commit Markdown & rule files → pushed to GitHub (Content Repo)
• CI/CD pipeline triggers → runs static site build → publishes to CDN/Pages
• End users (browsers or editors) fetch site/content from CDN or clone repo locally
• Cursor Plugin loads .cursor/rules + Markdown context → provides in-editor AI assistance
• Star-History API calls embed historical star data at build or runtime
• MCP endpoints connect to Jira/Confluence/DBHub for enriched context
c. Architectural Patterns & Principles
• Separation of Concerns: Content vs. Rules vs. Build vs. Hosting
• Modular Documentation: Two distinct modules for different audiences
• Plug-in Architecture: .cursor/rules directory as an extension point
• Serverless/Static Delivery: Lean hosting via static pages + client-side JS
• API-Driven Badges & Integrations: External data fetch at build/runtime
d. Technologies & Frameworks
• Markdown & MDC (Markdown Custom rules)
• Cursor AI Plugin & MCP protocols
• Static Site Generator of choice (Hugo, Docsify, etc.)
• GitHub Pages / CDN for hosting
• GitHub Actions (or Bitbucket Pipelines) for CI/CD
• Star-History API for badges
• Potential external MCP integrations: Jira, Confluence, DBHub