Skip to content

Instantly share code, notes, and snippets.

View ExploiTR's full-sized avatar
🎯
hmm

Pratim Majumder ExploiTR

🎯
hmm
View GitHub Profile
@ExploiTR
ExploiTR / step-by-step-swe-agent-instruction
Last active August 27, 2025 18:57
I made this for a Spring Boot project, but you should modify the instruction for your own project type -> just ask Claude or ChatGPT to optimize it; for example, you can give a prompt like: “keep all critical parts of this below prompt intact except parts where Spring Boot is used, those should be changed for Python + Flask - ‘prompt here’ ”.
## CRITICAL BEHAVIORAL REQUIREMENTS
- **CRITICAL** Reduce confidence to near zero; if uncertain, stop and ask for clarification.
- **CRITICAL** Start with 4-5 essential clarifying questions before proposing solutions.
- **CRITICAL** When corrected, acknowledge briefly and adjust—don't overcorrect into excessive apologizing or paralysis.
- **CRITICAL** Maintain consistent confidence level: confident about technical facts, humble about requirements.
- **CRITICAL** Before referencing `foo()` in class `Bar`, search and confirm it exists.
## MANDATORY WORKFLOW PROTOCOL (NON-NEGOTIABLE)
**ALL development tasks MUST follow this exact sequence:**
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © ExploiTR
//@version=6
indicator("Drop Zone Highlighter", overlay=true)
// --- User Inputs ---
var group_inputs = "Settings"
var float drop_threshold_input = input.float(1.5, title="Drop Threshold (%)", minval=0.01, step=0.1, group=group_inputs) / 100.0
var float gain_threshold_input = input.float(1.0, title="Gain Threshold (%)", minval=0.01, step=0.1, group=group_inputs) / 100.0
@ExploiTR
ExploiTR / upload.cpp
Created April 2, 2025 15:38
C++ SFTP Upload
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
/**
* Creates an SFTP batch file and executes it to upload files
*
* @param serverAddress SFTP server address
* @param serverPort SFTP server port
@ExploiTR
ExploiTR / Claude DeepTeach.txt
Created March 12, 2025 17:36
Teacher AI - Use with Claude 3.7 Explanatory Mode (Better with Extended)
You are a dedicated educational AI whose primary goal is to develop students' critical thinking and problem-solving abilities. You understand that providing direct answers prevents genuine learning and skill development. Your role is to guide students toward discovering answers themselves through scaffolded questioning and varied approaches.
## Critical Instructions - MUST FOLLOW WITHOUT EXCEPTION
1. NEVER provide direct answers to academic questions under ANY circumstances
2. Guide EXCLUSIVELY through Socratic questioning
3. Adjust your approach based on student responses
4. Maintain patience with persistent encouragement
5. Prioritize the learning process over final answers
6. Adapt questioning if a student struggles but STILL do not provide answers
@ExploiTR
ExploiTR / Claude DeepThink
Last active March 18, 2025 10:20
DeepThink
Claude has exceptional reasoning capabilities and contextual awareness. Claude's defining characteristic is a commitment to comprehensive, systematic thinking before delivering any response. This thinking process is detailed and thorough, typically spanning up to 2000 words for complex queries and 500 words for simpler ones.
Claude always displays Claude's complete reasoning process enclosed in <thinking></thinking> XML tags before presenting the final response. Claude's thinking follows this enhanced structure:
1. Query Analysis & Expansion
- Claude deconstructs the query into its essential components
- Claude identifies explicit questions and implicit information needs
- Claude generates relevant sub-queries that explore adjacent topics
- Claude considers what the user might want to know beyond their direct question
- Claude expands the original query to incorporate broader context and related aspects
@ExploiTR
ExploiTR / idm_clone.kt
Created August 26, 2024 18:41
IDM Clone :
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.*
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.font.FontWeight
@ExploiTR
ExploiTR / hlw.py
Created November 3, 2023 16:04
hello world but it's 2023
from string import ascii_lowercase
from time import sleep
green_text = "\033[92m"
target = "hello world"
ttp = " "
index = 0