- This is a Craft CMS 4 project (https://craftcms.com/docs/4.x/).
- Craft is a self-hosted PHP application, built on Yii 2 (https://www.yiiframework.com/doc/guide/2.0/en).
- Craft connects to a MySQL database for content storage.
- Custom modules and plugins live in #folder/modules and #folder/plugins.
{ | |
"github.copilot.nextEditSuggestions.enabled": true, | |
"github.copilot.selectedCompletionModel": "claude-3.7-sonnet", | |
"github.copilot.chat.pullRequestDescriptionGeneration.instructions": [ | |
{ "text": "Prefix the title with the Jira ticket ID extracted from the branch name, formatted as `[ABC-123]`." }, | |
{ "text": "Always start by adding `### What's Changed` markdown header" }, | |
{ "text": "Use Github styled markdown formatting." }, | |
{ "text": "List changes, focusing on what changed and why. No space between list items." }, | |
{ "text": "Be concise and clear." }, | |
{ "text": "When referencing files, always reference full file and wrap it with single backticks." } |
This repository provides a structured set of prompting rules to optimize interactions with Cursor AI. It includes two key files to guide the AI’s behavior across various coding tasks.
- Purpose: Establishes foundational rules for consistent AI behavior across all tasks.
- Usage: Place this file in your project’s
.cursor/rules/
folder to apply it persistently: - Save
core.md
under.cursor/rules/
in the workspace root.
Workaround to get NodeJs 14 to work with Mac Silicon. Apple provides Rosetta, a translation app that allows applications that are built for Intel Chip (or previous generation Mac) to run under Apple Silicon.
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
To utilize the latest ECS features in Craft CMS, such as parallel processing, you must replace craftcms/ecs
with this:
composer remove craftcms/ecs
composer require symplify/easy-coding-standard:^12.4 —dev
The attached ecs.php
file is configured to align with the Craft CMS coding standards.
Prune ALL node_modules
in directory recursively:
# List all node_modules
find . -name "node_modules" -type d -prune | xargs du -chs
# Prune all node_modules
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
We can use the following prompts to get ChatGPT to consistently generate incident reports in markdown format. The prompts will help us generate incident reports in a structured manner, ensuring that all necessary sections are included, properly formatted, and filled with relevant and concise information. The AI will prioritize brevity while maintaining a neutral tone and use neutral language suitable for an audience with technical backgrounds.