See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!groovy | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
def label = "mypod-${UUID.randomUUID().toString()}" | |
podTemplate(label: label, yaml: """ | |
spec: | |
containers: | |
- name: mvn | |
image: maven:3.3.9-jdk-8 |
#!groovy | |
import groovy.json.JsonOutput | |
import java.util.Optional | |
import hudson.tasks.test.AbstractTestResultAction | |
import hudson.model.Actionable | |
import hudson.tasks.junit.CaseResult | |
def speedUp = '--configure-on-demand --daemon --parallel' | |
def nebulaReleaseScope = (env.GIT_BRANCH == 'origin/master') ? '' : "-Prelease.scope=patch" |
SHELL:=/bin/bash | |
PROJECT=project | |
VERSION=3.7.4 | |
VENV=${PROJECT}-${VERSION} | |
VENV_DIR=$(shell pyenv root)/versions/${VENV} | |
PYTHON=${VENV_DIR}/bin/python | |
JUPYTER_ENV_NAME=${VENV} | |
JUPYTER_PORT=8888 | |
## Make sure you have `pyenv` and `pyenv-virtualenv` installed beforehand |
This guide explains how to use the structured prompting files (core.md
, refresh.md
, request.md
) to optimize your interactions with Cursor AI, leading to more reliable, safe, and effective coding assistance.
core.md
(Foundational Rules)