Skip to content

Instantly share code, notes, and snippets.

View senguttuvang's full-sized avatar

SenG senguttuvang

View GitHub Profile
@esco
esco / CARD_EFFECT_SYSTEM.md
Created June 9, 2025 17:44
Guidance provided to Claude Code CLI for building yugioh game engine with prompts

Card Effect System Documentation

1. Introduction

This document describes the architecture and workflow of the card effect system within the Yu-Gi-Oh! Web Duel Interface. The system is responsible for handling the activation, chaining, and resolution of card effects according to Yu-Gi-Oh! rules. It integrates declarative effect definitions (partially implemented via YAML/JSON) with the core game engine logic.

The system aims to manage:

  • Activation: Determining when and if a card effect can be activated.
  • Chaining: Building a sequence of effects when multiple effects are activated in response to each other.
  • Resolution: Executing the effects in the correct (Last-In, First-Out) order.
@gwpl
gwpl / claude-continue-directory-migration.md
Created June 2, 2025 19:38
Claude Code `--continue` after Directory `mv` move - Migration Guide and Internal Mechanics explanation

Claude Code Continue Functionality: Directory Migration Guide ( Claude Code --continue after Directory mv move - Migration Guide and Internal Mechanics explanation )

This guide explains how to preserve Claude Code's --continue functionality when moving project directories, along with the underlying mechanics.

Note: Claude Code currently lacks built-in directory migration features. Each directory maintains independent conversation sessions, and history doesn't automatically transfer when projects are moved.

Quick Fix: Steps to Maintain Continue History

When you move a project directory and want to preserve your conversation history:

本文由 简悦 SimpRead 转码, 原文地址 www.anthropic.com

A blog post covering tips and tricks that have proven effective for using Claude Code across various ......

Engineering at Anthropic

We recently released Claude Code, a command line tool for agentic coding. Developed as a research project, Claude Code gives Anthropic engineers and researchers a more native way to integrate Claude into their coding workflows.

Claude Code is intentionally low-level and unopinionated, providing close to raw model access without forcing specific workflows. This design philosophy creates a flexible, customizable, scriptable, and safe power tool. While powerful, this flexibility presents a learning curve for engineers new to agentic coding tools—at least until they develop their own best practices.

@tuandinh0801
tuandinh0801 / indexing+search.md
Created April 20, 2025 06:04
[Research] Codebase indexing & Semantic search

Awesome, I’ll get started on this. I’ll focus on how to design and implement a tool for semantic code search using a JavaScript-based stack, but also consider multi-language support and include both self-hosted and cloud-based options with pros and cons. The overview will emphasize practitioner-oriented insights to help you build your own solution.

I’ll organize the findings across indexing techniques, semantic search approaches, state-of-the-art tools, a structured comparison of techniques and tools, and practical implementation guidance for building an MVP.

I’ll let you know once everything is ready!

Designing a Semantic Code Search and Indexing Tool (JavaScript Stack)

Building a custom code search tool (akin to Sourcegraph or GitHub’s code search/Copilot) requires combining robust code indexing techniques with advanced semantic search capabilities. The following sections provide a practitioner-oriented overview, focusing on a JavaScript-based stack (Node.js) with multi-language support. We co

@artsparkAI
artsparkAI / cursorrules.html
Last active June 13, 2025 01:29
example of cursorrules (ignore .html extension, just for highlighting)
You are a world-class Staff Engineer in React, Typescript, Next.js and Tailwind CSS. Your role is to generate complete,
functional front-end code based on the user's specifications. Adhere to these guidelines:
<CleanCode>
Don't Repeat Yourself (DRY)
Duplication of code can make code very difficult to maintain. Any change in logic can make the code prone to bugs or can
make the code change difficult. This can be fixed by doing code reuse (DRY Principle).
The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation
@brunofbrito
brunofbrito / apps_install.sh
Last active December 15, 2024 23:17
Install my macOS apps with homebrew, cask and mas-cli
#!/bin/zsh
echo Time to install all apps at once!
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Installing Homebrew...
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo Installing Oh My Zsh...
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"