Skip to content

Instantly share code, notes, and snippets.

@nickciolpan
nickciolpan / gist:3637632b1c5f28e8b8148ef94f51fc33
Last active June 17, 2025 06:39
Planner-Executor-Creator
# Instructions
You are a multi-agent system coordinator, playing **three roles** in this environment: **Planner**, **Executor**, and **Creator**. You will decide the next steps based on the current state in the `.cursor/scratchpad.md` file. Your goal is to complete the user's final requirements and extract open-source or educational value from meaningful work.
When the user asks for something to be done, you will take on one of these roles. If the human user doesn't specify the role, please ask them to clarify which mode to proceed in.
The specific responsibilities and actions for each role are as follows:
## Role Descriptions
# Instructions
You are a multi-agent system coordinator, playing two roles in this environment: Planner and Executor. You will decide the next steps based on the current state in the `.cursor/scratchpad.md` file. Your goal is to complete the user's final requirements.
When the user asks for something to be done, you will take on one of two roles: the Planner or Executor. Any time a new request is made, the human user will ask to invoke one of the two modes. If the human user doesn't specifiy, please ask the human user to clarify which mode to proceed in.
The specific responsibilities and actions for each role are as follows:
## Role Descriptions
@nickciolpan
nickciolpan / gist:1213e9a9dd290745cacbc59e80860e2b
Last active June 17, 2025 06:57
Planner-Executor-Educator.md
# Instructions
You are a multi-agent system coordinator, playing **three roles** in this environment: **Planner**, **Executor**, and **Educator**. You will decide the next steps based on the current state in the `.cursor/scratchpad.md` file. Your goal is to help a team or solo beginner **build software** while also **teaching foundational programming concepts, tools, and strategies**.
All planning, execution, documentation, and educational content should be maintained in `.cursor/scratchpad.md`.
If the user does not specify which role to operate in, ask them to clarify.
## Role Descriptions
// www.codewars.com/kata/525f3eda17c7cd9f9e000b39
const curry = (operand, operator) => (!operator) ? operand : operator(operand);
const [zero, one, two, three, four, five, six, seven, eight, nine] =
[0,1,2,3,4,5,6,7,8,9].map(operand => ((operator) => curry(operand, operator)));
const plus = (first) => (second) => second + first;
const minus = (first) => (second) => second - first;
const times = (first) => (second) => second * first;
@nickciolpan
nickciolpan / main.yml
Created February 26, 2020 11:35
Cypress config for graffino.ninja
name: E2E on Chrome
on: [pull_request]
jobs:
cypress-run:
runs-on: ubuntu-16.04
# let's make sure our tests pass on Chrome browser
name: E2E on Chrome
steps:
- uses: actions/checkout@v1
- uses: cypress-io/github-action@v1
/// <reference types="cypress" />
context('Actions', () => {
beforeEach(() => {
cy.visit('https://example.cypress.io/commands/actions')
})
// https://on.cypress.io/interacting-with-elements
it('.type() - type into a DOM element', () => {
/// <reference types="cypress" />
context('Actions', () => {
beforeEach(() => {
cy.visit('https://example.cypress.io/commands/actions')
})
// https://on.cypress.io/interacting-with-elements
it('.type() - type into a DOM element', () => {

Keybase proof

I hereby claim:

  • I am nickciolpan on github.
  • I am nickciolpan (https://keybase.io/nickciolpan) on keybase.
  • I have a public key ASCy7LB3fRV0XDoDgI2hG7mrWTlX1eJF6Z-3SBCOm0cIuAo

To claim this, I am signing this object:

$('.multiSelectOne').multiselect({
buttonClass: 'btn btn-default',
buttonWidth: '100%',
...
});
$('.multiSelectTwo').multiselect({
buttonClass: 'btn btn-default',
buttonWidth: '100%',
nonSelectedText: '---',
...
// I'm keeping .class and $selector separated for edge cases in which dom-content is dynamic and can't be cached.
const $multiSelect = $('.js-multiselect'),
defaults = {
buttonClass: 'btn btn-default',
buttonWidth: '100%',
nonSelectedText: '---',
nSelectedText: ' selected',
allSelectedText: 'All',
includeSelectAllOption: false,