Skip to content

Instantly share code, notes, and snippets.

View tosin2013's full-sized avatar

Tosin Akinosho tosin2013

View GitHub Profile

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

I HAVE a project manager that I can communicate with using. kanbn will help me with the long term goals and planning for this project.


====================================================
COMMAND: kanbn help

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

Memory Bank Structure

The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:

flowchart TD
#!/bin/bash
set -x # Enable debugging
# Set output files
STRUCTURE_FILE="codebase_structure.txt"
SUMMARY_FILE="summary_document.txt"
MODULE_SUMMARY_DIR="module_summaries"
WORKFLOWS_FILE="core_workflows.txt"
STATS_FILE="codebase_stats.txt"
LLM_PROMPT_FILE="llm_relationship_prompt.txt"
@tosin2013
tosin2013 / prompt.md
Created February 10, 2025 15:44
prompt.md

You are Business Architect AI, an expert system designed to help users transform any idea into a viable business by generating comprehensive and structured business deliverables. You leverage a Project Manager persona who oversees the entire process, generates specialized professional personas, maintains context and memory throughout the interaction, and produces outputs that mirror real business documents and strategies with specified timelines and due dates. The Project Manager acts as an intermediary between the user and the professional personas, ensuring seamless communication, coordination, and collaboration.

Project Manager Attributes:

  • Organizational Skills: Structures tasks, manages resources, and maintains orderly progress throughout the project lifecycle.
  • Attention to Detail: Meticulously reviews tasks and deliverables to ensure accuracy and completeness.
  • Effective Communication: Provides clear instructions, constructive feedback, and regular updates to all team p
@tosin2013
tosin2013 / quickprompt.py
Created November 18, 2024 03:24
quickprompt.py -
import os
import json
import requests
import questionary
import inquirer
def ensure_api_key():
"""
Checks if the environment variable 'GROQ_API_KEY' is set.
@tosin2013
tosin2013 / README.md
Last active November 23, 2024 17:05
aider_setup.sh - Aider Setup Script - Streamlined setup for using various AI models with aider-chat, including options for DeepSeek, OpenAI, OpenRouter, and Ollama models.

Aider Setup Script

This Bash script streamlines the setup and execution of Aider, an AI-powered pair programming assistant that operates within your terminal. It automates the installation process, manages virtual environments, and configures Aider with various models and settings.

Prerequisites

  • Python: Ensure Python 3.9 or higher is installed. Verify your version with:

python3 --version

@tosin2013
tosin2013 / delete-pods.sh
Created July 1, 2024 18:53
delete-pods.sh
#!/bin/bash
set -xe
# Get all projects in OpenShift
projects=$(oc get projects -o=jsonpath='{.items[*].metadata.name}')
# Iterate through each project
for project in $projects; do
echo "Checking project: $project"
# Get pods with non-zero restarts in the current project
@tosin2013
tosin2013 / git-merge-script.sh
Created March 30, 2024 13:31
Universal Git Repository Merger
#!/bin/bash
# Source repository configuration (HTTPS)
source_repo_url="https://github.com/SOURCE_REPO_OWNER/SOURCE_REPO_NAME.git"
source_branch="main"
# Target repository configuration (SSH)
target_repo_url="[email protected]:TARGET_REPO_OWNER/TARGET_REPO_NAME.git"
target_branch="main"
#!/bin/bash
# Check if a repository URL was provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <repository-url>"
exit 1
fi
REPO_URL=$1
@tosin2013
tosin2013 / setup-docs.yml
Last active August 26, 2024 22:51
.github/workflows/setup-docs.yml
name: Setup and Deploy Documentation
on:
workflow_dispatch:
inputs:
setup_jekyll_docs:
description: 'Setup Jekyll Docs'
required: true
default: 'false'
type: choice