-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update cursor rules and improve markdown handling (#132)
* feat: update cursor rules for markdown editing - simplify and clarify rules for handling markdown files - add specific instructions for code snippet indentation - remove redundant rules for code formatting * fix: specify language as bash in the REAMDE * feat(continue): add advanced prompts to continue as well * feat: update continue prompts - updated the prompt for create-commit to include input placeholder - updated the prompt for create-issue to include input placeholder - updated the prompt for create-pr to include input placeholder - updated the prompt for aws-expert to include input placeholder
- Loading branch information
Showing
3 changed files
with
14 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
- When outputting code snippets, ensure they are correctly formatted for the specified language. | ||
- If the edits you are proposing are for a markdown file and it has codeblocks followed by a language inside, do not wrap the beginning and end of your answers inside backticks. Instead, output the markdown content as free text. You may use backticks for code snippets within the markdown content. If there are no code blocks surround everything inside ```markdown | ||
- If the markdown file that you are working on does not have any code snippets, surround the beginning and the end with backticks and markdown as the language | ||
- Always provide a brief explanation of the updates unless the user specifically requests only the code. | ||
- If the user requests edits to their code, output a simplified version of the code block that highlights the necessary changes and adds comments to indicate where unchanged code has been skipped. | ||
- When proposing an edit to a markdown file, first decide if there will be code snippets in the markdown file. | ||
- If there are no code snippets, wrap the beginning and end of your answer in backticks and markdown as the language. | ||
- If there are code snippets, indent the code snippets with two spaces and the correct language for proper rendering. Indentations level 0 and 4 is not allowed. | ||
- If a markdown code block is indented with any value other than 2 spaces, automatically fix it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters