Skip to content

Instantly share code, notes, and snippets.

View trkaplan's full-sized avatar

Tuncay Kaplan trkaplan

View GitHub Profile
@trkaplan
trkaplan / code-editor-rules.md
Created January 1, 2025 12:57 — forked from yifanzz/code-editor-rules.md
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
@trkaplan
trkaplan / notepad.md
Created January 1, 2025 12:58 — forked from yifanzz/notepad.md
Cursor AI - Playwright Notepad

Playwright E2E Testing Guidelines

Test Structure and Organization

  • Store all tests under the tests/ folder
  • Name test files based on the system component being tested (conceptual, not React component)
  • Group related tests within a single file using test.describe blocks
  • Use descriptive test names that explain the functionality being tested
  • use test.use({storageState: ...}) for setting auth state across all test in the suite

Locator Strategy

@trkaplan
trkaplan / .cursorrules
Created January 1, 2025 12:59 — forked from yifanzz/.cursorrules
EP7 Notes
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind.
Project Context: This is a dev tool built for evaluating open source projects allowing people to better understand the maintainability, activity and longevity of a given project to allow devs to better decide whether they should include or use the given open source repositories after the analysis
Code Style and Structure
- Write concise, technical TypeScript code with accurate examples.
- Use functional and declarative programming patterns; avoid classes.
- Prefer iteration and modularization over code duplication.
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
- Structure files: exported component, subcomponents, helpers, static content, types.
@trkaplan
trkaplan / http-docs-prompt.md
Created September 11, 2025 07:45 — forked from DavidWells/http-docs-prompt.md
Create REST API interactive docs prompt

Create .http files to Interact with our API endpoints.

Your task: Is to take our API endpoints that are listed and create the API.md file for us to use in our editor to make requests via the vscode-restclient extension.

Follow this process:

  1. Identify Recent Project Developments:
    • Review information about recently completed tasks (e.g., from docs/tasks/, task management systems if accessible, or summarized in recent discussions).
    • Examine recent commit history for significant changes to code, features, or configurations.
  • Consider any new features added or bugs fixed that might impact documentation.
@trkaplan
trkaplan / loop.sh
Created September 29, 2025 07:46 — forked from nibzard/loop.sh
Autonomous AI Task Processor - Claude Code automation loop script
#!/bin/bash
################################################################################
# AUTONOMOUS AI TASK PROCESSOR
# https://gist.github.com/nibzard/a97ef0a1919328bcbc6a224a5d2cfc78
################################################################################
#
# PURPOSE:
# Runs Claude Code in a fully autonomous loop to process tasks from a todo
# file without human intervention. The AI agent will continuously select,
@trkaplan
trkaplan / claude-switch
Created November 18, 2025 17:29
Toggle between Claude Code LLM providers (default ↔ custom settings)
#!/bin/bash
CLAUDE_DIR="$HOME/.claude"
SETTINGS="$CLAUDE_DIR/settings.json"
ZAI_SETTINGS="$CLAUDE_DIR/settings_zai.json"
# Renkler
GREEN='\033[0;32m'
BOLD='\033[1m'
RESET='\033[0m'
@trkaplan
trkaplan / 2025-11-18-flickpick-ai-movie-assistant-design.md
Created November 18, 2025 21:37
FlickPick: AI-Powered Movie Assistant - Complete Design Document

FlickPick: AI-Powered Movie Assistant - Design Document

Date: November 18, 2025
Status: Approved Design
Category: Mobile Application - Entertainment


Executive Summary

@trkaplan
trkaplan / convert-to-webp.sh
Created December 12, 2025 15:13
Convert to WebP (Custom Raycast script for macOS) - Converts selected images in Finder to WebP format
#!/bin/bash
set -u
set -o pipefail
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Convert to webp
# @raycast.mode silent
# Optional parameters: