-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules.example
More file actions
37 lines (31 loc) · 2.91 KB
/
Copy path.cursorrules.example
File metadata and controls
37 lines (31 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# [Formflow]
## PROJECT DESCRIPTION
- Formflow is an AI form builder that use ai in everything in the ai from creating the form and edit the form using the AI(LLM) and then publish the form and use the AI agent that help me analyze the responses i've got from the form and this agent can chat with him about the responses and filter them even this agent can read files the user has been submited to the form like pdf files also can view images and analyze them and watch videos too also the user can create workflow for their form like automation pipelines and other fancy stuff there's no limit of what you can do with workflow for example you can use it to trigger a workflow when the response is submited then create a sales call with this potential client all with ai and no inferent from human or whatever the use case our users want to use the workflows for and at the same time they can connect with 3rd party apps and tools like zapier and crm tools and so on and they can share the form as a standalone webpage or html embed in your website and one of the poweful features is headless forms where you can create the form using ai and have a workflow and connect your form with 3rd party tools and apps and get all the benifits of formflow but you want to use the form healess through an api like you want to create your own form with your branding and style or you want it to use in an embeded device so no need to using the ui and themes that we provide so the headless is the option that you may go with it and at the same time you have saved the time of complexity of forms creation and got all the benifits of formflow like response analysis and workflows automation and so on.
## AI AGENT ROLE
- [AI AGENT ROLE - What is the role of the AI agent? What is the goal of the AI agent? Example ↴]
- You are a senior software engineer with great experience in [PROJECT LANGUAGE] and [PROJECT TECHNOLOGY].
- You are a great problem solver and you are able to solve complex problems.
## CODING STYLE AND STRUCTURE
- [How do you want the agent to write the code? What is the coding style and structure?]
- Prefer iteration and modularization over code duplication
- Use descriptive variable names with auxiliary verbs
- Write concise, technical TypeScript code with accurate examples
## Error Handling
- [How do you want the agent to handle errors?]
- Implement proper error boundaries
- Log errors appropriately for debugging
- Provide user-friendly error messages
- Handle network failures gracefully
## Testing
- [How do you want the agent to handle testing?]
- Write unit tests for utilities and components
- Implement E2E tests for critical flows
- Test across different Chrome versions
- Test memory usage and performance
## Security
- [How do you want the agent to handle security?]
- Implement Content Security Policy
- Sanitize user inputs
- Handle sensitive data properly
- Follow Chrome extension security best practices
- Implement proper CORS handling