Cover image

光标与风浪冲浪社区,查找规则和MCP

3 years

Works with Finder

27

Github Watches

501

Github Forks

3k

Github Stars

hero

How to Contribute to Directories

This guide will help you understand how to add new rules or prompts to the both Cursor and Windsurf Directories.

1. Fork the Repo

2. Adding a New Rule

If you want to submit a new rule that does not already exist in the Directories, follow these steps:

  1. Locate the Rule Index:

    Add your new rule in the packages/data/rules/index.ts file. For example:

    import { cRules } from "./rules/c";
    
    
  2. Create a Rule File:

    Create a new file in the packages/data/rules/ directory with the appropriate name. For example, if you're adding a rule for Next.js, name the file nextjs.ts.

  3. Define the Rule:

    Add your prompts inside the newly created file. Refer to the existing rules for formatting guidance. Make sure your prompts are accurate, clear, and helpful to developers.

    Your prompts should:

    • Be accurate and related to the rule.
    • Be clearly worded to help developers understand and use them easily.
    • Be actionable, providing steps or insights to solve common problems or optimize workflows.
    • Test your prompts: Before submitting, ensure that your prompts have been tested and work as expected in the relevant development environment. This ensures that other developers can rely your contributions :) .

3. Adding New Prompts/Content to Existing Rules

If you want to add new prompts to an existing rule, follow these steps:

  1. Find the Existing Rule:

    Navigate to the packages/data/rules/ directory and open the relevant file for the rule you want to update. For example, if you're adding prompts for Next.js, open nextjs.ts.

  2. Add Your New Prompts:

    Add your new prompts below the existing ones. Ensure that your additions are tested.

4. Important Parameters in Rule Files

When creating or updating rules, be sure to include the following parameters for consistency and clarity:

  1. tags: Add language-specific tags to categorize the rule.

    tags: ["JavaScript", "Next.js"]
    
    
  2. title: Provide an appropriate title that describes the rule.

      title: "Next.js Best Practices"
    
    
  3. slug: Create a unique slug that reflects the purpose of the rule.

      slug: "nextjs-best-practices"
    
    
  4. content: Write the content of your prompt here. Make sure it is clear, actionable, and helpful to developers. Be concise, but provide enough detail to assist cursor ai in completing tasks effectively...

      content: `your amazing prompt`
    
    
  5. author: Include details about yourself as the contributor. This helps others recognize your contributions and allows them to reach out if needed.

    • name: Your full name or GitHub username.
    • URL: A link to your GitHub, Twitter, website, or any other profile you want to share. This is optional but recommended.
    • avatar: The URL path to an image or avatar that represents you. You can use a photo from a service like Gravatar or any image hosting service.

5. Create a PR

Getting Started

First, run the development server:

npm install

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

相关推荐

  • Benedikt Ess
  • FindetundanalysiertOnlineProdukteeinschlielichAmazonnachVolumenBewertungenundPreis

  • GreenPepper Consulting India Private Limited
  • Formal yet conversational interview questions

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • GLips
  • MCP服务器向像光标这样的AI编码代理提供FIGMA布局信息

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • activepieces
  • AI代理和MCPS&AI工作流程自动化•(AI代理280+ MCP服务器)•AI Automation / MCPS的AI Automation / AI Agent•AI Workfrows&AI代理•AI代理的MCPS

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • opensumi
  • 框架可以帮助您快速构建AI Anation Ide产品。 MCP客户端,通过MCP服务器支持模型上下文协议(MCP)工具。

    Reviews

    1 (1)
    Avatar
    user_kigvZPDQ
    2025-04-17

    As a loyal user of the MCP application, I must say the "directories" product by pontusab is a remarkable tool. It seamlessly organizes and manages directories, simplifying navigation and file management. The user experience is smooth and intuitive, which greatly enhances productivity. Highly recommend for anyone needing efficient directory management! Check it out at https://github.com/pontusab/directories.