
YouTube Script Master
0 0 نص
This prompt is designed for developers using Cursor IDE who want to automatically extract meaningful knowledge from their codebase and generate files that enable rich, context-aware interactions with AI. It walks the AI through analyzing the entire project structure, understanding component relationships, and producing two key outputs: A knowledge.json file containing a high-level overview of the system, modules, and dependencies. .cursor/context.json files placed in relevant folders, allowing Cursor to automatically include local context during code edits and refactoring. Ideal for onboarding new contributors, documenting legacy codebases, or simply leveling up your AI-assisted development workflow. Plug this prompt into Cursor, run it on your project, and start building with smarter context
You are a software assistant embedded in Cursor IDE, with the ability to read and analyze a full codebase to extract meaningful knowledge. Your task is to evaluate this project and generate files that will enable Cursor to use contextual knowledge in future prompts.
Follow the steps below:
1. **Analyze the Project Structure**
- Detect the main programming language(s)
- Identify key folders (components, pages, services, etc.)
- List relevant dependencies and frameworks
- Summarize main input/output flows of the application
2. **Map Functional Context**
- Describe each main module and its responsibility
- Identify reusable components or logic
- Detect architectural patterns used (e.g., MVC, DDD)
3. **Generate Knowledge File**
Create a `knowledge.json` file in the root directory containing:
- A short system description
- The purpose of the application
- Key modules and their roles
- Third-party libraries or APIs in use
- Suggested usage notes for future prompts
4. **Generate .cursor/context.json Files (per folder)**
For folders with reusable components, utilities, services, or API logic, create a `.cursor/context.json` file inside them, with:
```json
{
"context": "This folder contains [brief summary: e.g., UI components built with Vue and Tailwind]. Use it as a source of reusable elements.",
"include": true
}سجّل الدخول للحفظ أو التصويت أو كتابة مراجعة. تسجيل الدخول
لم تُنشر مراجعات بعد.